I get this too if you quote the $(EXHEADER) to be "$(EXHEADER)" in the
install section of the files listed below it compiles and installs ok.

Files:

./fips/aes/Makefile
./fips/des/Makefile
./fips/dh/Makefile
./fips/dsa/Makefile
./fips/rsa/Makefile
./fips/sha1/Makefile

Looks as though it is time for openssl-0.9.7f!

RB

----- Original Message ----- 
From: "Chris Pitchford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 28, 2004 2:31 PM
Subject: Solaris make install problems for 0.9.7e


>
> I'm also experiencing the same problem on solaris 2.6 through 9 as
> mentioned in thread
> make install fails on solaris sparc 8 for 0.9.7e
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg37703.html
>
> This did not happen on 0.9.7d, which I built using the same command line
>
> During a make install it appears the Makefile does not make sense?
>
> from fips/sha1/Makefile
>
> install:
>         @if test -n "$(EXHEADER)"; then \
>           for i in $(EXHEADER) ; \
>           do  \
>             (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
>             chmod 644
$(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
>           done; \
>         fi
>
>
>
> If EXHEADER is null will this not expand to:
>
> if test -n ""; then \
>   for i in ; \
>   do
>     (cp $i /usr/local/include/openssl/$i; \
>      chmod 644 /usr/local/include/openssl/$i ); \
>   done; \
> fi
>
>
> >>>> for i in ;
> that is not valid shell, hence the error is reported:
>
> .../openssl-0.9.7e/fips/sha1# make install
> sh: syntax error at line 2: `;' unexpected
> *** Error code 2
> make: Fatal error: Command failed for target `install'
>
> I assume this is what is causing the problem. Has anyone managed to
> compile this 0.9.7e on a solaris box? I have 2.6, 7, 8 and 9 and I'm using
> Sunfreeware's GCC package Sun's make on all platforms
>
>
>
>
>
>
> Chris Pitchford <[EMAIL PROTECTED]>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to