Hi,

> I am struggling with compiling and installing ssh 1.2.27 on Solaris 2.6.

I am using ssh-1.2.27 on Solaris 2.6 for x86.

> The makefile has the following line:
> 
> INSTALL         = /usr/local/bin/install -c
> 
> which may be the source of the problem.  On running make install, the
> following are the last two lines of the output:
> 
> 
> /usr/local/bin/install -c -o root -m 04711 ssh /usr/local/bin/ssh1
> install: The -c, -f, -n options each require a directory following!
> make: *** [install] Error 2
> 
> 
> I have tried modifying the Makefile and removing the -c option from INSTALL,
> but that doesn't work either.
 
I think you are using incompatible version with BSD install.
You may as well use `install-sh' script attached to the ssh-1.2.27
package instead of the `/usr/local/bin/install.'  The script is
compatible with the BSD install.

Examples:

Solution 1:
        1. Set environment variable `INSTALL' to `./install-sh -c'.
        2. Execute the `configure' script.

    example (C-Shell)
        % (setenv INSTALL `./install-sh -c'; ./configure)

Solution 2:
        After execution of `./configure', modify your `Makefile' as
        follows.

        INSTALL = ./install-sh -c

Solution 3:
        Remove the /usr/local/bin/install temporarity. `configure'
        script will use the 'install-sh' script by default instead of
        /usr/sbin/install.

Another solution is to modify install options adjust to your
`/usr/local/bin/install.'  If you want to know the difference between
BSD install and yours(/usr/local/bin/install), refer to the
instruction manuals.

Sincerely yours,
--
Yukinori Shishime
E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP Key fingerprint = 13 1C 47 42 E8 71 80 3B  61 A7 C3 B3 D0 D1 5B 19

Reply via email to