PathTools-3.02 gives error in upcp (File::Spec)

Snover

Active Member
Sep 29, 2003
30
0
156
This is not the same error as http://forums.cpanel.net/showthread.php?t=29032, but happens to be with the same perl module.

A few days ago, upcp started failing on File::Spec.

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

Checking if your kit is complete...
Looks good
Writing Makefile for Cwd
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/ppport.h blib/lib/ppport.h
[b]Cwd object version 3.01 does not match bootstrap parameter 3.02 at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 249.[/b]
Compilation failed in require at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 53.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 53.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [pm_to_blib] Error 2
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
DynaLoader is up-to-date on the system. I tried installing the latest ExtUtils::MakeMaker but a bunch of tests failed. (I have 6.03; latest is 6.25) Is there a specific order that I would need to install the various ExtUtils in? (Would that really solve the problem?) Has anyone else had this problem?
I appreciate any help you can give me.

Thanks!
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
Go on, have a guess
I would imagine that you're allowing OS installation of perl updates, rather than just allowing cPanel to doo it through cpan. That's how modules usually get out of step.

I'd suggest re-installing PathTools-3.01.tar.gz from source[*]:
http://www.cpan.org/modules/by-module/Cwd/KWILLIAMS/PathTools-3.01.tar.gz

Then try upgrading it again through cpan:
/scripts/perlinstaller --force PathTools

(or manually do 3.02 as you did with 3.01).

[*]The first thing you really should do is make sure that you don't have any old perl installations kicking around and remove them. This can be a bit tricky and should be done carefully. Once removed, you have to run the following script until it runs clean:

/scripts/rpmup

IF you decide to do this, make sure that your OS is configured to skip perl* updates (in up2date or yum depending on which you use).
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
Go on, have a guess
I don't think doing that will work. Cwd is part of PathTools and installing it will simply start installing PathTools which the OP has shown fails because it builds Spec before Cwd. Hence the suggestion to install the older PathTools manually first to bring the modules in line before upgrading to the latest.
 

jamesbond

Well-Known Member
Oct 9, 2002
738
1
168
I have a similar issue:

Code:
  /usr/bin/make  -- OK
Running make install
Cwd object version 3.01 does not match bootstrap parameter 3.02 at /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 225.
Compilation failed in require at /usr/lib/perl5/5.6.1/ExtUtils/Install.pm line 54.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.1/ExtUtils/Install.pm line 54.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [pure_perl_install] Error 2
  /usr/bin/make install UNINST=1 -- NOT OK
This started occuring 7 days ago, on a RH 7.3 server with 'Allow perl updates from rpm based linux vendors' unchecked.
 
Last edited:

Snover

Active Member
Sep 29, 2003
30
0
156
Good to see I'm not the only one experiencing this problem.
I am also not allowing perl updates from RPM.
I only have Perl 5.8.0 installed on the system.

I manually made, tested, and installed PathTools-3.01 from source without a problem. Attempting to make PathTools-3.02 from source gives the same failure.

/scripts/perlinstaller --force PathTools does not work because PathTools is actually File::Spec.
/scripts/perlinstaller --force File::Spec fails with same error as mentioned previously.

The server is RedHat9 running 9.9.9-C13 (a bit outdated, but stable).
 
Last edited:

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
Go on, have a guess
Hi,

What do you get from the output of:

locate Cwd | xargs ls -la

This might shed some light on where the inconsistency is.
 

jamesbond

Well-Known Member
Oct 9, 2002
738
1
168
chirpy said:
Hi,

What do you get from the output of:

locate Cwd | xargs ls -la

This might shed some light on where the inconsistency is.
Here is the output on my server :

[~]# locate Cwd | xargs ls -la
-rw-r--r-- 1 root root 0 Jan 17 20:45 /home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd/Cwd.bs
-rwxr-xr-x 1 root root 10631 Jan 17 20:45 /home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd/Cwd.so
-rw-r--r-- 1 root root 0 Aug 18 2003 /home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd/.exists
-rw-r--r-- 1 root root 0 Aug 18 2003 /home/.cpan/build/PathTools-3.02/blib/lib/auto/Cwd/.exists
-r--r--r-- 1 root root 17641 Jan 10 01:31 /home/.cpan/build/PathTools-3.02/blib/lib/Cwd.pm
-rw-r--r-- 1 root root 8759 Jan 17 20:45 /home/.cpan/build/PathTools-3.02/blib/man3/Cwd.3pm
-rw-r--r-- 1 root root 0 Jan 17 20:45 /home/.cpan/build/PathTools-3.02/Cwd.bs
-rw-r--r-- 1 root root 11527 Jan 17 20:45 /home/.cpan/build/PathTools-3.02/Cwd.c
-rw-r--r-- 1 root root 5396 Jan 17 20:45 /home/.cpan/build/PathTools-3.02/Cwd.o
-rw-r--r-- 1 501 proftpd 17641 Jan 10 01:31 /home/.cpan/build/PathTools-3.02/Cwd.pm
-rw-r--r-- 1 501 proftpd 10397 Jan 10 01:31 /home/.cpan/build/PathTools-3.02/Cwd.xs
-rw-r--r-- 1 root root 16069 Jul 24 20:46 /home/.cpan/sources/authors/id/K/KW/KWILLIAMS/Cwd-2.20.tar.gz
-r--r--r-- 1 root root 0 Jul 24 20:46 /usr/lib/perl5/5.6.1/i386-linux/auto/Cwd/Cwd.bs
-r-xr-xr-x 1 root root 10857 Sep 7 20:45 /usr/lib/perl5/5.6.1/i386-linux/auto/Cwd/Cwd.so
-rw-r--r-- 1 root root 294 Sep 7 20:45 /usr/lib/perl5/5.6.1/i386-linux/auto/Cwd/.packlist
-r--r--r-- 1 root root 16721 Sep 7 03:37 /usr/lib/perl5/5.6.1/i386-linux/Cwd.pm
-r-xr-xr-x 1 root root 11189 Dec 14 19:47 /usr/local/cpanel/perl/Cwd/Cwd.so
-rw-r--r-- 1 root root 6766 Nov 7 2002 /usr/man/man3/Cwd.3
-r--r--r-- 1 root root 8253 Sep 7 20:45 /usr/share/man/man3/Cwd.3pm
-rw-r--r-- 1 root root 2923 Aug 18 2003 /usr/share/man/man3/Cwd.3pm.gz
-r--r--r-- 3 root root 2890 Feb 28 2002 /usr/share/man/man3/GetCwd.3.gz
-r--r--r-- 3 root root 2890 Feb 28 2002 /usr/share/man/man3/Tcl_GetCwd.3.gz

/home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd:
total 20
drwxr-xr-x 2 root root 4096 Jan 17 20:45 .
drwxr-xr-x 3 root root 4096 Jan 17 20:45 ..
-rw-r--r-- 1 root root 0 Jan 17 20:45 Cwd.bs
-rwxr-xr-x 1 root root 10631 Jan 17 20:45 Cwd.so
-rw-r--r-- 1 root root 0 Aug 18 2003 .exists

/home/.cpan/build/PathTools-3.02/blib/lib/auto/Cwd:
total 8
drwxr-xr-x 2 root root 4096 Jan 17 20:45 .
drwxr-xr-x 3 root root 4096 Jan 17 20:45 ..
-rw-r--r-- 1 root root 0 Aug 18 2003 .exists

/usr/lib/perl5/5.6.1/i386-linux/auto/Cwd:
total 24
drwxr-xr-x 2 root root 4096 Sep 7 20:45 .
drwxr-xr-x 26 root root 4096 Jul 24 20:46 ..
-r--r--r-- 1 root root 0 Jul 24 20:46 Cwd.bs
-r-xr-xr-x 1 root root 10857 Sep 7 20:45 Cwd.so
-rw-r--r-- 1 root root 294 Sep 7 20:45 .packlist

/usr/local/cpanel/perl/Cwd:
total 20
drwxr-xr-x 2 root root 4096 Dec 14 19:47 .
drwxr-xr-x 15 root root 4096 Dec 14 19:47 ..
-r-xr-xr-x 1 root root 11189 Dec 14 19:47 Cwd.so
 

jamesbond

Well-Known Member
Oct 9, 2002
738
1
168
[~]# locate Cwd.so
/home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd/Cwd.so
/usr/lib/perl5/5.6.1/i386-linux/auto/Cwd/Cwd.so
/usr/local/cpanel/perl/Cwd/Cwd.so

[~]# locate Cwd.so | xargs strings | grep 3.
3.02
3.01
3.01
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
Go on, have a guess
OK (sorry it's a bit at a time), you could now try the following (no guarantees here):

cd /usr/lib/perl5/5.6.1/i386-linux/auto/
mv Cwd Cwd.old
cp -a /home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd .
cd /usr/lib/perl5/5.6.1/i386-linux/
mv Cwd.pm Cwd.pm.old
cp -a /home/.cpan/build/PathTools-3.02/blib/lib/Cwd.pm .


The try this again:

/scripts/perlinstaller --force File::Spec
 
Last edited:

jamesbond

Well-Known Member
Oct 9, 2002
738
1
168
chirpy said:
OK (sorry it's a bit at a time), you could now try the following (no guarantees here):
Thank Chirpy, I'll try it this evening.
I hope this thread will help others who have the same issues.
 

Snover

Active Member
Sep 29, 2003
30
0
156
I get slightly different output from locate Cwd | xargs ls -la, but I don't see anything majorly wrong, and attribute most of the changes to different OS and Perl versions:
Code:
-rw-r--r--    1 root     root            0 Aug 13  2003 /home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd/.exists
-rw-r--r--    1 root     root            0 Aug 13  2003 /home/.cpan/build/PathTools-3.02/blib/lib/auto/Cwd/.exists
-r--r--r--    1 root     root        17641 Jan 10 01:31 /home/.cpan/build/PathTools-3.02/blib/lib/Cwd.pm
-rw-r--r--    1 501      proftpd     17641 Jan 10 01:31 /home/.cpan/build/PathTools-3.02/Cwd.pm
-rw-r--r--    1 501      proftpd     10397 Jan 10 01:31 /home/.cpan/build/PathTools-3.02/Cwd.xs
-rw-r--r--    1 root     root            0 Aug 13  2003 /root/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd/.exists
-rw-r--r--    1 root     root            0 Aug 13  2003 /root/.cpan/build/PathTools-3.02/blib/lib/auto/Cwd/.exists
-r--r--r--    1 root     root        17641 Jan 10 01:31 /root/.cpan/build/PathTools-3.02/blib/lib/Cwd.pm
-rw-r--r--    1 501      proftpd     17641 Jan 10 01:31 /root/.cpan/build/PathTools-3.02/Cwd.pm
-rw-r--r--    1 501      proftpd     10397 Jan 10 01:31 /root/.cpan/build/PathTools-3.02/Cwd.xs
-rw-r--r--    1 root     root            0 Jan 18 01:56 /root/PathTools-3.01/blib/arch/auto/Cwd/Cwd.bs
-rwxr-xr-x    1 root     root        84580 Jan 18 01:56 /root/PathTools-3.01/blib/arch/auto/Cwd/Cwd.so
-rw-r--r--    1 root     root            0 Aug 13  2003 /root/PathTools-3.01/blib/arch/auto/Cwd/.exists
-rw-r--r--    1 root     root            0 Aug 13  2003 /root/PathTools-3.01/blib/lib/auto/Cwd/.exists
-r--r--r--    1 root     root        16721 Sep  7 03:37 /root/PathTools-3.01/blib/lib/Cwd.pm
-rw-r--r--    1 root     root         8180 Jan 18 01:56 /root/PathTools-3.01/blib/man3/Cwd.3pm
-rw-r--r--    1 root     root            0 Jan 18 01:56 /root/PathTools-3.01/Cwd.bs
-rw-r--r--    1 root     root        11239 Jan 18 01:56 /root/PathTools-3.01/Cwd.c
-rw-r--r--    1 root     root       104060 Jan 18 01:56 /root/PathTools-3.01/Cwd.o
-rw-r--r--    1 501      proftpd     16721 Sep  7 03:37 /root/PathTools-3.01/Cwd.pm
-rw-r--r--    1 501      proftpd      9754 Sep  7 03:37 /root/PathTools-3.01/Cwd.xs
-rw-r--r--    1 root     root            0 Aug 13  2003 /root/PathTools-3.02/blib/arch/auto/Cwd/.exists
-rw-r--r--    1 root     root            0 Aug 13  2003 /root/PathTools-3.02/blib/lib/auto/Cwd/.exists
-r--r--r--    1 root     root        17641 Jan 10 01:31 /root/PathTools-3.02/blib/lib/Cwd.pm
-rw-r--r--    1 root     root        17641 Jan 10 01:31 /root/PathTools-3.02/Cwd.pm
-rw-r--r--    1 root     root        10397 Jan 10 01:31 /root/PathTools-3.02/Cwd.xs
-r--r--r--    1 root     root            0 Aug 13  2003 /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/Cwd.bs
-r-xr-xr-x    1 root     root        84580 Jan 18 01:56 /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/Cwd.so
-rw-r--r--    1 root     root         1137 Jan 18 01:57 /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/.packlist
-r--r--r--    1 root     root        16721 Sep  7 03:37 /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm
-r-xr-xr-x    1 root     root        11189 Nov 14 20:10 /usr/local/cpanel/perl/Cwd/Cwd.so
-r--r--r--    1 root     root         8180 Jan 18 01:56 /usr/share/man/man3/Cwd.3pm
-rw-r--r--    1 root     root         3177 Aug 13  2003 /usr/share/man/man3/Cwd.3pm.gz
-r--r--r--    3 root     root         2890 Feb  6  2003 /usr/share/man/man3/GetCwd.3.gz
-r--r--r--    3 root     root         2890 Feb  6  2003 /usr/share/man/man3/Tcl_GetCwd.3.gz

/home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd:
total 8
drwxr-xr-x    2 root     root         4096 Jan 18 05:16 .
drwxr-xr-x    3 root     root         4096 Jan 18 05:16 ..
-rw-r--r--    1 root     root            0 Aug 13  2003 .exists

/home/.cpan/build/PathTools-3.02/blib/lib/auto/Cwd:
total 8
drwxr-xr-x    2 root     root         4096 Jan 18 05:16 .
drwxr-xr-x    3 root     root         4096 Jan 18 05:16 ..
-rw-r--r--    1 root     root            0 Aug 13  2003 .exists

/root/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd:
total 8
drwxr-xr-x    2 root     root         4096 Jan 16 22:27 .
drwxr-xr-x    3 root     root         4096 Jan 16 22:27 ..
-rw-r--r--    1 root     root            0 Aug 13  2003 .exists

/root/.cpan/build/PathTools-3.02/blib/lib/auto/Cwd:
total 8
drwxr-xr-x    2 root     root         4096 Jan 16 22:27 .
drwxr-xr-x    3 root     root         4096 Jan 16 22:27 ..
-rw-r--r--    1 root     root            0 Aug 13  2003 .exists

/root/PathTools-3.01/blib/arch/auto/Cwd:
total 96
drwxr-xr-x    2 root     root         4096 Jan 18 01:56 .
drwxr-xr-x    3 root     root         4096 Jan 18 01:56 ..
-rw-r--r--    1 root     root            0 Jan 18 01:56 Cwd.bs
-rwxr-xr-x    1 root     root        84580 Jan 18 01:56 Cwd.so
-rw-r--r--    1 root     root            0 Aug 13  2003 .exists

/root/PathTools-3.01/blib/lib/auto/Cwd:
total 8
drwxr-xr-x    2 root     root         4096 Jan 18 01:56 .
drwxr-xr-x    3 root     root         4096 Jan 18 01:56 ..
-rw-r--r--    1 root     root            0 Aug 13  2003 .exists

/root/PathTools-3.02/blib/arch/auto/Cwd:
total 8
drwxr-xr-x    2 root     root         4096 Jan 18 01:57 .
drwxr-xr-x    3 root     root         4096 Jan 18 01:57 ..
-rw-r--r--    1 root     root            0 Aug 13  2003 .exists

/root/PathTools-3.02/blib/lib/auto/Cwd:
total 8
drwxr-xr-x    2 root     root         4096 Jan 18 01:57 .
drwxr-xr-x    3 root     root         4096 Jan 18 01:57 ..
-rw-r--r--    1 root     root            0 Aug 13  2003 .exists

/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd:
total 100
drwxr-xr-x    2 root     root         4096 Jan 18 01:56 .
drwxr-xr-x   37 root     root         4096 Dec 14 00:01 ..
-r--r--r--    1 root     root            0 Aug 13  2003 Cwd.bs
-r-xr-xr-x    1 root     root        84580 Jan 18 01:56 Cwd.so
-rw-r--r--    1 root     root         1137 Jan 18 01:57 .packlist

/usr/local/cpanel/perl/Cwd:
total 20
drwxr-xr-x    2 root     root         4096 Nov 14 20:10 .
drwxr-xr-x   15 root     root         4096 Dec 13 18:00 ..
-r-xr-xr-x    1 root     root        11189 Nov 14 20:10 Cwd.so
I do, however, get somewhat significantly different output from strings.

Code:
GLIBC_2.1.3
3.01
GLIBC_2.1.3
3.01
GLIBC_2.1.3
3.01
As you can see, unlike jamesbond, there is no 3.02 listed when I run locate Cwd.so | xargs strings | grep 3.
I will try your suggestions, chripy. (But again, the name of the module is File::Spec, not PathTools. :))
 

mctDarren

Well-Known Member
Jan 6, 2004
666
4
168
New Jersey
cPanel Access Level
Root Administrator
Running into the same problem here - my first cpan install problem since migrating to cpanel. (Yay) Getting same result - make fails. Saw on the net some successfully edited the makefile by removing -I$(INST_LIB) reference under MOD INSTALL's definition but that didn't help me. Perhaps that's only for perl 5.6.x? 5.8 here.

Did Chirpy's file moves help anyone?
 

JP-HOST

Well-Known Member
Sep 23, 2004
59
0
156
Roscoe, IL, USA
I get this error:

Code:
Cwd object version 3.01 does not match bootstrap parameter 3.02 at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 249.
Compilation failed in require at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 53.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 53.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [pm_to_blib] Error 2
  /usr/bin/make  -- NOT OK
Running make install
  make had returned bad status, install seems impossible
Here is the output of locate Cwd | xargs ls -la


Code:
-rw-r--r--    1 root     root            0 Jun 28  2004 /home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd/.exists
-rw-r--r--    1 root     root            0 Jun 28  2004 /home/.cpan/build/PathTools-3.02/blib/lib/auto/Cwd/.exists
-r--r--r--    1 root     root        17641 Jan  9 19:31 /home/.cpan/build/PathTools-3.02/blib/lib/Cwd.pm
-rw-r--r--    1 501      proftpd     17641 Jan  9 19:31 /home/.cpan/build/PathTools-3.02/Cwd.pm
-rw-r--r--    1 501      proftpd     10397 Jan  9 19:31 /home/.cpan/build/PathTools-3.02/Cwd.xs
-r--r--r--    1 1013     1013         2527 Mar 11  2004 /root/installd/perl584installer/perl-5.8.4/ext/Cwd/Changes
-rw-r--r--    1 root     root            0 Sep 30 17:56 /root/installd/perl584installer/perl-5.8.4/ext/Cwd/Cwd.bs
-rw-r--r--    1 root     root         9966 Sep 30 17:55 /root/installd/perl584installer/perl-5.8.4/ext/Cwd/Cwd.c
-rw-r--r--    1 root     root         5228 Sep 30 17:56 /root/installd/perl584installer/perl-5.8.4/ext/Cwd/Cwd.o
-r--r--r--    1 1013     1013         8909 Dec 31  2003 /root/installd/perl584installer/perl-5.8.4/ext/Cwd/Cwd.xs
-rw-r--r--    1 root     root        24682 Sep 30 17:55 /root/installd/perl584installer/perl-5.8.4/ext/Cwd/Makefile
-r--r--r--    1 1013     1013          105 Sep  5  2001 /root/installd/perl584installer/perl-5.8.4/ext/Cwd/Makefile.PL
-rw-r--r--    1 root     root            0 Sep 30 17:55 /root/installd/perl584installer/perl-5.8.4/ext/Cwd/pm_to_blib
-r-xr-xr-x    1 1013     1013         4538 Mar 11  2004 /root/installd/perl584installer/perl-5.8.4/ext/Cwd/t/cwd.t
-r-xr-xr-x    1 1013     1013          553 Dec 19  2003 /root/installd/perl584installer/perl-5.8.4/ext/Cwd/t/taint.t
-rw-r--r--    1 root     root            0 Sep 30 17:56 /root/installd/perl584installer/perl-5.8.4/lib/auto/Cwd/Cwd.bs
-rwxr-xr-x    1 root     root        10051 Sep 30 17:56 /root/installd/perl584installer/perl-5.8.4/lib/auto/Cwd/Cwd.so
-rw-r--r--    1 root     root            0 Apr  1  2004 /root/installd/perl584installer/perl-5.8.4/lib/auto/Cwd/.exists
-r--r--r--    1 1013     1013        14581 Mar 11  2004 /root/installd/perl584installer/perl-5.8.4/lib/Cwd.pm
-r--r--r--    1 root     root            0 Jun 28  2004 /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/Cwd.bs
-r-xr-xr-x    1 root     root        42889 Oct  2 02:53 /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/Cwd.so
-rw-r--r--    1 root     root         1137 Oct  2 02:53 /usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/.packlist
-r--r--r--    1 root     root        16721 Sep  6 22:37 /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pm
-r--r--r--    1 root     root            0 Sep 30 18:00 /usr/lib/perl5/5.8.4/i686-linux/auto/Cwd/Cwd.bs
-r-xr-xr-x    1 root     root        10051 Sep 30 18:03 /usr/lib/perl5/5.8.4/i686-linux/auto/Cwd/Cwd.so
-rw-r--r--    1 root     root          961 Sep 30 18:03 /usr/lib/perl5/5.8.4/i686-linux/auto/Cwd/.packlist
-r--r--r--    1 root     root        16721 Sep  6 22:37 /usr/lib/perl5/5.8.4/i686-linux/Cwd.pm
-r-xr-xr-x    1 root     root        11189 Nov  2 02:55 /usr/local/cpanel/perl/Cwd/Cwd.so
-r--r--r--    1 root     root         8180 Sep 30 18:03 /usr/share/man/man3/Cwd.3
-r--r--r--    1 root     root         8180 Oct  2 02:53 /usr/share/man/man3/Cwd.3pm
-rw-r--r--    1 root     root         3169 Jun 28  2004 /usr/share/man/man3/Cwd.3pm.gz

/home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd:
total 8
drwxr-xr-x    2 root     root         4096 Jan 21 10:58 .
drwxr-xr-x    3 root     root         4096 Jan 21 10:58 ..
-rw-r--r--    1 root     root            0 Jun 28  2004 .exists

/home/.cpan/build/PathTools-3.02/blib/lib/auto/Cwd:
total 8
drwxr-xr-x    2 root     root         4096 Jan 21 10:58 .
drwxr-xr-x    3 root     root         4096 Jan 21 10:58 ..
-rw-r--r--    1 root     root            0 Jun 28  2004 .exists

/root/installd/perl584installer/perl-5.8.4/ext/Cwd:
total 80
drwxr-xr-x    3 1013     1013         4096 Sep 30 17:56 .
drwxr-xr-x   39 1013     1013         4096 Apr 21  2004 ..
-r--r--r--    1 1013     1013         2527 Mar 11  2004 Changes
-rw-r--r--    1 root     root            0 Sep 30 17:56 Cwd.bs
-rw-r--r--    1 root     root         9966 Sep 30 17:55 Cwd.c
-rw-r--r--    1 root     root         5228 Sep 30 17:56 Cwd.o
-r--r--r--    1 1013     1013         8909 Dec 31  2003 Cwd.xs
-rw-r--r--    1 root     root        24682 Sep 30 17:55 Makefile
-r--r--r--    1 1013     1013          105 Sep  5  2001 Makefile.PL
-rw-r--r--    1 root     root            0 Sep 30 17:55 pm_to_blib
drwxr-xr-x    2 1013     1013         4096 Apr 21  2004 t

/root/installd/perl584installer/perl-5.8.4/ext/Cwd/t:
total 20
drwxr-xr-x    2 1013     1013         4096 Apr 21  2004 .
drwxr-xr-x    3 1013     1013         4096 Sep 30 17:56 ..
-r-xr-xr-x    1 1013     1013         4538 Mar 11  2004 cwd.t
-r-xr-xr-x    1 1013     1013          553 Dec 19  2003 taint.t

/root/installd/perl584installer/perl-5.8.4/lib/auto/Cwd:
total 20
drwxr-xr-x    2 root     root         4096 Sep 30 17:56 .
drwxr-xr-x   36 root     root         4096 Sep 30 17:59 ..
-rw-r--r--    1 root     root            0 Sep 30 17:56 Cwd.bs
-rwxr-xr-x    1 root     root        10051 Sep 30 17:56 Cwd.so
-rw-r--r--    1 root     root            0 Apr  1  2004 .exists

/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd:
total 56
drwxr-xr-x    2 root     root         4096 Oct  2 02:53 .
drwxr-xr-x   37 root     root         4096 Sep 30 18:49 ..
-r--r--r--    1 root     root            0 Jun 28  2004 Cwd.bs
-r-xr-xr-x    1 root     root        42889 Oct  2 02:53 Cwd.so
-rw-r--r--    1 root     root         1137 Oct  2 02:53 .packlist

/usr/lib/perl5/5.8.4/i686-linux/auto/Cwd:
total 24
drwxr-xr-x    2 root     root         4096 Sep 30 18:03 .
drwxr-xr-x   36 root     root         4096 Sep 30 18:04 ..
-r--r--r--    1 root     root            0 Sep 30 18:00 Cwd.bs
-r-xr-xr-x    1 root     root        10051 Sep 30 18:03 Cwd.so
-rw-r--r--    1 root     root          961 Sep 30 18:03 .packlist

/usr/local/cpanel/perl/Cwd:
total 20
drwxr-xr-x    2 root     root         4096 Nov  2 02:55 .
drwxr-xr-x   15 root     root         4096 Jan 21 10:47 ..
-r-xr-xr-x    1 root     root        11189 Nov  2 02:55 Cwd.so
and locate Cwd.so

Code:
/root/installd/perl584installer/perl-5.8.4/lib/auto/Cwd/Cwd.so
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/auto/Cwd/Cwd.so
/usr/lib/perl5/5.8.4/i686-linux/auto/Cwd/Cwd.so
/usr/local/cpanel/perl/Cwd/Cwd.so
and locate Cwd.so | xargs strings | grep 3.

Code:
3.01
3.01
3.01
Has this been successful? I don't think it will work for me without changing the version number in the pathnames.

chirpy said:
OK (sorry it's a bit at a time), you could now try the following (no guarantees here):

cd /usr/lib/perl5/5.6.1/i386-linux/auto/
mv Cwd Cwd.old
cp -a /home/.cpan/build/PathTools-3.02/blib/arch/auto/Cwd .
cd /usr/lib/perl5/5.6.1/i386-linux/
mv Cwd.pm Cwd.pm.old
cp -a /home/.cpan/build/PathTools-3.02/blib/lib/Cwd.pm .

The try this again:

/scripts/perlinstaller --force File::Spec
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
Go on, have a guess
If one of you would like to PM me, I'd be happy to have a look at someones server and see if I can put together a fix that should help. I haven't been able to recreate the problem, so cannot investigate it further. Alternatively, you could try a TT with cPanel ;)
 

Snover

Active Member
Sep 29, 2003
30
0
156
Nope

Code:
Cwd object version 3.01 does not match bootstrap parameter 3.03 at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 249.
Compilation failed in require at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 53.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 53.
Compilation failed in require.
BEGIN failed--compilation aborted.
The numbers just keep increasing. It seems very, very bizarre.
 

eos1

Well-Known Member
Mar 11, 2003
175
0
166
cpanelnick said:
Try

/scripts/perlinstaller --force Cwd
I don't think you can call this fix, but I had the same error:
Code:
Running make install
Cwd object version 3.01 does not match bootstrap parameter 3.03 at /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 225.
Compilation failed in require at /usr/lib/perl5/5.6.1/ExtUtils/Install.pm line 54.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.1/ExtUtils/Install.pm line 54.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [pure_perl_install] Error 2
  /usr/bin/make install UNINST=1 -- NOT OK
Here is what I did:
Just installed perl 5.8.1. :D :D :D
to make sure I run /scripts/perlinstaller --force Cwd. :D
looks like installed OK. :)
I can't wait to see the cron upcp email tonight.

I don't know about perl, but it seems like perl version...?
hope we get a perl version notice like kernel...

Thank you, Nick!
 
Thread starter Similar threads Forum Replies Date
T Installation & Updates 3