[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compile problems - how do I know what source to install?



Hi Daniel,


Am 2005-11-14 11:01:00, schrieb Daniel McBrearty:
> I'm in the process of setting up a server that runs sarge, but I get 
> many
> compile errors when trying to do cpan install of some perl modules:
> 
> cc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\"
> -fPIC "-I/usr/lib/perl/5.8/CORE"  -Wall -Wno-comment Perl.c
> In file included from DBIXS.h:19,
>                 from Perl.xs:5:
> /usr/lib/perl/5.8/CORE/perl.h:380:30: sys/types.h: No such file or 
> directory
> /usr/lib/perl/5.8/CORE/perl.h:411:19: ctype.h: No such file or 
> directory
> /usr/lib/perl/5.8/CORE/perl.h:423:23: locale.h: No such file or 
> directory
> 
> (etc)
> 
> Now even I can see that this looks like the standard C lib headers 
> that are not
> being found. But what package do I install to fix it? Or is it a 
> config problem?
> 
> Any clues? This has cost me hours ...

apt-get install build-essential

Thios should install the standard headers too

> Thanks
> 
> Daniel

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: