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/gmake                success    
        0.9.8c/cc/make          success    
        0.9.8c/cc/gmake         success    
                   
        0.9.7k/gcc/make         failed     
        0.9.7k/gcc/gmake        success    
        0.9.7/cc/make           failed     
        0.9.7k/cc/gmake                 success    
                   
        0.9.7j/gcc/make         failed     
        0.9.7j/gcc/gmake                success    
        0.9.7j/cc/make          failed     
        0.9.7j/cc/gmake         success  

        0.9.7i/gcc/make         success
        0.9.7i/gcc/gmake                success
        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 List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to