Re: weirdness with CPAN modules that use Data::Dumper
- From: "Mumia W." <paduille.4061.mumia.w+nospam@xxxxxxxxxxxxx>
- Date: Sat, 30 Jun 2007 12:18:07 GMT
On 06/30/2007 01:34 AM, Joseph Brenner wrote:
I've got a CPAN module I've written that has Data::Dumper
listed in PREREQ_PM, because it has some tests that use it.
These tests are failing with this odd message:
t/relate...........Can't load '/home/david/cpantesting/perl-5.8.8/lib/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so' for module Data::Dumper: /home/david/cpantesting/perl-5.8.8/lib/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so: undefined symbol: PL_sv_undef at /home/david/cpantesting/perl-5.8.8/lib/5.8.8/i686-linux/XSLoader.pm line 70.
at /home/david/cpantesting/perl-5.8.8/lib/5.8.8/i686-linux/Data/Dumper.pm line 36
Compilation failed in require at /home/david/_/_/perl-5.8.8/.cpan/build/App-Relate-0.03-4hkFGt/t/../relate line 44.
Any clues as to what this might be about?
App::Relate is the most difficult CPAN module I've ever installed. It has many dependencies, and one of those (Test::File::Contents) uses Module::Build. My CPAN doesn't do Module::Build, so I had to delve into the swamp myself.
Your module builds, tests and installs correctly after its many prerequisites are installed. Maybe you have two different versions of Data::Dumper or two different versions of Perl installed, and they are conflicting.
Data::Dumper, strict, warnings, Env, FindBin, Carp, and File::Copy are parts of Perl 5.8.8. AFAIK, you don't need to list them in PREREQ_PM if you "use" the right version of Perl.
.
- References:
- weirdness with CPAN modules that use Data::Dumper
- From: Joseph Brenner
- weirdness with CPAN modules that use Data::Dumper
- Prev by Date: Installing Newt
- Next by Date: Re: Looking for a base module that can automatically load sub modules
- Previous by thread: weirdness with CPAN modules that use Data::Dumper
- Next by thread: Installing Newt
- Index(es):
Relevant Pages
|
|