Add in /usr/ccs/bin in your path. If you are luckly and installed the
right core Solaris development tools this problem will disappear. It's
having problems find 'ar' command, and that is the standard location on
solaris for it.
On Tue, 28 Nov 2000, Christian Chiaverini wrote:
>
> I have a problem compiling openssh 2.3.0p1
> The configure script runs fine then if you see below; when I compile it
> dies:
>
>
> Manual pages: /usr/local/man/manX
> PID file: /usr/local/etc
> Random number collection: Builtin (timeout 200)
> Manpage format: man
> PAM support: yes
> KerberosIV support: no
> AFS support: no
> S/KEY support: no
> TCP Wrappers support: no
> MD5 password support: no
> IP address in $DISPLAY hack: no
> Use IPv4 by default hack: no
> Translate v4 in v6 hack: no
>
> Host: sparc-sun-solaris2.7
> Compiler: gcc
> Compiler
> flags: -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openss
> l/include
> Linker
> flags: -L/usr/local/lib -R/usr/local/lib -L/usr/ucblib -R/usr/ucbli
> b -L/usr/local/openssl/lib -L/usr/local/openssl -R/usr/local/openssl/lib
-R/
> usr/
> local/openssl
> Libraries: -ldl -lsocket -lnsl -lz -lpam -lcrypto
>
> WARNING: you are using the builtin random number collection service.
> Please read WARNING.RNG and request that your OS vendor includes
> /dev/random in future versions of their OS.
>
> # make
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-arc4random.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-base64.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-bindresvport.c
> bsd-bindresvport.c: In function `bindresvport_af':
> bsd-bindresvport.c:59: warning: `error' might be used uninitialized in
this
> func
> tion
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-daemon.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-getcwd.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-inet_aton.c
> bsd-inet_aton.c: In function `inet_aton':
> bsd-inet_aton.c:117: warning: subscript has type `char'
> bsd-inet_aton.c:128: warning: subscript has type `char'
> bsd-inet_aton.c:131: warning: subscript has type `char'
> bsd-inet_aton.c:133: warning: subscript has type `char'
> bsd-inet_aton.c:155: warning: subscript has type `char'
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-inet_ntoa.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-misc.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-mktemp.c
> bsd-mktemp.c: In function `_gettemp':
> bsd-mktemp.c:167: warning: subscript has type `char'
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-realpath.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-rresvport.c
> bsd-rresvport.c: In function `rresvport_af':
> bsd-rresvport.c:64: warning: implicit declaration of function `bzero'
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-setenv.c
> bsd-setenv.c: In function `setenv':
> bsd-setenv.c:125: warning: implicit declaration of function `bcopy'
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-sigaction.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-snprintf.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-strlcat.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-strlcpy.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-strsep.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-strtok.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-vis.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-setproctitle.c
> bsd-setproctitle.c:62: warning: `__progname' defined but not used
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
bsd-waitpid.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
fake-getaddrinfo.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
fake-getnameinfo.c
> gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
> DETC
> DIR=\"/usr/local/etc\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
> FAUL
> T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c
next-posix.c
> rv libopenbsd-compat.a bsd-arc4random.o bsd-base64.o bsd-bindresvport.o
> bsd-daem
> on.o bsd-getcwd.o bsd-inet_aton.o bsd-inet_ntoa.o bsd-misc.o bsd-mktemp.o
> bsd-re
> alpath.o bsd-rresvport.o bsd-setenv.o bsd-sigaction.o bsd-snprintf.o
> bsd-strlcat
> .o bsd-strlcpy.o bsd-strsep.o bsd-strtok.o bsd-vis.o bsd-setproctitle.o
> bsd-wait
> pid.o fake-getaddrinfo.o fake-getnameinfo.o next-posix.o
> sh: rv: not found
> *** Error code 1
> make: Fatal error: Command failed for target `libopenbsd-compat.a'
> #
>
> Any suggestions....
>
> -Christian
>
>