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