Re: DBI-1.59 install failure on Ubuntu. lacking......compiler complains of missing files



NN NN wrote:
Hi!

I can't install DBI-1.59 on ubuntu 7.04 with This is perl, v5.8.8 built for
i486-linux-gnu-thread-multi
Seems like ubuntu lacks some files. but which?
Can't install through cpan or synaptic either.

After downloading DBI-1.59, the 'Makefile.PL' runs
fine, but When trying to 'make' I get this:

cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBIAN -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.59\"
-DXS_VERSION=\"1.59\" -fPIC "-I/usr/lib/perl/5.8/CORE"
-W -Wall -Wpointer-arith -Wbad-function-cast
-Wno-comment -Wno-sign-compare -Wno-cast-qual
-Wmissing-noreturn -Wno-unused-parameter Perl.c
In file included from DBIXS.h:19,
from Perl.xs:6:
/usr/lib/perl/5.8/CORE/perl.h:420:24: error:
sys/types.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:451:19: error: ctype.h:
No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:463:23: error: locale.h:
No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:480:20: error: setjmp.h:
No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:486:26: error:
sys/param.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:491:23: error: stdlib.h:
No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:496:23: error: unistd.h:
No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:776:23: error: string.h:

<snipped more of the same>


What should I install?

Thanks!






Looks like you need to install the C header files - that is probably a package something like libc development/headers?.

Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com
.



Relevant Pages

  • RE: Installing DBD::File via CPAN
    ... I built this directly from source. ... > Did you build Perl from source, or install via a RPM or binary distro? ... > CPAN module so I wasn't expecting to get myself confused with multiple ...
    (perl.dbi.users)
  • RE: Installing DBD::File via CPAN
    ... I built this directly from source. ... > Did you build Perl from source, or install via a RPM or binary distro? ... > CPAN module so I wasn't expecting to get myself confused with multiple ...
    (perl.dbi.users)
  • (Fwd) DBD module install problem
    ... I downloaded and built from source the lastest Perl from CPAN. ... I built it with gcc compiler which was built as a 64 bit binary. ... I was able to add the DBI module for Oracle, with no problem, but when I during the make of DBD I get this warning and an error message, and am unable to install it. ...
    (perl.dbi.users)
  • RE: Cant locate DBI.pm
    ... This is perl, v5.6.1 built for sun4-solaris-64int ... Which C compiler was your Perl built with? ... Install the C compiler used to build your Perl and then try to ...
    (perl.dbi.users)
  • Re: Error installing DBD::DB2 on AIX 5
    ... One part of your problem is that Perl was built with a compiler you ... > install .Please let me know if you need any further information. ...
    (perl.dbi.users)