Re: OpenSSL make instal error on Solaris 9

2006-12-05 Thread Laurent Blume
CHASTAIN, TIGE (CONTRACTOR) a e'crit :
 I was having problems building OpenSSL 0.9.7k on Solaris 9.  The error
 was similar to problems other people have with building it on Solaris 9,
 but not exactly the same.
 
 The error is:
 
   installing fips-1.0...
[snip]
 I thought someone might find this of interest.

Me. Thanks!
I had the same problem with 0.9.7l, it broke my installation process,
and I couldn't understand what I had done wrong.

Note that I got the same error using gmake, but unlike with make, the
install continued to the end. Since make test worked, I guess it's just
a matter of gmake considering the issue unimportant.

installing fipsld
cp: cannot access fipscanister.o
cp: cannot access fipscanister.o.sha1
fipscanister.o: No such file or directory
gmake[1]: Leaving directory `/var/home/lblume/openssl-0.9.7l/fips-1.0'

Laurent
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


OpenSSL make instal error on Solaris 9

2006-09-22 Thread CHASTAIN, TIGE \(CONTRACTOR\)
I was having problems building OpenSSL 0.9.7k on Solaris 9.  The error
was similar to problems other people have with building it on Solaris 9,
but not exactly the same.

The error is:

installing fips-1.0...
making install in fips/sha...
making install in fips/rand...
making install in fips/des...
making install in fips/aes...
making install in fips/dsa...
making install in fips/rsa...
making install in fips/dh...
making install in fips/hmac...
installing fipsld
cp: cannot access fipscanister.o
cp: cannot access fipscanister.o.sha1
*** Error code 2
make: Fatal error: Command failed for target `install'
Current working directory
/vol03/users/fin23292/openssl097k/openssl-0.9.7k/fips-1.0
*** Error code 1
make: Fatal error: Command failed for target `install_sw'

Strangly enough, during compile, no object files are created in the
fips-1.0 directlory.  I've also noticed that even though I specified
no-fips to the Configure script, fips is still being processed.

Here are my build directives and my environmnet settings:

/Configure --prefix=/export/home/fin23292/openssl097k
--openssldir=/export/home/fin23292/openssl097k no-fips -fPIC
solaris-sparcv9-gcc


PATH=/opt/sfw/gcc-3/bin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/ccs/bin:/usr/
ucb:/usr/contrib/bin
LOGNAME=fin23292
USER=fin23292
SHELL=/bin/ksh
HOME=/export/home/fin23292
TERM=xterm
PWD=/export/home/fin23292/openssl097k
TZ=US/Eastern

Here is the version of Solaris 9, for reference:

$ cat /etc/release
Solaris 9 9/05 s9s_u8wos_05 SPARC
   Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
Assembled 04 August 2005

I pinned down the issue to be the make binary shipped with Solaris 9.
If I start fresh using GNU make, I do not get this error and everything
works fine.  Using GCC or the Sun Workshop compiler make no difference.
I ran test builds against 0.9.8c, 0.9.7k, 0.9.7j, and 0.9.7i.  Here are
my results:

0.9.8c/gcc/make success
0.9.8c/gcc/gmakesuccess
0.9.8c/cc/make  success
0.9.8c/cc/gmake success
   
0.9.7k/gcc/make failed 
0.9.7k/gcc/gmakesuccess
0.9.7/cc/make   failed 
0.9.7k/cc/gmake success
   
0.9.7j/gcc/make failed 
0.9.7j/gcc/gmakesuccess
0.9.7j/cc/make  failed 
0.9.7j/cc/gmake success  

0.9.7i/gcc/make success
0.9.7i/gcc/gmakesuccess
0.9.7i/cc/make  success
0.9.7i/cc/gmake success

I thought someone might find this of interest.

Tige
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]