Hi,
Similar questions have been posted on the list before,
but I was not able to find the answer. I am trying to
compile version openssl-0.9.8e under windows using VS7
and running into trouble. The system reports that
certain environment variables are not set.
The first complaint is that %OSVERSION% is not set,
defining the value results in other variables not
being set. Also, unless I have defined some of these
variables incorrectly, the system at some point
behaived as though I was compiling for CE, which I was
not :)
Any help is greatly appreciated,
Here is the output:
$ perl Configure VC-WIN32 --prefix=c:/tmp/ssl
Configuring for VC-WIN32
no-camellia [default] OPENSSL_NO_CAMELLIA
(skip dir)
no-gmp [default] OPENSSL_NO_GMP (skip
dir)
no-krb5 [krb5-flavor not specified]
OPENSSL_NO_KRB5
no-mdc2 [default] OPENSSL_NO_MDC2 (skip
dir)
no-rc5 [default] OPENSSL_NO_RC5 (skip
dir)
no-rfc3779 [default] OPENSSL_NO_RFC3779
(skip dir)
no-shared [default]
no-zlib [default]
no-zlib-dynamic [default]
IsMK1MF=1
CC =cl
CFLAG =-DOPENSSL_THREADS -DDSO_WIN32
EX_LIBS =
CPUID_OBJ =
BN_ASM =bn_asm.o
DES_ENC =des_enc.o fcrypt_b.o
AES_ASM_OBJ =aes_core.o aes_cbc.o
BF_ENC =bf_enc.o
CAST_ENC =c_enc.o
RC4_ENC =rc4_enc.o
RC5_ENC =rc5_enc.o
MD5_OBJ_ASM =
SHA1_OBJ_ASM =
RMD160_OBJ_ASM=
PROCESSOR =
RANLIB =/usr/bin/ranlib
ARFLAGS =
PERL =/usr/bin/perl
THIRTY_TWO_BIT mode
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
Configured for VC-WIN32.
$ ms/do_ms.bat
c:\tmp\openssl-0.9.8e>perl util\mkfiles.pl 1>MINFO
c:\tmp\openssl-0.9.8e>perl util\mk1mf.pl no-asm
VC-WIN32 1>ms\nt.mak
c:\tmp\openssl-0.9.8e>perl util\mk1mf.pl dll no-asm
VC-WIN32 1>ms\ntdll.mak
c:\tmp\openssl-0.9.8e>perl util\mk1mf.pl no-asm VC-CE
1>ms\ce.mak
%OSVERSION% is not defined at util/pl/VC-32.pl line
41.
Compilation failed in require at util\mk1mf.pl line
138.
c:\tmp\openssl-0.9.8e>perl util\mk1mf.pl dll no-asm
VC-CE 1>ms\cedll.mak
%OSVERSION% is not defined at util/pl/VC-32.pl line
41.
Compilation failed in require at util\mk1mf.pl line
138.
c:\tmp\openssl-0.9.8e>perl util\mkdef.pl 32 libeay
1>ms\libeay32.def
c:\tmp\openssl-0.9.8e>perl util\mkdef.pl 32 ssleay
1>ms\ssleay32.def
Alex
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]