Hello,

When doing "make install" in OpenSSL 0.9.7l, there is a syntax error,
some apps are not installed, but Makefile still continues:

| # make install
| [...]
| installing apps...
| make[1]: Entering directory `/tmp/openssl-0.9.7l/apps'
| /bin/sh: -c: line 1: syntax error near unexpected token `;'
| /bin/sh: -c: line 1: `for i in openssl;  do   (echo installing $i;  cp $i 
/usr/local/bin/$i.new;  chmod 755 /usr/local/bin/$i.new;  mv -f  
/usr/local/bin/$i.new  /usr/local/bin/$i;  ) done;'
| make[1]: *** [install] Error 2
| make[1]: Leaving directory `/tmp/openssl-0.9.7l/apps'
| installing test...
| make[1]: Entering directory `/tmp/openssl-0.9.7l/test'
| make[1]: Nothing to be done for `install'.
| make[1]: Leaving directory `/tmp/openssl-0.9.7l/test'
| installing tools...
| make[1]: Entering directory `/tmp/openssl-0.9.7l/tools'
| make[1]: Leaving directory `/tmp/openssl-0.9.7l/tools'
| installing libcrypto.a
| installing libssl.a
| cp openssl.pc /tmp/ossl/lib/pkgconfig
| chmod 644 /tmp/ossl/lib/pkgconfig/openssl.pc


Syntax error seems to be a misplaced semicolon in shell syntax inside
apps/Makefile. Schematically the bad:

| for i in list; do (commands) done;

Instead of the correct:

| for i in list; do (commands); done

The attached patch fixes that. Problem seen in 0.9.7[hijkl], absent in
0.9.7g and before. Problem absent in 0.9.8*, but there is still a
useless semicolon after the "done".


Alain.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to