List Info

Thread: P4Perl Install on Solaris




P4Perl Install on Solaris
user name
2006-09-26 13:59:07
Hi Todd,

On Monday 25 September 2006 17:32, Cooper, Todd wrote:
> I tried the API build in that given directory.
>
> I set the LD_LIBRARY_PATH to
/lib:/usr/lib:/usr/local/lib and it dins
> the libstdc++.so library.
>
> Now I get the error
>
> Can't load 'blib/arch/auto/P4/P4.so' for module P4:
ld.so.1:
> /usr/local/bin/perl: fatal: relocation error: file
> blib/arch/auto/P4/P4.so: symbol
Help__10ClientUserPCPCc: referenced
> symbol not found at
> /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm
line 206.
>  at test.pl line 34
> Compilation failed in require at test.pl line 34

OK, that's a good sign - we're really very close now. 

We just need to adjust the build environment a little - it's
currently expects 
to use gcc 3.x on Solaris 9. If you edit the
hints/solaris.pl file in the 
P4Perl distribution, and change line 42 from this:

    $self-> .= " -DOS_SOLARIS2$1
-Dconst_char='const char'";

to this:

    $self-> .= " -DOS_SOLARIS2$1
-Dconst_char='char'";

Then re-run the build process from the beginning:

	perl Makefile.PL
	make
	make test

and I think that should do the trick.

> I understand that you might not have access to email
until tomorrow.

Thanks for your patience.

Tony
_______________________________________________
p4perl mailing list
p4perlperforce.com

http://maillist.perforce.com/mailman/listinfo/p4perl
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )