Hi David,
> I am running into a problem with installing p4 perl.
Following are the
> details regarding my environment:-
>
> Linux build-dns 2.4.24-aslan-001 #1 SMP Tue Mar 23
22:13:28 EST 2004
> i686 unknown
> gcc (GCC) 3.2.1
> Server version: P4D/LINUX26X86/2005.2/93627
(2006/02/14)
> p4perl: P4-3.5313
> p4api.tar from
ftp://ftp.perforce.com/pub/perforce/r05.2/bin.linux24x86
>
> The "perl Makefile.PL" and
"make" steps went well. But then things
> fell apart during the "make test" stage:-
>
> # make test
> make[1]: Entering directory
`/usr/local/src/P4-3.5313/lib'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
`/usr/local/src/P4-3.5313/lib'
> PERL_DL_NONLAZY=1 /usr/bin/perl
"-Iblib/lib" "-Iblib/arch" test.pl
> 1..7
> Can't load 'blib/arch/auto/P4/P4.so' for module P4:
> blib/arch/auto/P4/P4.so: undefined symbol: __throw at
> /usr/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
> at test.pl line 34
> Compilation failed in require at test.pl line 34.
> BEGIN failed--compilation aborted at test.pl line 34.
> not ok 1
> make: *** [test_dynamic] Error 255
>
> Hmm... could it be because I am using the wrong version
of p4api? The
> client host where I am trying to install p4perl is
running Linux
> kernel 2.4. But the Perforce server host I am using is
running kernel
> 2.6. Should I be using p4api from bin.linux26x86
instead? Any
> suggestion or advice is greatly appreciated.
Yes, you should be using a linux26x86 build, but not for the
reason you
suggest. The linux24x86 and linux26x86 labels are not ideal,
but we haven't
found any ideal names to help with the plethora of Linux
variations.
Essentially, the linux24x86 builds are built with gcc 2.95
and the linux26x86
builds are built with gcc 3.x, and that's why you need a
linux26x86 build.
Tony
_______________________________________________
p4perl mailing list
p4perl perforce.com
http://maillist.perforce.com/mailman/listinfo/p4perl
|