Link to home
Start Free TrialLog in
Avatar of AIX25
AIX25Flag for United States of America

asked on

AIX - Perl Module for Apache

I needed to add perl module to apache. Does anyone know how to do this? Also, I have installed apache using the packages from perzl.org
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AIX25

ASKER

I ran rpm -Uvh perl-5..8.8-2.aix5.1.ppc.rpm and got the following error:
file /opt/freeware/man/man3/Thread.3 from install of perl-5.8.8-2 conflicts with file from package tcl-8.4.7-3
That's just a duplicate manpage. Add the "--replacefiles" flag!
Avatar of AIX25

ASKER

It installed correctly. But I don't see the ldap.pm file under the */*/Net directory.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AIX25

ASKER

I know...sorry for it was case sensitive. I need to get a bunch other pm files...like HTTP LDAP LDAPI LDAPS and Telnet. Can I get them all from that same location you provided above?
Yes, you can get them from there.

But please be aware that running "perl Makefile.PL", then "make" etc. will install the new modules into  AIX perl.

To install them into your new RPM perl branch you must run

/opt/freeware/bin/perl Makefile.PL

etc.

If you want to run perl based applications outside of Apache/mod_perl use /opt/freeware/bin/perl instead of perl alone (which is /usr/bin/perl).
Avatar of AIX25

ASKER

Under /opt/freeware/bin I have:

perl
perl5.8.8
perl5.8.8_64bit
perl_64bit

If I use /opt/freeware/bin/perl is that one the same as perl5.8.8? I'm asking so I can know how to reference our perl scripts.

Also, can you walk me through installing the first one below?
http://search.cpan.org/CPAN/authors/id/M/MA/MARSCHAP/perl-ldap-0.56.tar.gz
/opt/freeware/bin/perl is usually the same as /opt/freeware/bin/perl5.8.8 which is the 32-bit version of perl.

As for the walk-through - I can do that, but I think you should study the INSTALL files contained in those packages. They're rather easy to understand and should contain all required information.

Please let me know if you need detailed assistance anyway.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AIX25

ASKER

Thank you for your update...I appreciate your assistance. I was able to install the modules using the /opt/freeware/bin/cpan utility. It opens its own shell. I'm able to run installs from there and it auto installs the dependencies.
Oh, fine, so your server is allowed to access the internet directly. Very convenient.
Due to our security policies we must use special jump stations for that purpose, so cpan does not work that straightforwardly.

Have fun!
Avatar of AIX25

ASKER

On my dev box I was able to get DBD::DB2 working by compiling it manually and installing it. One of the dependencies was DBI. Which installed perfect fine within the cpan shell. On my test box...DBI fails to install using cpan shell. I than tried installing it manually. Please see below...it fails. My dev and test box are identical...not sure why this would fail.

/DBI-1.627> /opt/freeware/bin/perl Makefile.PL
Your perl was compiled with gcc (version 4.2.3), okay.
Creating test wrappers for DBD::Gofer:
t/zvg_01basics.t
t/zvg_02dbidrv.t
t/zvg_03handle.t
t/zvg_04mods.t
t/zvg_05concathash.t
t/zvg_06attrs.t
t/zvg_07kids.t
t/zvg_08keeperr.t
t/zvg_09trace.t
t/zvg_10examp.t
t/zvg_11fetch.t
t/zvg_12quote.t
t/zvg_13taint.t
t/zvg_14utf8.t
t/zvg_15array.t
t/zvg_16destroy.t
t/zvg_19fhtrace.t
t/zvg_20meta.t
t/zvg_30subclass.t
t/zvg_31methcache.t
t/zvg_35thrclone.t (use threads)
t/zvg_40profile.t
t/zvg_41prof_dump.t
t/zvg_42prof_data.t
t/zvg_43prof_env.t
t/zvg_48dbi_dbd_sqlengine.t
t/zvg_49dbd_file.t
t/zvg_50dbm_simple.t
t/zvg_51dbm_file.t
t/zvg_52dbm_complex.t
t/zvg_60preparse.t
t/zvg_65transact.t
t/zvg_70callbacks.t
t/zvg_72childhandles.t
t/zvg_80proxy.t
t/zvg_85gofer.t
t/zvg_86gofer_fail.t
t/zvg_87gofer_cache.t
t/zvg_90sql_type_cast.t
Creating test wrappers for DBI::SQL::Nano:
t/zvn_48dbi_dbd_sqlengine.t
t/zvn_49dbd_file.t
t/zvn_50dbm_simple.t
t/zvn_51dbm_file.t
t/zvn_52dbm_complex.t
t/zvn_85gofer.t
Creating test wrappers for DBI::PurePerl:
t/zvp_01basics.t
t/zvp_02dbidrv.t
t/zvp_03handle.t
t/zvp_04mods.t
t/zvp_05concathash.t
t/zvp_06attrs.t
t/zvp_07kids.t
t/zvp_08keeperr.t
t/zvp_09trace.t
t/zvp_10examp.t
t/zvp_11fetch.t
t/zvp_12quote.t
t/zvp_13taint.t
t/zvp_14utf8.t
t/zvp_15array.t
t/zvp_16destroy.t
t/zvp_19fhtrace.t
t/zvp_20meta.t
t/zvp_30subclass.t
t/zvp_31methcache.t
t/zvp_35thrclone.t (use threads)
t/zvp_40profile.t
t/zvp_41prof_dump.t
t/zvp_42prof_data.t
t/zvp_43prof_env.t
t/zvp_48dbi_dbd_sqlengine.t
t/zvp_49dbd_file.t
t/zvp_50dbm_simple.t
t/zvp_51dbm_file.t
t/zvp_52dbm_complex.t
t/zvp_60preparse.t
t/zvp_65transact.t
t/zvp_70callbacks.t
t/zvp_72childhandles.t
t/zvp_80proxy.t
t/zvp_85gofer.t
t/zvp_86gofer_fail.t
t/zvp_87gofer_cache.t
t/zvp_90sql_type_cast.t
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano:
t/zvxgn_48dbi_dbd_sqlengine.t
t/zvxgn_49dbd_file.t
t/zvxgn_50dbm_simple.t
t/zvxgn_51dbm_file.t
t/zvxgn_52dbm_complex.t
t/zvxgn_85gofer.t
Creating test wrappers for DBD::Gofer + DBI::PurePerl:
t/zvxgp_01basics.t
t/zvxgp_02dbidrv.t
t/zvxgp_03handle.t
t/zvxgp_04mods.t
t/zvxgp_05concathash.t
t/zvxgp_06attrs.t
t/zvxgp_07kids.t
t/zvxgp_08keeperr.t
t/zvxgp_09trace.t
t/zvxgp_10examp.t
t/zvxgp_11fetch.t
t/zvxgp_12quote.t
t/zvxgp_13taint.t
t/zvxgp_14utf8.t
t/zvxgp_15array.t
t/zvxgp_16destroy.t
t/zvxgp_19fhtrace.t
t/zvxgp_20meta.t
t/zvxgp_30subclass.t
t/zvxgp_31methcache.t
t/zvxgp_35thrclone.t (use threads)
t/zvxgp_40profile.t
t/zvxgp_41prof_dump.t
t/zvxgp_42prof_data.t
t/zvxgp_43prof_env.t
t/zvxgp_48dbi_dbd_sqlengine.t
t/zvxgp_49dbd_file.t
t/zvxgp_50dbm_simple.t
t/zvxgp_51dbm_file.t
t/zvxgp_52dbm_complex.t
t/zvxgp_60preparse.t
t/zvxgp_65transact.t
t/zvxgp_70callbacks.t
t/zvxgp_72childhandles.t
t/zvxgp_80proxy.t
t/zvxgp_85gofer.t
t/zvxgp_86gofer_fail.t
t/zvxgp_87gofer_cache.t
t/zvxgp_90sql_type_cast.t
Creating test wrappers for DBI::SQL::Nano + DBI::PurePerl:
t/zvxnp_48dbi_dbd_sqlengine.t
t/zvxnp_49dbd_file.t
t/zvxnp_50dbm_simple.t
t/zvxnp_51dbm_file.t
t/zvxnp_52dbm_complex.t
t/zvxnp_85gofer.t
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano + DBI::PurePerl:
t/zvxgnp_48dbi_dbd_sqlengine.t
t/zvxgnp_49dbd_file.t
t/zvxgnp_50dbm_simple.t
t/zvxgnp_51dbm_file.t
t/zvxgnp_52dbm_complex.t
t/zvxgnp_85gofer.t
Checking if your kit is complete...
Looks good

    I see you're using perl 5.008008 on ppc-thread-multi, okay.
    Remember to actually *read* the README file!
    Use  'make' to build the software (dmake or nmake on Windows).
    Then 'make test' to execute self tests.
    Then 'make install' to install the DBI and then delete this working
    directory before unpacking and building any DBD::* drivers.

Writing Makefile for DBI
Writing MYMETA.yml and MYMETA.json

/DBI-1.627> make        
/opt/freeware/bin/perl -MExtUtils::Command -e 'mkpath' -- blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm
cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm
cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp dbixs_rev.pl blib/lib/dbixs_rev.pl
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/Gofer/Serializer/DataDumper.pm blib/lib/DBI/Gofer/Serializer/DataDumper.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/pipeone.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/DBD/File/Roadmap.pod blib/lib/DBD/File/Roadmap.pod
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/File/HowTo.pod blib/lib/DBD/File/HowTo.pod
cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/DBD/SqlEngine/HowTo.pod blib/lib/DBI/DBD/SqlEngine/HowTo.pod
cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h
cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm
cp lib/DBD/Gofer/Transport/corostream.pm blib/lib/DBD/Gofer/Transport/corostream.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm
cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm
cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/Gofer/Serializer/Storable.pm blib/lib/DBI/Gofer/Serializer/Storable.pm
cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD/SqlEngine/Developers.pod blib/lib/DBI/DBD/SqlEngine/Developers.pod
cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/pipeone.pm
cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBD/File/Developers.pod blib/lib/DBD/File/Developers.pod
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/DBI/DBD/SqlEngine.pm blib/lib/DBI/DBD/SqlEngine.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
        /opt/freeware/bin/perl -e 'use ExtUtils::Mksymlists;  Mksymlists("NAME" => "DBI", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" => []);'
        /opt/freeware/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
        /opt/freeware/bin/perl /opt/freeware/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /opt/freeware/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
        gcc -maix32 -c    -D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/opt/freeware/include -D_LARGE_FILES -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -fno-strict-aliasing -pipe -D_LARGE_FILES -O    -DVERSION=\"1.627\"  -DXS_VERSION=\"1.627\"  "-I/opt/freeware/lib/perl5/5.8.8/ppc-thread-multi/CORE"  -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
In file included from /opt/freeware/lib/perl5/5.8.8/ppc-thread-multi/CORE/perl.h:557,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/include/unistd.h:935: error: expected ')' before '[' token
/usr/include/unistd.h:936: error: expected declaration specifiers or '...' before 'rid_t'
In file included from /usr/include/sys/cred.h:49,
                 from /usr/include/sys/thread.h:42,
                 from /usr/include/sys/ptrace.h:28,
                 from /usr/include/sys/proc.h:42,
                 from /usr/include/sys/pri.h:43,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:51,
                 from /usr/include/pthread.h:64,
                 from /opt/freeware/lib/perl5/5.8.8/ppc-thread-multi/CORE/perl.h:2653,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/include/sys/secattr.h:50: error: expected specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:70: error: expected specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:42,
                 from /usr/include/sys/ptrace.h:28,
                 from /usr/include/sys/proc.h:42,
                 from /usr/include/sys/pri.h:43,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:51,
                 from /usr/include/pthread.h:64,
                 from /opt/freeware/lib/perl5/5.8.8/ppc-thread-multi/CORE/perl.h:2653,
                 from DBIXS.h:23,
                 from Perl.xs:7:
/usr/include/sys/cred.h:335: error: expected specifier-qualifier-list before 'rid_t'
make: 1254-004 The error code from the last command is 1.


Stop.
It looks quite like a compiler bug, so do you have the same gcc version on both machines?

gcc -v

Same AIX version?

oslevel -s
Avatar of AIX25

ASKER

You are good! They were same oslevel. The gcc versions were different..thank you. I updated gcc and now things are working properly.

But, I have one last Net::SSLeay module giving me issues when I run my "make test". I still ran "make install" after my test failed, not sure if that was a good idea. Please see below:

Net-SSLeay-1.55> /opt/freeware/bin/perl Makefile.PL
*** Found OpenSSL-0.9.8y installed in /usr
*** Be sure to use the same compiler and options to compile your OpenSSL, perl,
    and Net::SSLeay. Mixing and matching compilers is not supported.
Do you want to run external tests?
These tests *will* *fail* if you do not have network connectivity. [n] y
Checking if your kit is complete...
Looks good
Writing Makefile for Net::SSLeay
Writing MYMETA.yml and MYMETA.json

/Net-SSLeay-1.55> make
cp lib/Net/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_httpx.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_httpx.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
cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod
cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm
        /opt/freeware/bin/perl "-Iinc" -e 'use ExtUtils::Mksymlists;  Mksymlists("NAME" => "Net::SSLeay", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" => []);'
        /opt/freeware/bin/perl "-Iinc" /opt/freeware/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /opt/freeware/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
        gcc -maix32 -c  -I/usr/include  -D_THREAD_SAFE -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/opt/freeware/include -D_LARGE_FILES -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -fno-strict-aliasing -pipe -D_LARGE_FILES -O2 -g    -DVERSION=\"1.55\"  -DXS_VERSION=\"1.55\"  "-I/opt/freeware/lib/perl5/5.8.8/ppc-thread-multi/CORE"   SSLeay.c
Running Mkbootstrap for Net::SSLeay ()
        chmod 644 SSLeay.bs
        rm -f blib/arch/auto/Net/SSLeay/SSLeay.so
        gcc -maix32  -Wl,-bhalt:4 -Wl,-bM:SRE -Wl,-bI:/opt/freeware/lib/perl5/5.8.8/ppc-thread-multi/CORE/perl.exp -Wl,-bE:SSLeay.exp -Wl,-bnoentry -lpthreads -Wl,-bhalt:4 -Wl,-bexpall -Wl,-G -Wl,-bnoentry -lpthreads -lc -L/opt/freeware/lib SSLeay.o  -o blib/arch/auto/Net/SSLeay/SSLeay.so         -L/usr -L/usr/lib -lssl -lcrypto -lz  
        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.3
lib/Net/SSLeay.pod:1: Unknown command paragraph "=encoding utf-8"
Manifying blib/man3/Net::SSLeay::Handle.3

/Net-SSLeay-1.55> make test
PERL_DL_NONLAZY=1 /opt/freeware/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*/*.t t/*/*/*.t
t/external/08_external.t ............... Use of uninitialized value in length at (eval 5) line 1.
Use of uninitialized value in split at blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/do_httpx2.al) line 1290.
t/external/08_external.t ............... 1/8 Use of uninitialized value in length at (eval 5) line 1.
t/external/08_external.t ............... 3/8 Use of uninitialized value in length at (eval 5) line 1.
t/external/08_external.t ............... 5/8 Use of uninitialized value in length at (eval 5) line 1.
t/external/08_external.t ............... ok
t/external/15_altnames.t ............... ok
t/handle/external/10_destroy.t ......... ok
t/handle/external/50_external.t ........ ok
t/handle/local/05_use.t ................ ok
t/local/01_pod.t ....................... skipped: Test::Pod 1.00 required for testing POD
t/local/02_pod_coverage.t .............. skipped: Test::Pod::Coverage 1.00 required for testing POD coverage
t/local/03_use.t ....................... ok
t/local/04_basic.t ..................... 1/6 # Version info:
# Testing Net::SSLeay 1.55, Perl 5.008008, /opt/freeware/bin/perl
# OpenSSL version:  'OpenSSL 0.9.8x 10 May 2012'
# OpenSSL platform: 'platform: aix-xlc_r'
t/local/04_basic.t ..................... ok
t/local/05_passwd_cb.t ................. ok
t/local/06_tcpecho.t ................... ok
t/local/07_sslecho.t ................... 1/78
#   Failed test 'set_cert_and_key: private key `t/data/key.pem' () 18415808: 1 - error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library
# private key `t/data/key.pem' () 18415808: 2 - error:25070067:DSO support routines:DSO_load:could not load the shared library
# '
#   at t/local/07_sslecho.t line 63.
# Looks like you failed 1 test of 78.
t/local/07_sslecho.t ................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/78 subtests
t/local/08_pipe.t ...................... ok
t/local/15_bio.t ....................... ok
t/local/20_autoload.t .................. ok
t/local/21_constants.t ................. ok
t/local/30_error.t ..................... skipped: Requires Test::Exception, Test::Warn and Test::NoWarnings
t/local/31_rsa_generate_key.t .......... ok
t/local/32_x509_get_cert_info.t ........ ok
t/local/33_x509_create_cert.t .......... ok
t/local/34_x509_crl.t .................. ok
t/local/35_ephemeral.t ................. ok
t/local/36_verify.t .................... ok
t/local/37_asn1_time.t ................. ok
t/local/38_priv-key.t .................. ok
t/local/39_pkcs12.t .................... ok
t/local/40_npn_support.t ............... skipped: openssl 1.0.1 required
t/local/50_digest.t .................... ok
t/local/61_threads-cb-crash.t .......... ok
t/local/62_threads-ctx_new-deadlock.t .. ok
t/local/kwalitee.t ..................... skipped: Test::Kwalitee not installed; skipping

Test Summary Report
-------------------
t/local/07_sslecho.t                 (Wstat: 256 Tests: 78 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=31, Tests=2697, 31 wallclock secs ( 0.76 usr  0.10 sys + 16.14 cusr  1.20 csys = 18.20 CPU)
Result: FAIL
Failed 1/31 test programs. 1/2697 subtests failed.
make: 1254-004 The error code from the last command is 255.

Stop.

/Net-SSLeay-1.55> make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/SSLeay.bs
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/SSLeay.so
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/Net/SSLeay.pm
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/Net/SSLeay.pod
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/Net/SSLeay/Handle.pm
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/autosplit.ix
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/debug_read.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/do_https.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/do_https2.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/do_https3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/do_https4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/do_httpx2.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/do_httpx3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/do_httpx4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/dump_peer_certificate.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/get_http.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/get_http3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/get_http4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/get_https.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/get_https3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/get_https4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/get_httpx.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/get_httpx3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/get_httpx4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/head_http.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/head_http3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/head_http4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/head_https.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/head_https3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/head_https4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/head_httpx.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/head_httpx3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/head_httpx4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/http_cat.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/https_cat.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/httpx_cat.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/initialize.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/make_form.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/make_headers.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/new_x_ctx.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/open_proxy_tcp_connection.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/open_tcp_connection.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/post_http.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/post_http3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/post_http4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/post_https.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/post_https3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/post_https4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/post_httpx.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/post_httpx3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/post_httpx4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/put_http.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/put_http3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/put_http4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/put_https.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/put_https3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/put_https4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/put_httpx.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/put_httpx3.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/put_httpx4.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/randomize.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/set_cert_and_key.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/set_proxy.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/set_server_cert_and_key.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/ssl_read_CRLF.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/ssl_read_all.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/ssl_read_until.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/ssl_write_CRLF.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/ssl_write_all.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/sslcat.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/tcp_read_CRLF.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/tcp_read_all.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/tcp_read_until.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/tcp_write_CRLF.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/tcp_write_all.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/tcpcat.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/tcpxcat.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/want_X509_lookup.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/want_nothing.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/want_read.al
Installing /opt/freeware/lib/perl5/site_perl/5.8.8/ppc-thread-multi/auto/Net/SSLeay/want_write.al
Installing /opt/freeware/man/man3/Net::SSLeay.3
Installing /opt/freeware/man/man3/Net::SSLeay::Handle.3
Appending installation info to /opt/freeware/lib/perl5/5.8.8/ppc-thread-multi/perllocal.pod
Net-SSLeay-1.55>
1) You can safely ignore those "Use of uninitialized value" messages. They're just warnings.

2) The "skipped" messages are due to some optional modules not being installed.

3) The "Failed" message is most probably due to your OpenSSL version.  Could it be that you're using OpenSSL as shipped with the base OS? If so, better see if you can live with the present situation. Installing the RPM version of OpenSSL might/will cause problems with OpenSSH.

4) "Dubious": No idea. Really dubious. Probably a follow-up to the previous SSL issue.

"make install" will install all successfully compiled binaries plus all the stuff which only has to be copied (doesn't need compilation).
Since there are no errors during "make install" you can safely assume that everything is now in its right pláce. Some pieces are lacking optional extensions, and something related to SSL certificate/key processing might not fully work as expected.
Avatar of AIX25

ASKER

Made it to my prod box for installs, and it fails to install to cpan shell like your environment. Appreicate your help and will complete the prod install manually. Thank you!