archive : RPM :  Lealinux Forums The fastest message board... ever.
FORUM FERMÉ 
Installation impossible de Net_SSLeay.pm dans Webmin
Envoyé par: bossa ()
Date: Thursday 22 December 2005 20:23:20

Bonjour à tous,
je viens d'installer REDHAT 9 et webmin pour l'administration distante.
Dans le module webmin "Chiffrement SSl" j'ai ce message d'erreur :

######################################
Le module perl Net:confused smileySLeay ne semble pas être installé sur votre système. Pour installer la bibliothèque OpenSSL et Net:confused smileySLeay, suivez ces instructions depuis le site web de Webmin.
Autrement, vous pouvez demander à Webmin de télécharger et installer pour vous le module Perl Net:confused smileySLeay nécessaire.

Le message d'erreur provenant de Perl était : Can't locate Net/SSLeay.pm in @INC (@INC contains: /usr/libexec/webmin /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .)
######################################

Je lance donc le téléchargement et l'installation " télécharger et installer" comme proposé mais j'obtiens une autre erreur:

######################################
Exécution de /usr/bin/perl Makefile.PL && make ..

Checking for OpenSSL-0.9.6j or 0.9.7b or newer...
openssl-0.9.6i/0.9.7a and earlier versions have security flaws or bugs,
see advisories at www.openssl.org, upgrading to openssl-0.9.6j
or openssl-0.9.7b is recommended.
You have OpenSSL-0.9.7a installed in /usr
*** Could not figure out which C compiler was used to compile /usr/bin/openssl. It is essentiall tha
t OpenSSL, perl, and Net:confused smileySLeay are compiled with the same compiler and flags. Mixing and matching
compilers is not supported. at Makefile.PL line 140.
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Net:confused smileySLeay::Handle
Writing Makefile for Net:confused smileySLeay
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
do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al,
get_httpx3.al, get_httpx4.al truncate to get_http
head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_ht
tpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_ht
tpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al,
put_httpx3.al, put_httpx4.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
tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
make[1]: Entering directory `/tmp/.webmin/Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50'
cp Handle.pm ../blib/lib/Net/SSLeay/Handle.pm
Manifying ../blib/man3/Net:confused smileySLeay::Handle.3pm
make[1]: Leaving directory `/tmp/.webmin/Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50'
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -
typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
gcc -c -I/usr/include -I/usr/inc32 -I/usr/kerberos/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAV
E_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 -I/usr/include/gdbm -O -DVERSION=\"1.25\" -DXS_VERSION=\"1.25\" -fPIC "-I/usr/lib/perl5/5.8.0/
i386-linux-thread-multi/CORE" -DPERL5 -DOPENSSL_NO_KRB5 SSLeay.c
/bin/sh: line 1: gcc: command not found
make: *** [SSLeay.o] Error 127

######################################

J'ai googolisé ma recherche et rien de probant.
Alors si quelqu'un a une idée ou approche, elle est la bienvenue.

Options: RépondreCiter
Re: Installation impossible de Net_SSLeay.pm dans Webmin
Envoyé par: bossa ()
Date: Saturday 24 December 2005 11:14:43

Résolution partielle :
Après avoir installé le rpm gcc je n'obtient plus la même erreur:
#################################################################
Compilation du module
Exécution de /usr/bin/perl Makefile.PL && make ..

Checking for OpenSSL-0.9.6j or 0.9.7b or newer...
openssl-0.9.6i/0.9.7a and earlier versions have security flaws or bugs,
see advisories at www.openssl.org, upgrading to openssl-0.9.6j
or openssl-0.9.7b is recommended.
You have OpenSSL-0.9.7a installed in /usr
*** Could not figure out which C compiler was used to compile /usr/bin/openssl. It is essentiall tha
t OpenSSL, perl, and Net:confused smileySLeay are compiled with the same compiler and flags. Mixing and matching
compilers is not supported. at Makefile.PL line 140.
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Net:confused smileySLeay::Handle
Writing Makefile for Net:confused smileySLeay
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
do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al,
get_httpx3.al, get_httpx4.al truncate to get_http
head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_ht
tpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_ht
tpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al,
put_httpx3.al, put_httpx4.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
tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
make[1]: Entering directory `/tmp/.webmin/Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50'
cp Handle.pm ../blib/lib/Net/SSLeay/Handle.pm
Manifying ../blib/man3/Net:confused smileySLeay::Handle.3pm
make[1]: Leaving directory `/tmp/.webmin/Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50'
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -
typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
gcc -c -I/usr/include -I/usr/inc32 -I/usr/kerberos/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAV
E_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64 -I/usr/include/gdbm -O -DVERSION=\"1.25\" -DXS_VERSION=\"1.25\" -fPIC "-I/usr/lib/perl5/5.8.0/
i386-linux-thread-multi/CORE" -DPERL5 -DOPENSSL_NO_KRB5 SSLeay.c
SSLeay.xs:86:25: openssl/err.h: No such file or directory
SSLeay.xs:87:27: openssl/lhash.h: No such file or directory
SSLeay.xs:88:26: openssl/rand.h: No such file or directory
SSLeay.xs:89:28: openssl/buffer.h: No such file or directory
SSLeay.xs:90:25: openssl/ssl.h: No such file or directory
SSLeay.xs:91:74: openssl/comp.h: No such file or directory
SSLeay.xs:92:93: openssl/md5.h: No such file or directory
SSLeay.xs:1569: parse error before '*' token
SSLeay.xs:1569: parse error before '*' token
SSLeay.xs:1569: warning: data definition has no type or storage class
SSLeay.xs:1570: parse error before '*' token
SSLeay.xs:1570: parse error before '*' token
SSLeay.xs:1570: warning: data definition has no type or storage class
SSLeay.xs:1572: parse error before "X509_NAME_STACK"
SSLeay.xs:1572: warning: data definition has no type or storage class
SSLeay.xs:1579: parse error before "X509_STORE_CTX"
SSLeay.xs: In function `ssleay_verify_callback_glue':
SSLeay.xs:1590: `ok' undeclared (first use in this function)
SSLeay.xs:1590: (Each undeclared identifier is reported only once
SSLeay.xs:1590: for each function it appears in.)
SSLeay.xs:1591: `ctx' undeclared (first use in this function)
SSLeay.xs: At top level:
SSLeay.xs:1619: parse error before "X509_STORE_CTX"
SSLeay.xs: In function `ssleay_ctx_verify_callback_glue':
SSLeay.xs:1630: `ok' undeclared (first use in this function)
SSLeay.xs:1631: `ctx' undeclared (first use in this function)
SSLeay.c: In function `XS_Net__SSLeay_CTX_new':
SSLeay.c: In function `XS_Net__SSLeay_get_client_random':
SSLeay.c:6832: `SSL' undeclared (first use in this function)
SSLeay.c:6832: `s' undeclared (first use in this function)
SSLeay.c:6832: parse error before ')' token
SSLeay.xs:3408: `SSL3_RANDOM_SIZE' undeclared (first use in this function)
SSLeay.c: In function `XS_Net__SSLeay_get_server_random':
SSLeay.c:6848: `SSL' undeclared (first use in this function)
SSLeay.c:6848: `s' undeclared (first use in this function)
SSLeay.c:6848: parse error before ')' token
SSLeay.xs:3415: `SSL3_RANDOM_SIZE' undeclared (first use in this function)
make: *** [SSLeay.o] Error 1



Options: RépondreCiter


Désolé, vous n'avez pas la permission d'envoyer ou de répondre dans ce forum.
This forum powered by Phorum.