List Info

Thread: P4Perl Install on Solaris




P4Perl Install on Solaris
user name
2006-09-21 13:15:34
Hi Todd,

On Monday 18 September 2006 15:40, Cooper, Todd wrote:
> Anyone get Perforce Perl working on Solaris?

Yes. There are a few folks using it on Solaris I believe.


> It gives me the same error reported with the stdcc++
library not
> loading.
>
>
>
> Where is the stdc++ library?  I know how to get
LD_LIBRARY_PATH , but
> why is it looking for that library?

It's normally part of your gcc installation - but you might
want to find it.

	find / -name libstdc++.so.\* >/dev/null

should do the trick (though it may take a while). You'll
also want to make 
sure that the build process links P4.so using 'g++' or
'c++'  rather than 
'gcc' or 'cc'. 

If it's wrong, the right solution is to fix the
hints/solaris.pl file, the 
expedient solution is to copy and paste the command line and
run it manually. 

Let me know how you get on.

Tony

PS. I'm on vacation shortly and won't have access to my
email until Tuesday. 
Hopefully this will get you past the sticking point though.
_______________________________________________
p4perl mailing list
p4perlperforce.com

http://maillist.perforce.com/mailman/listinfo/p4perl
P4Perl Install on Solaris
user name
2006-09-21 13:22:03
Also, from the notes in the support call, you'll need to
use a build of the 
Perforce API that was compiled with gcc 2.x; the gcc 3.x
builds won't work in 
your environment. Try the API build at:

http://filehost.perforce.com/perforce/r0
5.2/bin.solaris26sparc/p4api.tar

Tony

On Thursday 21 September 2006 14:15, Tony Smith wrote:
> Hi Todd,
>
> On Monday 18 September 2006 15:40, Cooper, Todd wrote:
> > Anyone get Perforce Perl working on Solaris?
>
> Yes. There are a few folks using it on Solaris I
believe.
>
> > It gives me the same error reported with the
stdcc++ library not
> > loading.
> >
> >
> >
> > Where is the stdc++ library?  I know how to get
LD_LIBRARY_PATH , but
> > why is it looking for that library?
>
> It's normally part of your gcc installation - but you
might want to find
> it.
>
> 	find / -name libstdc++.so.\* >/dev/null
>
> should do the trick (though it may take a while).
You'll also want to make
> sure that the build process links P4.so using 'g++'
or 'c++'  rather than
> 'gcc' or 'cc'.
>
> If it's wrong, the right solution is to fix the
hints/solaris.pl file, the
> expedient solution is to copy and paste the command
line and run it
> manually.
>
> Let me know how you get on.
>
> Tony
>
> PS. I'm on vacation shortly and won't have access to
my email until
> Tuesday. Hopefully this will get you past the sticking
point though.
_______________________________________________
p4perl mailing list
p4perlperforce.com

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

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