Running /scripts/upcp and PathTools-3.00 gives error

brainx

Member
Jul 9, 2003
23
0
151
Today on several servers we got the following output from /scripts/upcp which you know is running daily by cron.It seems that there is a problem with the script because it first deletes the file then tries to compile.My question is, is there anything we should do on our site to solve thisand what? OR should this be solved by cPanel.
Thanks

Checksum for /home/.cpan/sources/authors/id/K/KW/KWILLIAMS/PathTools-3.00.tar.gz ok
Scanning cache /home/.cpan/build for sizes
Deleting from cache: /home/.cpan/build/GD-2.16 (10.3>10.0 MB)
PathTools-3.00/
PathTools-3.00/Build.PL
PathTools-3.00/Changes
PathTools-3.00/Cwd.pm
PathTools-3.00/Cwd.xs
PathTools-3.00/INSTALL
PathTools-3.00/lib/
PathTools-3.00/lib/File/
PathTools-3.00/lib/File/Spec/
PathTools-3.00/lib/File/Spec/Cygwin.pm
PathTools-3.00/lib/File/Spec/Epoc.pm
PathTools-3.00/lib/File/Spec/Functions.pm
PathTools-3.00/lib/File/Spec/Mac.pm
PathTools-3.00/lib/File/Spec/OS2.pm
PathTools-3.00/lib/File/Spec/Unix.pm
PathTools-3.00/lib/File/Spec/VMS.pm
PathTools-3.00/lib/File/Spec/Win32.pm
PathTools-3.00/lib/File/Spec.pm
PathTools-3.00/Makefile.PL
PathTools-3.00/MANIFEST
PathTools-3.00/META.yml
PathTools-3.00/SIGNATURE
PathTools-3.00/t/
PathTools-3.00/t/crossplatform.t
PathTools-3.00/t/cwd.t
PathTools-3.00/t/Functions.t
PathTools-3.00/t/rel2abs2rel.t
PathTools-3.00/t/Spec.t
PathTools-3.00/t/taint.t
PathTools-3.00/t/win32.t
Removing previously used /home/.cpan/build/PathTools-3.00

CPAN.pm: Going to build K/KW/KWILLIAMS/PathTools-3.00.tar.gz

Checking if your kit is complete...
Looks good
Warning: Guessing NAME [PathTools] from current directory name.
Writing Makefile for PathTools
cp lib/File/Spec/OS2.pm blib/lib/File/Spec/OS2.pm
cp lib/File/Spec/Mac.pm blib/lib/File/Spec/Mac.pm
cp lib/File/Spec/VMS.pm blib/lib/File/Spec/VMS.pm
cp lib/File/Spec/Cygwin.pm blib/lib/File/Spec/Cygwin.pm
cp Cwd.pm blib/lib/Cwd.pm
cp lib/File/Spec/Functions.pm blib/lib/File/Spec/Functions.pm
cp lib/File/Spec/Epoc.pm blib/lib/File/Spec/Epoc.pm
cp lib/File/Spec.pm blib/lib/File/Spec.pm
cp lib/File/Spec/Unix.pm blib/lib/File/Spec/Unix.pm
cp lib/File/Spec/Win32.pm blib/lib/File/Spec/Win32.pm
Running Mkbootstrap for PathTools ()
chmod 644 PathTools.bs
rm -f blib/arch/auto/PathTools/PathTools.so
LD_RUN_PATH="" gcc -shared -L/usr/local/lib PathTools.o -o blib/arch/auto/PathTools/PathTools.so

gcc: PathTools.o: No such file or directory
gcc: no input files
make: *** [blib/arch/auto/PathTools/PathTools.so] Error 1
/usr/bin/make -- NOT OK
Running make install
make had returned bad status, install seems impossible
 

brainx

Member
Jul 9, 2003
23
0
151
Any Ideas yet?
Thanks
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
I get the same on all my servers. Here's what I did:
Code:
cd /home/.cpan/build/PathTools-3.00
/scripts/perlinstaller Module::Build
perl Build.PL 
./Build 
./Build test
./Build install
Watch the output as it may advise you to delete some old files, which I also did (c&p the rm commands)
 

DDT

Active Member
Dec 10, 2003
42
0
156
What my "guru" of Perl says...
actual problem is in PathTools-3.00 perl module. In it's Makefile, to be more exact.
LD_RUN_PATH="" cc -shared -L/usr/local/lib PathTools.o -o blib/arch/auto/PathTools/PathTools.so
PathTools.o as far as i remember must be PathTools.c. It's a kind of mistype
(He is not always right...but more times than not)

One way or the other I will just live with it until cPanel (in their usual slow time frame) decides to address the problem. It's probably an upgrade to something I wasn't using anyway and with no disrespect to chirpy I hate deleting files on my own when it's a cPanel or Perl problem and I there was no dramatic announcements of security or benefits having this would provide...

Maybe cPanel will get to it after the holiday...(not Labor day--Thanksgiving :eek: )
 

brainx

Member
Jul 9, 2003
23
0
151
Well worked great for my servers.
Thanks


chirpy said:
I get the same on all my servers. Here's what I did:
Code:
cd /home/.cpan/build/PathTools-3.00
/scripts/perlinstaller Module::Build
perl Build.PL 
./Build 
./Build test
./Build install
Watch the output as it may advise you to delete some old files, which I also did (c&p the rm commands)
 

DDT

Active Member
Dec 10, 2003
42
0
156
I'm glad it worked great for you guys.
I tried your patch and it installed it just fine...
BUT
Last night for some reason update uninstalled it and then tried to re-install it and "error-ed out" with far more errors than I ever had in the first place.
I guess I'll just keep hoping everything works, nothing in Perl got broken and cPanel will sort this out. :rolleyes:
 

DDT

Active Member
Dec 10, 2003
42
0
156
Wow...forgive me for my Thanksgiving analogy.
cPanel fixed it and it installed itself last night.
Only 4 or 5 days...good work.
Thanks
 

nemix

Registered
Jul 18, 2005
1
0
151
Having lots of issues with my server and it queuing mail, looks like its a cpan perl issue, and i tried to follow steps here in the forums but get these errors.

Code:
[email protected] [/home/.cpan/build/PathTools-3.09]# /scripts/perlinstaller Module::Build
Can't locate File/Spec.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /scripts /usr/local/cpanel/whostmgr/bin) at /scripts/realperlinstaller line 14.
BEGIN failed--compilation aborted at /scripts/realperlinstaller line 14.
I also received the following erros executing other possible fixes.

Code:
perl -MCPAN -e 'install HTML::Tagset;'
Can't locate Cwd.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /usr/lib/perl5/5.8.0/CPAN.pm line 12.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/CPAN.pm line 12.
Compilation failed in require.
BEGIN failed--compilation aborted.
[email protected] [/]# /scripts/installspam
Can't locate Cwd.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . /scripts /usr/local/cpanel/whostmgr/bin) at /scripts/cPanelPerl.pm line 11.
BEGIN failed--compilation aborted at /scripts/cPanelPerl.pm line 11.
Compilation failed in require at /scripts/realperlinstaller line 12.
BEGIN failed--compilation aborted at /scripts/realperlinstaller line 12.
What should I try next?