Skip Menu |

This queue is for tickets about the version CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: jdporter [...] cpan.org
Cc:
AdminCc:

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



Subject: errors building vutil.c
Trying to install version via cpan, Platform: Ubuntu 8.04 (Debian 2.6.24-16-server - lenny/sid) Perl 5.8.8 I get a ton of occurrences of the following error: vutil.c:497: error: invalid type argument of "unary *" vutil.c:497: warning: cast to pointer from integer of different size Also, the following error occurs at least once: vutil.c:500: error: expected "=", ",", ";", "asm" or "__attribute__" before "term" vutil.c:500: error: "term" undeclared (first use in this function)
On Sat Oct 25 10:26:15 2008, JDPORTER wrote: Show quoted text
> Trying to install version via cpan, > Platform: Ubuntu 8.04 (Debian 2.6.24-16-server - lenny/sid) > Perl 5.8.8
That's not nearly enough information to begin to debug this. It would be helpful to get the output of 'perl -V' (among other things I need to know whether you are running 32 or 64bit). Is this the Perl that came with Ubuntu or did you build your own? Was 'version' being built with Module::Build or ExtUtils::MakeMaker? You can do $ sudo cpan Show quoted text
cpan> look version
and then it will download and unpack the distro and leave you in a shell. Then you can try either: # perl Makefile.PL or if you have a recent-ish Module::Build installed: # perl Build.PL At a first glance, it appears that for some reason, the compiler is not seeing ppport.h, so it can't handle the Perl datatypes. However, the second error points to a problem with basic C headers, so I suspect your box is seriously broken. You can always install the pure Perl version.pm code using: # perl Makefile.PL --perl_only or # perl Build.PL --perl_only John
Um... I think I've found the problem. This box was not properly set up for development. All of the standard .h files are absent. I'll fix that first, and if I have any further problems, I'll open a new ticket. You can probably close this one. Show quoted text
> You can always install the pure Perl version.pm code using: > > # perl Makefile.PL --perl_only > or # perl Build.PL --perl_only
Dang. I would have known this if I had read the README. Sorry. /me blushes for shame. Thanks, jdp
That's kind of what I thought might be going on. I'll close this ticket then. Let me know if you have any other problems...