On Tue, Aug 01, 2000 at 11:51:55AM -0400, Scott D. Allen wrote:
> Thanks Lutz. It looks like it is not finding the rand.h include file. Here's
> the end of the config.log file. There are a whole bunch of similar errors
> right before this. I have set the CPPFLAGS="-I/opt/openssl/include" which is
> the location of the openssl include files.
> [SNIP] config.log
> configure:2795: gcc -o conftest -I/opt/openssl/include -Wall -D_HPUX_SOURCE
> -I/opt/openssl/include -I/opt/openssl/include -L/opt/openssl/lib
> -L/usr/local/lib -L/opt/openssl/lib -L/opt/openssl conftest.c -lz -lsec
> -lcrypto 1>&5
> configure:2784: openssl/rand.h: No such file or directory
Are you sure that you have a recent version of OpenSSL installed?
In older versions, the header files were in /opt/openssl/include*.h
now they are in /opt/openssl/include/openssl/*.h (using /opt/openssh
as your install root).
If memory serves me right, the change was between 0.9.3 and 0.9.4.
I would hence recommend you to upgrade he latest version 0.9.5a,
because...
> configure: failed program was:
> #line 2781 "configure"
> #include "confdefs.h"
>
> #include <string.h>
> #include <openssl/rand.h>
> int main(void)
> {
> char a[2048];
> memset(a, 0, sizeof(a));
> RAND_add(a, sizeof(a), sizeof(a));
> return(RAND_status() <= 0);
> }
...RAND_add() and RAND_status() were added in version 0.9.5, so versions before
0.9.5 will fail the test anyway,
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153