Well, I've finally gotten it to work by combining suggestions from 
many different newsgroups and mail lists - it seemed that most 
suggestions were only partial - they took me to the next step or removed 
some of the error messages, but not all of them.  Here's what I did - it 
worked for me, and I'm sure that some steps were unnecessary, but I 
followed just about every suggestion I could find.  I'm installing 
openssl 0.9.7-dev on MacOSX 10.0.4:

1. Download openssl at 
ftp://ftp.openssl.org/snapshot/openssl-SNAP-20010719.tar.gz

2. Once file is downloaded, expand with gzip -d and then tar -xvf

3. Modify 3 files in the directory:

apps/speed.c - at around line 93, the bug #if line where it determines 
whether to #define TIMEB, add to the end of the #if statement " && 
!defined(__APPLE__) && !defined(__MACOSX__)" (the goal here is to make 
sure that TIMEB does not get defined)

apps/s_time.c - at line 89, add the following 3 lines:
#if defined(__MACOSX__)
# define TIMES
#endif

crypto/tmdiff.c - at line 72, add the same 3 lines:
#if defined(__MACOSX__)
# define TIMES
#endif

The goal here is to make sure that TIMES does get defined

4. Move 2 files from /usr/lib:
sudo mv /usr/lib/libcrypto.dylib ~
sudo mv /usr/lib/libssl.dylib ~
Apparently these files get in the way of compilation, so you'll need to 
delete them or move them to your home directory

5. Create the following file by running this command:
sudo touch /usr/include/values.h

6. OK, now the code and system is set up for installation, first run 
config script:
./config --openssldir=/usr/local/openssl no-threads -D__MACOSX__
make
make test
sudo make install


Hope this helps.

Barry



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to