Click here to get back home

Term-Size make fails on debian

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Term-Size make fails on debian Peter Billam 09-06-2005
Posted by Peter Billam on September 6, 2005, 4:28 pm
Please log in for more thread options


Debian-newbie apologies in advance... After
apt-get install perl
apt-get install perl-base
apt-get install perl-debug
apt-get install perl-doc
apt-get install perl-modules
apt-get install perl-suid
apt-get install gcc
and lots of other apt-gets,

/usr/local/src/Term-Size-0.2# perl Makefile.PL
/usr/local/src/Term-Size-0.2# make
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=\"0.2\" -DXS_VERSION=\"0.2\"
-fPIC "-I/usr/lib/perl/5.8/CORE" Size.c
In file included from Size.xs:6:
/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
/usr/lib/perl/5.8/CORE/perl.h:440:20: setjmp.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:446:26: sys/param.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:451:23: stdlib.h: No such file or directory
and so on for many hundreds and hundreds of lines :-(

As there's indeed nothing in /usr/local/include, I tried
apt-cache search include
which gave me many many output lines but nothing relevant looking...
I must be missing The Right Apt-get ...

Hints gratefully received, Regards, Peter

--

TAS/DPIWE/CIT/Servers hbt/lnd/l8 6233 3061 http://www.pjb.com.au
And how sweet a story it is, when you hear Charley Parker tell it
- Kerouac, Mexico City Blues


Posted by Sherm Pendley on September 6, 2005, 2:40 am
Please log in for more thread options



> Debian-newbie apologies in advance... After
> apt-get install perl
> apt-get install perl-base
> apt-get install perl-debug
> apt-get install perl-doc
> apt-get install perl-modules
> apt-get install perl-suid
> apt-get install gcc
> and lots of other apt-gets,

If memory serves, there's a perl-devel package you need too. Or maybe it's
perl-dev. It's been a while, so I don't remember exactly.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


Posted by Christian Winter on September 6, 2005, 8:47 am
Please log in for more thread options


Peter Billam wrote:
> Debian-newbie apologies in advance... After
> apt-get install perl
> apt-get install perl-base
> apt-get install perl-debug
> apt-get install perl-doc
> apt-get install perl-modules
> apt-get install perl-suid
> apt-get install gcc
> and lots of other apt-gets,
>
> /usr/local/src/Term-Size-0.2# perl Makefile.PL
> /usr/local/src/Term-Size-0.2# make
> 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=\"0.2\" -DXS_VERSION=\"0.2\"
> -fPIC "-I/usr/lib/perl/5.8/CORE" Size.c
> In file included from Size.xs:6:
> /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
> /usr/lib/perl/5.8/CORE/perl.h:440:20: setjmp.h: No such file or directory
> /usr/lib/perl/5.8/CORE/perl.h:446:26: sys/param.h: No such file or directory
> /usr/lib/perl/5.8/CORE/perl.h:451:23: stdlib.h: No such file or directory
> and so on for many hundreds and hundreds of lines :-(

You're obviously missing the header files from the libc6-dev
package. Normaly they reside in /usr/include.

HTH
-Chris


Posted by BZ on September 6, 2005, 4:47 pm
Please log in for more thread options


Peter Billam wrote in comp.lang.perl.modules:
> Debian-newbie apologies in advance... After
> apt-get install perl
> apt-get install perl-base
> apt-get install perl-debug
> apt-get install perl-doc
> apt-get install perl-modules
> apt-get install perl-suid
> apt-get install gcc
> and lots of other apt-gets,
> /usr/local/src/Term-Size-0.2# perl Makefile.PL

What about apt-get install libterm-size-perl?

--
BZ


Posted by Peter Billam on September 7, 2005, 8:51 am
Please log in for more thread options


Christian Winter wrote:
> You're obviously missing the header files from the libc6-dev package.

Thank you! Yes, that was the key.

> Peter Billam wrote in comp.lang.perl.modules:
>> Debian-newbie apologies in advance... After
>> apt-get install perl
>> apt-get install perl-base
>> apt-get install perl-debug
>> apt-get install perl-doc
>> apt-get install perl-modules
>> apt-get install perl-suid
>> apt-get install gcc
>> and lots of other apt-gets,
>
> What about apt-get install libterm-size-perl?

Aha, interesting... Is there a way of knowing which modules can be
apt-got ? I suppose it's something like
apt-cache search --names-only '^lib.*-perl$'
though that also returns some lines which I don't think fit the regexp...

Thanks for your help, Regards, Peter

--

TAS/DPIWE/CIT/Servers hbt/lnd/l8 6233 3061 http://www.pjb.com.au
And how sweet a story it is, when you hear Charley Parker tell it
- Kerouac, Mexico City Blues


Similar ThreadsPosted
make test fails for XML::PARSER August 25, 2005, 11:48 am
DBD::ODBC make test fails in HPUX11.11 July 21, 2004, 5:58 am
mod_perl-1.99_16 won't make: don't know how to make dynamic September 1, 2004, 10:52 pm
Mail::Internet Debian Package January 9, 2005, 3:29 pm
Debian Sarge mod_perl Apache 1.3 July 19, 2005, 10:51 pm
Any community interest in Parse::Debian:: modules? July 14, 2005, 11:43 am
Net-DHCPClient; example fails; tap.al January 26, 2005, 10:07 pm
test fails May 10, 2008, 1:17 pm
Archive::Tar fails tests on AIX August 17, 2004, 6:30 pm
Perl/Tk build fails on HP-UX February 27, 2006, 4:58 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap