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

Reply via email to