Term-Size make fails on debian

Term-Size make fails on debian

am 06.09.2005 08:28:28 von Peter Billam

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

Re: Term-Size make fails on debian

am 06.09.2005 08:40:44 von Sherm Pendley

Peter Billam writes:

> 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

Re: Term-Size make fails on debian

am 06.09.2005 08:47:45 von Christian Winter

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

Re: Term-Size make fails on debian

am 06.09.2005 18:47:58 von BZ

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

Re: Term-Size make fails on debian

am 07.09.2005 00:51:24 von Peter Billam

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

Thank you! Yes, that was the key.

In article , BZ wrote:
> 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

Re: Term-Size make fails on debian

am 07.09.2005 12:47:57 von BZ

Peter Billam wrote in comp.lang.perl.modules:
> 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...

Well, the the general naming rule for debian packages is A::B::C ==>
liba-b-c-perl, so I mostly try to apt-get that first, and only use
cpan if it's not available in Debian.

--
BZ