Hi,

I have compiled Net::SSleay on my Redhat 9.
Everything is working well.

First, I have modified a file:
/etc/sysconfig/i18n:
LANG="C"
SUPPORTED="en:fr"
SYSFONT="latarcyrheb-sun16"

Unpack archive Net_SSLeay.pm-1.21.tar.gz.
cd Net_SSLeay.pm-1.21

[EMAIL PROTECTED] Net_SSLeay.pm-1.21]$ ./Makefile.PL 
Checking for OpenSSL-0.9.6g or newer...
You have OpenSSL-0.9.7a installed in /usr
That's is newer than what this module was tested with (0.9.6g). You should
consider checking if there is a newer release of this module
available. Everything will probably work OK, though.
*** Could not figure out which C compiler was used to compile /usr/bin/openssl. 
It is essentiall that OpenSSL, perl, and Net::SSLeay are compiled with the same 
compiler and flags. Mixing and matching compilers is not supported. 
at ./Makefile.PL line 132.
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Net::SSLeay::Handle
Writing Makefile for Net::SSLeay
[EMAIL PROTECTED] Net_SSLeay.pm-1.21]$ make all
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 `/home/cedric/Src/Net_SSLeay.pm-1.21/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 `/home/cedric/Src/Net_SSLeay.pm-1.21/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 -D_REENTRANT -D_GNU_SOURCE -
DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O   -
DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-
linux-thread-multi/CORE"  -DPERL5 SSLeay.c
SSLeay.c: In function `XS_Net__SSLeay_state_string':
SSLeay.c:2597: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function `XS_Net__SSLeay_rstate_string':
SSLeay.c:2614: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function `XS_Net__SSLeay_state_string_long':
SSLeay.c:2631: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function `XS_Net__SSLeay_rstate_string_long':
SSLeay.c:2648: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function `XS_Net__SSLeay_alert_desc_string':
SSLeay.c:4565: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function `XS_Net__SSLeay_alert_desc_string_long':
SSLeay.c:4582: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function `XS_Net__SSLeay_alert_type_string':
SSLeay.c:4599: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function `XS_Net__SSLeay_alert_type_string_long':
SSLeay.c:4616: warning: assignment discards qualifiers from pointer target type
Running Mkbootstrap for Net::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Net/SSLeay/SSLeay.so
LD_RUN_PATH="/usr/lib" gcc  -shared -L/usr/local/lib SSLeay.o  -o 
blib/arch/auto/Net/SSLeay/SSLeay.so   -L/usr -L/usr/lib -lssl -lcrypto  
chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so
cp SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs
chmod 644 blib/arch/auto/Net/SSLeay/SSLeay.bs
Manifying blib/man3/Net::SSLeay.3pm
[EMAIL PROTECTED] Net_SSLeay.pm-1.21]$ su -
Password: XXXXXXXXXXXXXXXXXX
[EMAIL PROTECTED] ~]# cd /home/cedric/Src/Net_SSLeay.pm-1.21
[EMAIL PROTECTED] Net_SSLeay.pm-1.21]# make install
make[1]: Entering directory `/home/cedric/Src/Net_SSLeay.pm-1.21/Net-SSLeay-
Handle-0.50'
make[1]: Leaving directory `/home/cedric/Src/Net_SSLeay.pm-1.21/Net-SSLeay-
Handle-0.50'
Files found in blib/arch: installing files in blib/lib into architecture 
dependent library tree
Writing /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-
multi/auto/Net/SSLeay/.packlist
Appending installation info to /usr/lib/perl5/5.8.0/i386-linux-thread-
multi/perllocal.pod
[EMAIL PROTECTED] Net_SSLeay.pm-1.21]# 


What errors do you have ?
-- 
Cedric


Selon Jhun Bacala <[EMAIL PROTECTED]>:

> Hi All,
> 
> Has anyone in this list successfully install Net::SSLeay module on Redhat 9 
> without errors? If so, would you be so kind of giving a step by step on how 
> to do it ?
> 
> Thanks
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to