Perl cpan problems in RHEL4

Nigel Wade nmw at ion.le.ac.uk
Thu Jul 6 10:21:37 UTC 2006


Hi,

Is anyone managing to use the cpan command to install perl modules? I've tried 
to do this on 3 different RHEL4 systems, and they all fail in the same way. All 
the systems are up to date.

To install a CPAN module it is necessary to first install the Module::Build 
module. However, this fails to install with many, many errors:

/usr/bin/make  -- OK
Running make test
/usr/bin/perl Build --makefile_env_macros 1 test
t/basic...........ok
t/compat..........ok 2/60Couldn't run Build.PL: Argument list too long at 
/root/.cpan/build/Module-Build-0.2801/blib/lib/Module/Build/Compat.pm line 200.
t/compat..........NOK 3#     Failed test (t/compat.t at line 180)
t/compat..........NOK 4#     Failed test (t/compat.t at line 181)
make[1]: *** No targets specified and no makefile found.  Stop.
t/compat..........NOK 5#     Failed test (t/compat.t at line 56)

and this failure causes a cascade of errors.

Has anyone else seen this problem, and knows of a solution? I can't find 
anything in Bugzilla relating to this.

Without this module I can't install anything using cpan, and that makes it very 
difficult to install any perl modules.

-- 
Nigel Wade, System Administrator, Space Plasma Physics Group,
             University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw at ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555




More information about the Redhat-install-list mailing list