Building SSLeay

Building SSLeay

Post by Francois Besnie » Wed, 16 Jun 1999 04:00:00



Hi all,

I need SSLeay 0.6.6b for Crypt::SSLeay.
I was not able to get SSLeay to compile successfully
(with a just installed RedHat 6.0 server install).

I did not use perl Configure (it's optional according to the FAQ
"building"),
I just did a perl perlpath.pl /usr/bin and ran the make.

It seems that I have a problem with "ssl_lib.o".
Any idea?

Thanks so much

- Francois

The make returned the following warning/error messages:
----------------------------------------------------------------------------
--------
In file included from ssl_locl.h:221,
                 from s2_srvr.c:68:
ssl_trc.h:67: warning: parameter names (without types) in function
declaration
ssl_trc.h:68: warning: parameter names (without types) in function
declaration
In file included from ssl_locl.h:221,
                 from s2_clnt.c:68:
ssl_trc.h:67: warning: parameter names (without types) in function
declaration
ssl_trc.h:68: warning: parameter names (without types) in function
declaration
In file included from ssl_locl.h:221,
                 from s2_pkt.c:62:
ssl_trc.h:67: warning: parameter names (without types) in function
declaration
ssl_trc.h:68: warning: parameter names (without types) in function
declaration
In file included from ssl_locl.h:221,
                 from ssl_lib.c:60:
ssl_trc.h:67: warning: parameter names (without types) in function
declaration
ssl_trc.h:68: warning: parameter names (without types) in function
declaration
ssl_lib.c:186: initializer element is not constant
ssl_lib.c:187: initializer element is not constant
make[1]: *** [ssl_lib.o] Error 1
In file included from ssl_locl.h:221,
                 from ssl_lib.c:60:
ssl_trc.h:67: warning: parameter names (without types) in function
declaration
ssl_trc.h:68: warning: parameter names (without types) in function
declaration
ssl_lib.c:186: initializer element is not constant
ssl_lib.c:187: initializer element is not constant
make[4]: *** [ssl_lib.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [top] Error 2
make[1]: *** [../libssl.a] Error 2
make[1]: *** No rule to make target `../libssl.a', needed by `ssltest'.
Stop.

----------------------------------------------------------------------------
--------
The last lines of the stdout from the make are the following:

....
make[2]: Leaving directory `/root/bin/SSLeay-0.6.6b/crypto/txt_db'
making all in pkcs7...
make[2]: Entering directory `/root/bin/SSLeay-0.6.6b/crypto/pkcs7'
make[2]: Leaving directory `/root/bin/SSLeay-0.6.6b/crypto/pkcs7'
make[1]: Leaving directory `/root/bin/SSLeay-0.6.6b/crypto'
making ssl...
make[1]: Entering directory `/root/bin/SSLeay-0.6.6b/ssl'
cc -I../crypto -I../include -O -DNOPROTO   -c s2_srvr.c -o s2_srvr.o
cc -I../crypto -I../include -O -DNOPROTO   -c s2_clnt.c -o s2_clnt.o
cc -I../crypto -I../include -O -DNOPROTO   -c s2_pkt.c -o s2_pkt.o
cc -I../crypto -I../include -O -DNOPROTO   -c ssl_lib.c -o ssl_lib.o
make[1]: Leaving directory `/root/bin/SSLeay-0.6.6b/ssl'
making rsaref...
make[1]: Entering directory `/root/bin/SSLeay-0.6.6b/rsaref'
cc -I../crypto -I../include -O -DNOPROTO   -c rsaref.c -o rsaref.o
cc -I../crypto -I../include -O -DNOPROTO   -c rsar_err.c -o rsar_err.o
ar r ../libRSAglue.a rsaref.o rsar_err.o
sh ../util/ranlib.sh ../libRSAglue.a
make[1]: Leaving directory `/root/bin/SSLeay-0.6.6b/rsaref'
making apps...
make[1]: Entering directory `/root/bin/SSLeay-0.6.6b/apps'
cc -DMONOLITH -I../include -O -DNOPROTO   -c verify.c -o verify.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c asn1pars.c -o asn1pars.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c req.c -o req.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c dgst.c -o dgst.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c dh.c -o dh.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c enc.c -o enc.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c gendh.c -o gendh.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c errstr.c -o errstr.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c ca.c -o ca.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c pkcs7.c -o pkcs7.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c crl2p7.c -o crl2p7.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c crl.c -o crl.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c rsa.c -o rsa.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c x509.c -o x509.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c genrsa.c -o genrsa.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c s_server.c -o s_server.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c s_client.c -o s_client.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c speed.c -o speed.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c s_time.c -o s_time.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c apps.c -o apps.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c s_cb.c -o s_cb.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c s_socket.c -o s_socket.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c version.c -o version.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c sess_id.c -o sess_id.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c ciphers.c -o ciphers.o
cc -DMONOLITH -I../include -O -DNOPROTO   -c ssleay.c -o ssleay.o
(cd ../ssl; make -f Makefile.ssl)
make[2]: Entering directory `/root/bin/SSLeay-0.6.6b/ssl'
(cd ..; make -f Makefile.ssl DIRS=ssl all)
make[3]: Entering directory `/root/bin/SSLeay-0.6.6b'
making ssl...
make[4]: Entering directory `/root/bin/SSLeay-0.6.6b/ssl'
cc -I../crypto -I../include -O -DNOPROTO   -c ssl_lib.c -o ssl_lib.o
make[4]: Leaving directory `/root/bin/SSLeay-0.6.6b/ssl'
make[3]: Leaving directory `/root/bin/SSLeay-0.6.6b'
make[2]: Leaving directory `/root/bin/SSLeay-0.6.6b/ssl'
make[1]: Leaving directory `/root/bin/SSLeay-0.6.6b/apps'
making test...
make[1]: Entering directory `/root/bin/SSLeay-0.6.6b/test'
cc -I../include -O -DNOPROTO   -c bntest.c -o bntest.o
cc -o bntest -I../include -O -DNOPROTO
bntest.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c ideatest.c -o ideatest.o
cc -o ideatest -I../include -O -DNOPROTO
ideatest.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c md2test.c -o md2test.o
cc -o md2test -I../include -O -DNOPROTO
md2test.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c md5test.c -o md5test.o
cc -o md5test -I../include -O -DNOPROTO
md5test.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c rc4test.c -o rc4test.o
cc -o rc4test -I../include -O -DNOPROTO
rc4test.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c destest.c -o destest.o
cc -o destest -I../include -O -DNOPROTO
destest.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c shatest.c -o shatest.o
cc -o shatest -I../include -O -DNOPROTO
shatest.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c sha1test.c -o sha1test.o
cc -o sha1test -I../include -O -DNOPROTO
sha1test.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c randtest.c -o randtest.o
cc -o randtest -I../include -O -DNOPROTO
randtest.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c dhtest.c -o dhtest.o
cc -o dhtest -I../include -O -DNOPROTO
dhtest.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c rc2test.c -o rc2test.o
cc -o rc2test -I../include -O -DNOPROTO
rc2test.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c bftest.c -o bftest.o
cc -o bftest -I../include -O -DNOPROTO
bftest.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
cc -I../include -O -DNOPROTO   -c ssltest.c -o ssltest.o
make[1]: Leaving directory `/root/bin/SSLeay-0.6.6b/test'
making tools...
make[1]: Entering directory `/root/bin/SSLeay-0.6.6b/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/bin/SSLeay-0.6.6b/tools'

 
 
 

Building SSLeay

Post by J.H.M. Dassen (R » Wed, 16 Jun 1999 04:00:00



>I need SSLeay 0.6.6b for Crypt::SSLeay.

OpenSSL (http://www.openssl.org) seems to be the successor to SSLeay.

Quote:>I was not able to get SSLeay to compile successfully (with a just installed
>RedHat 6.0 server install).

RPM packages of OpenSSL are available from the Red Hat Crypto site
(http://www.replay.com/redhat/).

HTH,
Ray
--
J.H.M. Dassen                 | RUMOUR  Believe all you hear. Your world may  

                              | live in but it'll be a sight more vivid.      
                              |     - The Hipcrime Vocab by Chad C. Mulligan  

 
 
 

Building SSLeay

Post by Villy Kru » Thu, 17 Jun 1999 04:00:00




Quote:

>RPM packages of OpenSSL are available from the Red Hat Crypto site
>(http://www.replay.com/redhat/).

This site even if it is a .com domain name is based in Holland and
therefore not US export restircted.

Villy

 
 
 

Building SSLeay

Post by Francois Besnie » Thu, 17 Jun 1999 04:00:00




>>I need SSLeay 0.6.6b for Crypt::SSLeay.

>OpenSSL (http://www.openssl.org) seems to be the successor to SSLeay.

Right... But (except with a patch on the SSLeay.xs), Crypt::SSLeay cannot
link with openssl.
Net::SSLeay is supposed to work with openssl.
I tried both modules, so far, I can't make it.

Quote:

>>I was not able to get SSLeay to compile successfully (with a just
installed
>>RedHat 6.0 server install).

>RPM packages of OpenSSL are available from the Red Hat Crypto site
>(http://www.replay.com/redhat/).

The RPM does not include the libraries necessary for Crypt::SSLeay to link
with,
... It would have been the simplest way to go.

I'll post my experience on this newsgroup, if I can manage to build SSLeay
with a Perl module using RedHat 6.0.

Thanks.

- Francois

 
 
 

1. failed to build SSLeay, qt and xemacs

Hi.

I've failed to build all of SSLeay-0.9.0b, qt-1.42 and xemacs-21.2.8.
The compiler is egcs-2.91.60 (1.1.1).

Compilation of SSLeay finishes but it seems that `ssleay genrsa -rand
anyfile -out keyfile` goes into an infinite loop.

Compilation of qt-1.42 filed because of segmentation fault of `moc`.

Compilation of xemacs-21.2.8 failed because of segmentation fault
while temacs is dumping xemacs.

Does anyone find how to build some of them on Linux/Alpha ?

-=-=-=-=-=-=-=
Toshinao Ishii  


2. Daylight saving time methods?

3. Problems building Apache with SSLeay+RSAref

4. Squirrelmail 1.4.1 Authentification (Suse 8.2)

5. Building a certificate revocation list with SSleay 0.8.1

6. Spurious 'out of paper' message

7. build mod_ssl,mod_perl,SSLeay

8. Redirect output in cshell?

9. SSLeay, Apache-SSL, Netscape

10. gcc 4.1.1 build under Intel Solaris 10 does not build gcc

11. SSLeay & Apache on Linux

12. SSLeay for SSL - perl problem????

13. SSLeay: genrsa gives segmentation fault