[steve - Fri Apr 28 14:58:16 2006]:
> [guest - Fri Apr 28 12:25:05 2006]:
>
> > Hello,
> >
> > i have found a bug in openssl 0.9.7i Configure file, used by
> > ms/mingw32.bat. Due to this bug, the makefile creation fails.
> >
> > The problem is that the variable:
> >
> > @WinTargets=qw(VC-NT VC-CE VC-WIN32 ... BC-32 BC-16 Mingw32 OS2-EMX);
> >
> > should be set to (note "mingw" instead of "Mingw32"; please check
> > the correctness of other targets names):
> >
> > @WinTargets=qw(VC-NT VC-CE VC-WIN32 ... BC-32 BC-16 mingw OS2-EMX);
> >
> > The correction assure that the variable IsWindows will be set to
> > "mingw" and not 0 as now happens.
> >
> > After applying the "patch", ms\mingw32(.bat) works fine.
> >
>
> This was changed to support a Unix like build environment to work for
> the FIPS build and Windows. Under the MSYS shell you should be able to
> follow the Unix build instructions instead as:
>
> ./config
> make
>
It seems this way fails (see below) :-(
> if you need the ms\mingw32.bat single makefile build then I suppose an
> alternative target could be provided.
>
I don't understand what you means with this sentence.
> Steve.
>
>
>
Hello Steve,
on my winxp system it seems the "MSys compiling way" doesn't work.
>From msys shell, if i lauch ./config it fails searching perl.exe
path, even if from MSys shell perl.exe is visible ("which perl(.exe)"
return the correct perl(.exe) path). It seems config script fails
to search the perl executable, because the $EXE variable is "" instead
of ".exe". If i set manually the environment variable
PERL=my_perl_path\perl.exe under winxp, restart and lauch
./config, it fails with the original "Configure" file:
$ ./config
Operating system: i686-whatever-mingw
Configuring for mingw
Configuring for mingw
IsWindows=0
CC =gcc
CFLAG =-DOPENSSL_SYSNAME_MINGW32 -DOPENSSL_THREADS -DDSO_WIN32
-DOPENSSL_NO_KRB5 -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486
-mno-cygwin -Wall -D_WIN32_WINNT=0x333 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
EX_LIBS =-lwsock32 -lgdi32
BN_ASM =asm/bn86-out.o asm/co86-out.o
DES_ENC =asm/dx86-out.o asm/yx86-out.o
BF_ENC =asm/bx86-out.o
CAST_ENC =asm/cx86-out.o
RC4_ENC =asm/rx86-out.o
RC5_ENC =asm/r586-out.o
MD5_OBJ_ASM =asm/mx86-out.o
SHA1_OBJ_ASM =asm/sx86-out.o
RMD160_OBJ_ASM=asm/rm86-out.o
PROCESSOR =
RANLIB =true
ARFLAGS =
PERL =D:\Programmi\Perl\bin\perl.exe
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
/bin/sh: D:ProgrammiPerlbinperl.exe: command not found
make: *** [links] Error 127
----------------------------------------
Viceversa, if i launch it with my modified "Configure" file,
./conf works correctly:
$ ./config
Operating system: i686-whatever-mingw
Configuring for mingw
Configuring for mingw
IsWindows=1
CC =gcc
CFLAG =-DOPENSSL_SYSNAME_MINGW32 -DOPENSSL_THREADS -DDSO_WIN32
-DOPENSSL_NO_KRB5 -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486
-mno-cygwin -Wall -D_WIN32_WINNT=0x333 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
EX_LIBS =-lwsock32 -lgdi32
BN_ASM =asm/bn86-out.o asm/co86-out.o
DES_ENC =asm/dx86-out.o asm/yx86-out.o
BF_ENC =asm/bx86-out.o
CAST_ENC =asm/cx86-out.o
RC4_ENC =asm/rx86-out.o
RC5_ENC =asm/r586-out.o
MD5_OBJ_ASM =asm/mx86-out.o
SHA1_OBJ_ASM =asm/sx86-out.o
RMD160_OBJ_ASM=asm/rm86-out.o
PROCESSOR =
RANLIB =true
ARFLAGS =
PERL =D:\Programmi\Perl\bin\perl.exe
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
Configured for mingw.
----------------------------------------
But make fails:
$ make
making all in crypto...
make[1]: Entering directory `/c/temp/openssl-0.9.7i/crypto'
make[1]: *** No rule to make target `../include/openssl/bio.h', needed
by `cryptlib.o'. Stop.
make[1]: Leaving directory `/c/temp/openssl-0.9.7i/crypto'
make: *** [sub_all] Error 1
So it seem that ./config always treat the system as a mingw system,
not as a unix like.
Any suggestions ?
Best regards, Angelo
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]