Hi, I am having problems installing openssl-0.9.3a
It fails at the make stage as indicated by my tests below.
The output from "config -t" is:
        root@dev1 > config -t
        Operating system: sun4u-sun-solaris2
        gcc version 2.7.x
        Configuring for solaris-usparc-oldgcc
        /opt/local/bin/perl ./Configure solaris-usparc-oldgcc

The hardware is a Sun E450 running Solaris 2.6

Please send replies to [EMAIL PROTECTED]

Thanks for your assistance !


Below are the commands I used and the results after running "make"

As you can see I am not using the default (or simplest) install by
simply running
./config
I customized it to install in a separate directory and that is why I am
using
./Configure <some machine type> --prefix /opt/local


Anytime I invoke ./Configure I get the following error right at the
beginning:
sh: ./perl: cannot execute

If you look at the "Configure" shell script you can see it does an
eval 'exec perl -S $0 ${1+"$@"}'
    if $running_under_some_shell;
which I think causes this error - it shouldn't affect the outcome that I
am getting though.

=============================================================
Test #1
command ==> ./Configure solaris-sparc-gcc --prefix=/opt/local
result  ==> works

command ==> make
results ==>
gcc -I.. -I../../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-mv8 -Wall -DB_ENDIAN   -c read_pwd.c -o read_pwd.o
read_pwd.c: In function `des_read_pw':
read_pwd.c:267: warning: implicit declaration of function `fileno'
read_pwd.c: In function `pushsig':
read_pwd.c:387: storage size of `sa' isn't known
read_pwd.c:404: warning: implicit declaration of function `sigaction'
read_pwd.c:404: invalid use of undefined type `struct sigaction'
read_pwd.c:387: warning: unused variable `sa'
read_pwd.c: In function `popsig':
read_pwd.c:430: invalid use of undefined type `struct sigaction'
read_pwd.c: At top level:
read_pwd.c:188: storage size of `savsig' isn't known
make[2]: *** [read_pwd.o] Error 1
make[2]: Leaving directory
`/opt/local/openssl-0.9.3a/openssl-0.9.3a/crypto/des'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/opt/local/openssl-0.9.3a/openssl-0.9.3a/crypto'
make: *** [all] Error 1
=============================================================
Test #2
command ==> ./Configure solaris-sparc-cc --prefix=/opt/local
result  ==> works

command ==> make
results ==>

<I left the other stuff out and am just showing you the errors which
occur right at the end>

making all in crypto...
make[1]: Entering directory
`/opt/local/openssl-0.9.3a/openssl-0.9.3a/crypto'
echo "#define DATE \"`date`\"" >date.h
cc -I. -I../include -DTHREADS -D_REENTRANT -xarch=v8 -xstrconst -xO5
-xdepend -Xa -DB_ENDIAN -DBN_DIV2W -DCFLAGS="\"cc -DTHREADS -D_REENTRANT
-xarch=v8 -xstrconst -xO5 -xdepend -Xa -DB_ENDIAN -DBN_DIV2W\""
-DPLATFORM="\"solaris-sparc-cc\""   -c cryptlib.c -o cryptlib.o
ucbcc: Warning: "-Xa" redefines compatibility mode from "SunC
transition" to "ANSI"

License Error : Cannot find the license server (ns0)
        in the network database for product(Sun WorkShop Compiler C)
Cannot find SERVER hostname in network database (-14,7)
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory
`/opt/local/openssl-0.9.3a/openssl-0.9.3a/crypto'
make: *** [all] Error 1
=============================================================
Test #3
command ==> ./Configure solaris-usparc-cc --prefix=/opt/local
result  ==> works

command ==> make
results ==>

making all in crypto...
make[1]: Entering directory
`/opt/local/openssl-0.9.3a/openssl-0.9.3a/crypto'
echo "#define DATE \"`date`\"" >date.h
cc -I. -I../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus
-xstrconst -xO5 -xdepend -Xa -DB_ENDIAN -DULTRASPARC -DBN_DIV2W
-DMD5_ASM -DCFLAGS="\"cc -DTHREADS -D_REENTRANT -xtarget=ultra
-xarch=v8plus -xstrconst -xO5 -xdepend -Xa -DB_ENDIAN -DULTRASPARC
-DBN_DIV2W -DMD5_ASM\"" -DPLATFORM="\"solaris-usparc-cc\""   -c
cryptlib.c -o cryptlib.o
ucbcc: Warning: "-Xa" redefines compatibility mode from "SunC
transition" to "ANSI"

License Error : Cannot find the license server (ns0)
        in the network database for product(Sun WorkShop Compiler C)
Cannot find SERVER hostname in network database (-14,7)
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory
`/opt/local/openssl-0.9.3a/openssl-0.9.3a/crypto'
make: *** [all] Error 1
=============================================================
Test #4
command ==> ./Configure solaris-usparc-gcc --prefix=/opt/local
result  ==> works

command ==> make
results ==>

making all in crypto...
make[1]: Entering directory
`/opt/local/openssl-0.9.3a/openssl-0.9.3a/crypto'
echo "#define DATE \"`date`\"" >date.h
gcc -I. -I../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-mcpu=ultrasparc -Wall -DB_ENDIAN -DULTRASPARC -DMD5_ASM -DCFLAGS="\"gcc
-DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer -mcpu=ultrasparc -Wall
-DB_ENDIAN -DULTRASPARC -DMD5_ASM\""
-DPLATFORM="\"solaris-usparc-gcc\""   -c cryptlib.c -o cryptlib.o
cc1: Invalid option `cpu=ultrasparc'
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory
`/opt/local/openssl-0.9.3a/openssl-0.9.3a/crypto'
make: *** [all] Error 1

=============================================================
Test #5
command ==> ./Configure solaris-usparc-oldgcc --prefix=/opt/local
result  ==> works

command ==> make
results ==>

<I left the other stuff out and am just showing you the errors which
occur right at the end>

gcc -I.. -I../../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-mv8 -Wall -DB_ENDIAN -DULTRASPARC -DMD5_ASM   -c read_pwd.c -o
read_pwd.o
read_pwd.c: In function `des_read_pw':
read_pwd.c:267: warning: implicit declaration of function `fileno'
read_pwd.c: In function `pushsig':
read_pwd.c:387: storage size of `sa' isn't known
read_pwd.c:404: warning: implicit declaration of function `sigaction'
read_pwd.c:404: invalid use of undefined type `struct sigaction'
read_pwd.c:387: warning: unused variable `sa'
read_pwd.c: In function `popsig':
read_pwd.c:430: invalid use of undefined type `struct sigaction'
read_pwd.c: At top level:
read_pwd.c:188: storage size of `savsig' isn't known
make[2]: *** [read_pwd.o] Error 1
make[2]: Leaving directory
`/opt/local/openssl-0.9.3a/openssl-0.9.3a/crypto/des'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/opt/local/openssl-0.9.3a/openssl-0.9.3a/crypto'
make: *** [all] Error 1
=============================================================
-- 
Mark Bradley
Director of Technology
WebSurfer Inc.
Phone: 905-944-8888 x261 1-888-527-8888 Fax:   905-475-1210
==========   MORE than the Internet on your TV   ==========
==========       www.websurfer.com               ==========
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to