[openssl-dev] [openssl.org #4459] openssl-1.1.0-pre4: make install fals on solaris64-x86_64-gcc.

Rainer Jung rainer.jung at kippdata.de
Sun Mar 20 16:16:30 UTC 2016


Am 20.03.2016 um 16:46 schrieb Kiyoshi KANAZAWA via RT:
> Hello,
>
> Yes, ENGINES in the top level Makefile is empty.
>
>     22:  LIBS=libcrypto.a libssl.a
>     23:  SHLIBS=
>     24:  ENGINES=
>     25:  PROGRAMS=apps/openssl

OK, that explains the error, because the install_engines target then 
contains a shell snippet

   for e in ; do

($(ENGINES) is empty, but since it is not used as a shell variable but 
instead as a make variable, that is the resulting for loop). That results in

   /bin/sh: syntax error at line 1: `;' unexpected

at least for /bin/sh on Solaris.

So we need to add special handling in $(ENGINES) is empty.

You could try the attached patch.

Regards,

Rainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssl-install-engines.patch
Type: text/x-diff
Size: 795 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160320/156eb2a6/attachment-0001.patch>


More information about the openssl-dev mailing list