[p4] P4Perl Usage pattern
david.weintraub at bofasecurities.com
Fri Jun 23 13:49:21 PDT 2006
Well, installing it on Windows isn't a problem since I'm an admin on my
Windows machine. I was also able to install it under Cygwin too. Just
did a "perl Makefile.pl; make install" and everything worked nice and
The problem is the Linux and Solaris servers we use. We've got a dozen
of them, and there are two different Linux kernels. Normally, I install
needed Perl modules under /home/merbld/etc/perl, then I put "use lib
qw(/home/merbld/etc/perl);" in my programs and everything is fine. With
the C linked code, I can't do that because I could be on a Solaris, or
Linux machine, and some of the Linux machines are Alphas and some of the
Solaris machines are X86.
Compiling on Solaris didn't work because we don't use GCC, but an older
Solaris compiler. I could download GCC from http://freesunware.com, and
attempt to install it in a non-default directory, then attempt to
compile and install the P4/Perl API in a non-standard directory (and
making sure that the four different binary code in the Perl modules
didn't interfere with each other). And, I have to do this with no help
from the IT department.
It just got seemed easier to hack together my own P4/Perl interface
module that didn't contain binary code, and use that. It's not as good
as the P4/Perl API, but it works.
From: Ken.Williams at thomson.com [mailto:Ken.Williams at thomson.com]
Sent: Friday, June 23, 2006 4:30 PM
To: Weintraub, David; biswajitind at yahoo.com; perforce-user at perforce.com
Subject: RE: [p4] P4Perl Usage pattern
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Weintraub,
> Sent: Friday, June 23, 2006 8:10 AM
> To: biswajitind at yahoo.com; perforce-user at perforce.com
> Subject: Re: [p4] P4Perl Usage pattern
> I don't use the P4Perl API, but it's not because I don't want to.
> Instead, I cannot compile and install the code on my server machine
> since I really don't have permission to touch my server. I've asked my
> IT group to install P4Perl, but they haven't been able to.
Shouldn't you be able to just compile & install P4Perl on *any* machine
that can access the server? I thought it just interfaced with the C
code that speaks the p4 protocol, so to the p4d server process you
appear to be just another client connecting.
More information about the perforce-user