Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 35180
Status: resolved
Priority: 0/
Queue: version

People
Owner: Nobody in particular
Requestors: tania.oh [...] bnc.ox.ac.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: version::vpp not found
Date: Fri, 18 Apr 2008 14:12:20 +0100
To: bug-version [...] rt.cpan.org
From: Tania Oh <tania.oh [...] bnc.ox.ac.uk>
Hi, there is a slight problem with this module: John Peacock > version-0.74 > version when I run make test, I get a bunch of errors, mainly because version/vpp is not found. Failed 1/1 tests, 0.00% okay t/03require....NOK 1/0 # Failed test 'require version;' # at t/03require.t line 12. # Tried to require 'version'. # Error: Can't locate version/vpp.pm in @INC (@INC contains: /net/ cpp-group/src/version-0.74/blib/lib /net/cpp-group/src/version-0.74/ blib/arch /net/cpp-group/tania/src/yeast/modules/ /net/cpp-group/tania/ cvs_src/bioperl-live/ /net/cpp-group/tania/cvs_src/bioperl-run/ /net/ cpp-group/tania/src/scripts/ /net/cpp-group/lib/perl5/5.8.8/i686- linux /net/cpp-group/lib/perl5/5.8.8/i686-linux /net/cpp-group/lib/ perl5/5.8.8 /net/cpp-group/lib/perl5/site_perl/5.8.8/i686-linux /net/ cpp-group/lib/perl5/site_perl/5.8.8/i686-linux /net/cpp-group/lib/ perl5/site_perl/5.8.8 /net/cpp-group/lib/perl5/site_perl/5.8.8/i686- linux /net/cpp-group/lib/perl5/site_perl/5.8.8 /net/cpp-group/lib/ perl5/site_perl . /net/cpp-group/lib/perl5/5.8.8/i686-linux /net/cpp- group/lib/perl5/5.8.8 /net/cpp-group/lib/perl5/site_perl/5.8.8/i686- linux /net/cpp-group/lib/perl5/site_perl/5.8.8 /net/cpp-group/lib/ perl5/site_perl .) at (eval 5) line 2. # BEGIN failed--compilation aborted at (eval 5) line 2. # Compilation failed in require at (eval 3) line 2. t/03require....ok 2/0Can't locate object method "new" via package "version" at t/coretests.pm line 16. # Looks like you failed 1 test of 2. # Looks like your test died just after 2. t/03require....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 Failed 1/2 tests, 50.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/01base.t 255 65280 1 1 1 t/02derived.t 255 65280 1 1 1 t/03require.t 255 65280 2 1 1 Failed 3/3 test scripts. 3/4 subtests failed. Files=3, Tests=4, 0 wallclock secs ( 0.14 cusr + 0.04 csys = 0.18 CPU) Failed 3/3 test programs. 3/4 subtests failed. this is my operating system: Linux fgu204.anat.ox.ac.uk 2.6.22.4-65.fc7 #1 SMP Tue Aug 21 21:50:50 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux this is my perl version: This is perl, v5.8.8 built for i686-linux when I checked the version-0.74/lib/version, there is no vpp.pm file. it maybe missing? or I could be doing something wrong? cheers tania
On Fri Apr 18 09:12:57 2008, tania.oh@bnc.ox.ac.uk wrote: Show quoted text
> Hi, > > there is a slight problem with this module: > John Peacock > version-0.74 > version > > when I run make test, > I get a bunch of errors, mainly because version/vpp is not found.
I actually need to see the output from 'perl Makefile.PL' or 'perl Build.PL' (depending on whether you have Module::Build installed). It appears that the logic that determines whether you have a C compiler is falling over. You really should make sure you have a C compiler installed before build this module, since the XS code is much faster than the pure Perl code (vpp.pm is a compatibility module with the same interface as the XS/C code). Show quoted text
> when I checked the version-0.74/lib/version, there is no vpp.pm file. > it maybe missing? or I could be doing something wrong?
You should find it in the top-level vperl/ directory; it gets copied into the lib/ tree only if Makefile.PL/Build.PL determine you don't have a C compiler (as above). HTH John
On Sun Apr 20 08:42:40 2008, JPEACOCK wrote: Show quoted text
> I actually need to see the output from 'perl Makefile.PL' or 'perl > Build.PL' (depending on whether you have Module::Build installed). It > appears that the logic that determines whether you have a C compiler is > falling over. You really should make sure you have a C compiler > installed before build this module, since the XS code is much faster > than the pure Perl code (vpp.pm is a compatibility module with the same > interface as the XS/C code).
I can't resolve this unless I get more details. Do you have a working C compiler install (and in your path)? Can you attach your generated Makefile or Build file (depending on how you are trying to install it) to the ticket so I can check it? Thanks John
Closing. No response from user