Page 1 of 1

SSLeay Installation

Posted: 2003-12-07 23:03
by burgi
Ich habe versucht SSLeay auf meinem Debian woody zu installieren, bekomme jedoch beim kompilieren ein paar Fehler, dass Dateien von OpenSSL nicht gefunden werden, wobei ich OpenSSL mit "apt-get install openssl" installiert habe.

Hier meine Ausgabe:

Code: Select all

farm:~/Net_SSLeay.pm-1.23# make install
cp ptrtstrun.pl blib/lib/Net/ptrtstrun.pl
cp SSLeay.pm blib/lib/Net/SSLeay.pm
AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay)
blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters
:
 directory blib/lib/auto/Net/SSLeay:
  do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
  get_https.al, get_https3.al, get_https4.al truncate to get_http
  head_https.al, head_https3.al, head_https4.al truncate to head_htt
  post_https.al, post_https3.al, post_https4.al truncate to post_htt
  put_https.al, put_https3.al, put_https4.al truncate to put_http
  ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
  ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
make[1]: Entering directory `/root/Net_SSLeay.pm-1.23/Net-SSLeay-Handle-0.50'
cp Handle.pm ../blib/lib/Net/SSLeay/Handle.pm
Manifying ../blib/man3/Net::SSLeay::Handle.3pm
make[1]: Leaving directory `/root/Net_SSLeay.pm-1.23/Net-SSLeay-Handle-0.50'
/usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 /usr/share/perl/5.6.
1/ExtUtils/xsubpp  -typemap /usr/share/perl/5.6.1/ExtUtils/typemap -typemap type
map SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
cc -c -I/usr/include -I/usr/inc32 -I/usr/kerberos/include -DDEBIAN -fno-strict-a
liasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DV
ERSION="1.23" -DXS_VERSION="1.23" -fPIC -I/usr/lib/perl/5.6.1/CORE -DPERL5 -
DOPENSSL_NO_KRB5 SSLeay.c
SSLeay.xs:85: openssl/err.h: No such file or directory
SSLeay.xs:86: openssl/lhash.h: No such file or directory
SSLeay.xs:87: openssl/rand.h: No such file or directory
SSLeay.xs:88: openssl/buffer.h: No such file or directory
SSLeay.xs:89: openssl/ssl.h: No such file or directory
SSLeay.xs:90: openssl/comp.h: No such file or directory
SSLeay.xs:91: openssl/md5.h: No such file or directory
make: *** [SSLeay.o] Error 1
Ist mein OpenSSL falsch installiert?

burgi

Re: SSLeay Installation

Posted: 2003-12-08 06:21
by arty
Hi,

für SSLeay gibts ein eigenes Debian-Paket, das musst du nicht selbst kompilieren. Wie das genau heisst, weiß ich aber nicht, musste halt mal suchen.

bye
arty

Re: SSLeay Installation

Posted: 2003-12-08 09:44
by jtb
falls du gegen openssl kompilieren willst, brauchst du die dev-Variante von openssl..

Ansonsten wie arty sagt, vorher nach dem Debian-Paket suchen.

Re: SSLeay Installation

Posted: 2003-12-08 13:39
by burgi
Wo kann ich solche Pakete suchen? http://www.debian.de/distrib/packages.html geht nicht...

Re: SSLeay Installation

Posted: 2003-12-08 13:58
by jtb
apt-cache search paketname

Re: SSLeay Installation

Posted: 2003-12-08 15:40
by burgi
Danke!

Nun bekomme ich aber eine grosse Auswahl von Paketen:

Code: Select all

farm:~# apt-cache search SSLeay
libnet-ssleay-perl - Perl module for Secure Sockets Layer (SSL)
libwhisker-perl - Perl module geared for HTTP testing
ssleay - Convenience package to replace ssleay with openssl
libcrypt-ssleay-perl - Support for https protocol in LWP
Ich hab nun libnet-ssleay-perl installiert. Kann man jedoch noch irgendwo eine Paketbeschreibung lesen, falls man unsicher ist?