On 5/2/2011 10:21 PM, Zhenguo Zhang wrote:
Dear Colleagues,
I am trying to install PDL on my system. But it failed both by CPAN or
manually. The problem is at make step, and the error information as follows:
"Manifying ../../blib/man3/PDL::NiceSlice.3pm
make[2]: Leaving directory
`/data/perllib/build/PDL-2.4.9-tWWt9g/Basic/SourceFilter'
make[2]: Entering directory `/data/perllib/build/PDL-2.4.9-tWWt9g/Basic/Core'
Global symbol "%Config" requires explicit package name at
/usr/lib/perl5/5.8.8/File/Copy.pm line 83.
Global symbol "%Config" requires explicit package name at
/usr/lib/perl5/5.8.8/File/Copy.pm line 83.
Global symbol "%Config" requires explicit package name at
/usr/lib/perl5/5.8.8/File/Copy.pm line 83.
Compilation failed in require at /data/perllib/lib/ExtUtils/Command.pm line 6.
BEGIN failed--compilation aborted at /data/perllib/lib/ExtUtils/Command.pm line
6.
Compilation failed in require.
BEGIN failed--compilation aborted.
make[2]: *** [../../blib/lib/auto/PDL/Core/.exists] Error 9
make[2]: Leaving directory `/data/perllib/build/PDL-2.4.9-tWWt9g/Basic/Core'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/data/perllib/build/PDL-2.4.9-tWWt9g/Basic'
make: *** [subdirs] Error 2
CHM/PDL-2.4.9.tar.gz
/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
Failed during this command:
CHM/PDL-2.4.9.tar.gz : make NO".
My systems information is
perl, v5.8.8 built for x86_64-linux-thread-multi,
Linux 2.6.18-164.11.1.el5 #1 SMP Wed Jan 6 13:26:04 EST 2010 x86_64 x86_64
x86_64 GNU/Linux
Based on error messages, I tested whether Config.pm and File::Copy can be
correctly loaded by
'perl -MFile::Copy -e 'print "hello"' and there was no problem.
That doesn't check whether the module works, just that
the load completes. A Google search shows that in many
cases this error is the result of another Config file
in your @INC path. You might want to try a find for
files named Config.pm in all the directories in @INC.
--Chris
Can anyone help me, please? Thanks in advance.
Best regards!
Zhenguo
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl