Users,
I am having some trouble compiling on Win32's. I think the root of my
problem is not having the right utilities to do the job (and/or
knowledge!). I got the following tips about installing on Win32 from a
previous note to the list... (scan down if this is familiar)
----------------------------------------------------------------
>BTW: How tough was it to compile openssl in Win32? I've tried several
>times but since I'm not a c or make file guru I could not. Could you pass
>along some info as to how you did it? What changes to the make files did
>you have to make? What platform did you compile it on?
Not really difficult at all.
openssl-0.9.3a directly from openssl.org
Windows 98 build 4.10.1998
MS Visual C++ 6.0 (also works in 5.0)
This will need VCVARS32.BAT added to your AUTOEXEC.BAT.
You will probably have to increase your environment space
through CONFIG.SYS
You will need activeperl from the URL given in INSTALL.W32.
This installed with no problems.
Follow the instructions in INSTALL.W32 inside the openssl tarball
These commands will have to be run in a Dos Shell VM with
an
expanded environment space to work. Create a
shortcut to
COMMAND.COM on your desktop and change the property
'memory->initial environment' (mine's set to 4096).
All should compile and test ok with the exception of
s_server
and s_client which seem to have problems with
socket
handling on Windows.
----------------------------------------------------------------
My problem is that OpenSSL wont compile on Win95 or WinNT with the nmake
utility that is available on these systems. I believe that the problem is
that Visual C++ is out of date or not even installed (one system has a
downloaded nmake utility that shipped with MS VC++ 2.x). How can I tell
what version of MS Visual C++ is installed? Is there a free make utility
that will compile OpenSSL or do we need to buy VC++ 5 or 6 for each system?
Or is this even the problem?
Also, I thought I read that one compile problem I am having relates to
running in a DOS window. Can someone verify this?
For fun, here are my compile errors...
Any help is appreciated. Thanks!
Ed
----------------------------------------------------------------
This error on WinNT - nmake version 1.62.7022 (Vis C++ version???)
NMAKE : warning U4004: Too many rules for target 'out32.dll'
NMAKE : warning U4004: Too many rules for target 'out32.dll'
ml /Cp /coff /c /Cx /Forcrypto\md5\asm\m5-win32.obj
.\crypto\md5\asm\m5-win32.asm
The name specified is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'ml' : return code '0x1'
Stop.
----------------------------------------------------------------
This error on Win95 - nmake version 1.50 (downloaded utility ships with
Visual C++ 2.X)
C:\My Downloads\openssl-0.9.3a>nmake -f ms\ntdll.mak
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox
/O2
/Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
/Fdout32dll /
GD -D_WINDLL -D_DLL -c .\crypto\cryptlib.c
NMAKE : fatal error U1081: 'cl' : program not found
Stop.
----------------------------------------------------------------
Another error: OpenSSL-0.9.1c on Win95 - nmake version 1.50
NMAKE : warning U4004: too many rules for target 'out32dll'
NMAKE : warning U4004: too many rules for target 'out32dll'
gcc -Fo tmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5
/Ox /O
2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
-DBN_ASM -D
MD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /GD -D_WINDLL -D_DLL -c
.\crypto\cr
yptlib.c
gcc.exe: tmp32dll\cryptlib.obj: No such file or directory
gcc.exe: /MD: No such file or directory
gcc.exe: /W3: No such file or directory
gcc.exe: /WX: No such file or directory
gcc.exe: /G5: No such file or directory
gcc.exe: /Ox: No such file or directory
gcc.exe: /O2: No such file or directory
gcc.exe: /Ob2: No such file or directory
gcc.exe: /Gs0: No such file or directory
gcc.exe: /GF: No such file or directory
gcc.exe: /Gy: No such file or directory
gcc.exe: /nologo: No such file or directory
gcc.exe: /Fdout32dll: No such file or directory
gcc.exe: /GD: No such file or directory
gcc.exe: unrecognized option `-Fo'
NMAKE : fatal error U1077: 'GCC' : return code '0x1'
Stop.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]