Hi,

********** DESCRIPTION:
While compiling 'openssl-1.0.1e' with MinGW toolchain, compilation fails 
with following error message :
"/bin/sh: Perlbin/perl.exe: No such file or directory"
when building x86cpuid.s target.

********** HOW TO REPRODUCE :
** PERL installed in D:\Perl (perl 5.14.2)
** MSYS (1.0) installed in C:\msys
** MinGW (TDM (tdm-gcc.tdragon.net) 4.7.1) installed in D:\Program 
Files\TDM_MinGW32
** Launch a DOS command prompt
** Change env var PATH to : set 
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\msys\1.0\bin;%MINGW_HOME%\bin;D:\Perl\bin
(MINGW_HOME=D:\Program Files\TDM_MinGW32)
** Call "sh configure"
** Call "make"

Error appears.

********** WORKAROUND:
I changed in openssl-1.0.1e\makefile the line :
PERL= \Perl\bin/perl.exe
by
PERL=perl.exe

And then the compilation no more fails when invoking a perl script


********** MY 2 CENTS
I am not very familiar with bash and perl script but I suspect that the 
line "PERL= \Perl\bin/perl.exe" is incorrect when PERL is not installed 
in C:\ which is my case.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to