Show Navigation
Conversation
Notices
-
How would I install the attached perl module? https://nu.federati.net/attachment/219515
-
way too long.
Name : P4::Journal.pm
I tried it in a P4 directory. The permissions in that directory look good.
-
ok, I need a makefile
-
I have discovered there is a README!
-
I haven't resolved this. I am waiting for the customer to confirm the actual status of their issue. It's a LONG story.
-
I thought glibc would be enough, but I may need gcc
-
had thought I was past this yesterday, ugh:
root@dwhitfield-CentOS7-p4d-withgui:~/p4perl# cat /opt/perforce/bin/notfromstartup.ckp.322 | /opt/perforce/bin/encryptckp.pl --insensive new.ckp
Can't locate P4/Journal.pm in @INC (@INC contains: /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/perforce/bin/encryptckp.pl line 111.
BEGIN failed--compilation aborted at /opt/perforce/bin/encryptckp.pl line 111.
-
hmm, not sure what my first error message was, but I had a different yesterday at some point for sure.
-
looks like I need to make a makefile
-
Absolutely zero idea what is going on here:
root@dwhitfield-CentOS7-p4d-withgui:~/p4perl# ls
admin helloworld.p4pm Journal.pm.zip Makefile.PL p4perl-2018.2.1756686 p4perl.tgz perl5 Subs.pm
root@dwhitfield-CentOS7-p4d-withgui:~/p4perl# vi Makefile.PL
root@dwhitfield-CentOS7-p4d-withgui:~/p4perl# perl Makefile.PL
WARNING: Setting VERSION via file 'Subs.pm' failed
at /usr/share/perl5/vendor_perl/ExtUtils/MakeMaker.pm line 619.
If you have a C compiler you can use the optimized (C) implementations
of some heavily used functions. This makes P4::Journal much faster to
use. If you don't have a C compiler you can use the slower, pure-perl
versions.
Do you have a C compiler (y/n)?: y
Writing Makefile for P4::Journal
Verifying external libraries...
Enter the path to the Perforce API: nah
Enter the path to the Perforce API: ok
ERROR from evaluation of /root/p4perl/p4perl-2018.2.1756686/Makefile.PL: Aborting - no API directory provided at ./Makefile.PL line 178, <STDIN> line 2.
root@dwhitfield-CentOS7-p4d-withgui:~/p4perl# vi Makefile.PL
You have new mail in /var/spool/mail/root
root@dwhitfield-CentOS7-p4d-withgui:~/p4perl# cat Makefile.PL
use ExtUtils::MakeMaker;
my %options = (
'NAME' => 'P4::Journal::Subs',
'VERSION_FROM' => 'Subs.pm', # finds $VERSION
);
WriteMakefile( %options );
root@dwhitfield-CentOS7-p4d-withgui:~/p4perl# cat Makefile.PL |
> wc -l
8
-
@musicman Probably irrelevant, but would extracting the zip and tgz source archives make any difference?
-
@lnxw48a1 subs.pm is what should be getting made but...maybe it's looking in the zip. It's a good thought
-
it wasn't looking in the zip, it was looking in p4perl-2018.2.1756686 for a reason only God knows. I made a new Subs dir and moved the .pm and the makefile in there and it's installed. Now time to see if it's properly installed
-
I think it installed "properly", but now I have a whole bunch of these:
Use of uninitialized value $raw in split at /opt/perforce/bin/encryptckp.pl line 179, <FH> line 9265.
I can't scroll back far enough to see when they started, but now it seems to be doing nothing. They are all line 179, which I guess is good
-
it's using up an entire processor. Whether than is good or bad I don't know. I guess I can run strace on it and see if I can make out what's going on
-
it appears to be working:
read(0, " @db.integed@ @//Eagle.Core/mast"..., 8192) = 8192
write(3, "ja/ibTja_1_67_0/bThb/TSS/TXV/bTf"..., 8192) = 8192
read(0, "Party/boost_1_67_0/libs/icl/doc/"..., 8192) = 8192
write(3, "a/TSS/nPibTti_TSS_ibTHH_bnPibTms"..., 8192) = 8192
-
oh, the numbers are going up again...not line 179, the second line. Maybe that's the line in the checkpoint? we're up to 2435091 at this point...out of, who knows