[p4perl] P4Perl Install on Solaris

Adamo, Thomas tadamo at buffalo.edu
Fri Feb 25 12:58:12 PST 2005


I'm having difficulty installing P4Perl and I was wondering if someone would be able to help me out.

Here is what I have:
SunOS 5.9
gcc version 3.4.2
Latest release of P4Perl
Perl 5.6.1
Perl API 04.2 for Solaris8


Here are my results:

> make
cd lib && make 
make[1]: Entering directory `/home/tom/build/P4-3.4831/lib'
make[1]: Nothing to be done for `makemakerdflt'.
make[1]: Leaving directory `/home/tom/build/P4-3.4831/lib'
make[1]: Entering directory `/home/tom/build/P4-3.4831/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tom/build/P4-3.4831/lib'
c++ -c -I/home/tom/perforce -Ilib -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"3.4831\" -DXS_VERSION=\"3.4831\" -KPIC -I/usr/local/perl5.6.1/lib/5.6.1/sun4-solaris/CORE -Dsolaris -DOS_SOLARIS29 -Dconst_char='const char' -DP4API_VERSION=513026 P4.c
c++: unrecognized option `-KPIC'
Running Mkbootstrap for P4 ()
chmod 644 P4.bs
rm -f blib/arch/auto/P4/P4.so
LD_RUN_PATH="/home/tom/perforce:/usr/lib" c++  -G -L/usr/local/lib -L/util/lang6.0/SUNWspro/WS6/lib P4.o  -o blib/arch/auto/P4/P4.so lib/libp4.a  -L/home/tom/perforce -lclient -lrpc -lsupp -lsocket  
chmod 755 blib/arch/auto/P4/P4.so
cp P4.bs blib/arch/auto/P4/P4.bs
chmod 644 blib/arch/auto/P4/P4.bs
Manifying blib/man3/P4.3
> make test
cd lib && make 
make[1]: Entering directory `/home/tom/.cpan/build/P4-3.4831/lib'
make[1]: Nothing to be done for `makemakerdflt'.
make[1]: Leaving directory `/home/tom/.cpan/build/P4-3.4831/lib'
make[1]: Entering directory `/home/tom/.cpan/build/P4-3.4831/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/tom/.cpan/build/P4-3.4831/lib'
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/perl5.6.1/lib/5.6.1/sun4-solaris -I/usr/local/perl5.6.1/lib/5.6.1 test.pl
1..7
Can't load 'blib/arch/auto/P4/P4.so' for module P4: ld.so.1: /usr/local/perl5.6.1/bin/perl: fatal: libstdc++.so.6: open failed: No such file or directory at /usr/local/perl5.6.1/lib/5.6.1/sun4-solaris/DynaLoader.pm line 206.
 at test.pl line 34
Compilation failed in require at test.pl line 34.
BEGIN failed--compilation aborted at test.pl line 34.
make: *** [test_dynamic] Error 255
I would appreciate any help with this, thanks!




More information about the p4perl mailing list