Perl Problems

Stephen McCullough swm at swmcc.com
Wed Nov 13 05:22:48 CST 2002


Hi,

Could someone please help? 

I recently installed Linux on my laptop. I am trying to get some of the 
modules I use from the CPAN, this is what I get:    

/usr/lib/perl/5.8.0/CORE/perl.h:1969: pthread.h: No such file or directory
In file included from /usr/lib/perl/5.8.0/CORE/iperlsys.h:51,
                 from /usr/lib/perl/5.8.0/CORE/perl.h:2200,
                 from Piece.xs:5:
/usr/lib/perl/5.8.0/CORE/perlio.h:64: stdio.h: No such file or directory
In file included from /usr/lib/perl/5.8.0/CORE/reentr.h:67,
                 from /usr/lib/perl/5.8.0/CORE/op.h:480,
                 from /usr/lib/perl/5.8.0/CORE/perl.h:2209,
                 from Piece.xs:5:
/usr/include/pwd.h:26: features.h: No such file or directory
/usr/include/pwd.h:30: bits/types.h: No such file or directory
In file included from /usr/lib/perl/5.8.0/CORE/op.h:480,
                 from /usr/lib/perl/5.8.0/CORE/perl.h:2209,
                 from Piece.xs:5:
/usr/lib/perl/5.8.0/CORE/reentr.h:70: grp.h: No such file or directory
/usr/lib/perl/5.8.0/CORE/reentr.h:73: netdb.h: No such file or directory
In file included from /usr/lib/perl/5.8.0/CORE/reentr.h:80,
                 from /usr/lib/perl/5.8.0/CORE/op.h:480,
                 from /usr/lib/perl/5.8.0/CORE/perl.h:2209,
                 from Piece.xs:5:
/usr/include/crypt.h:28: features.h: No such file or directory
In file included from /usr/lib/perl/5.8.0/CORE/reentr.h:85,
                 from /usr/lib/perl/5.8.0/CORE/op.h:480,
                 from /usr/lib/perl/5.8.0/CORE/perl.h:2209,
                 from Piece.xs:5:
/usr/include/shadow.h:24: features.h: No such file or directory
/usr/include/shadow.h:26: paths.h: No such file or directory
/usr/include/shadow.h:29: stdio.h: No such file or directory
In file included from /usr/lib/perl/5.8.0/CORE/perl.h:2686,
                 from Piece.xs:5:
/usr/include/math.h:27: features.h: No such file or directory
/usr/include/math.h:33: bits/huge_val.h: No such file or directory
/usr/include/math.h:40: bits/mathdef.h: No such file or directory
/usr/include/math.h:63: bits/mathcalls.h: No such file or directory
In file included from /usr/lib/perl/5.8.0/CORE/perl.h:3926,
                 from Piece.xs:5:
/usr/include/sys/ipc.h:22: features.h: No such file or directory
/usr/include/sys/ipc.h:25: warning: #warning "Files using this header must be
compiled with _SVID_SOURCE or _XOPEN_SOURCE"
/usr/include/sys/ipc.h:29: bits/ipc.h: No such file or directory
In file included from /usr/lib/perl/5.8.0/CORE/perl.h:3927,
                 from Piece.xs:5:
/usr/include/sys/sem.h:22: features.h: No such file or directory
In file included from /usr/lib/perl/5.8.0/CORE/perl.h:3927,
                 from Piece.xs:5:
/usr/include/sys/sem.h:31: bits/sem.h: No such file or directory
In file included from /usr/lib/perl/5.8.0/CORE/perl.h:4040,
                 from Piece.xs:5:
/usr/include/sys/file.h:22: features.h: No such file or directory
/usr/include/sys/file.h:25: fcntl.h: No such file or directory
Piece.xs:7: time.h: No such file or directory
make: *** [Piece.o] Error 1
  /usr/bin/make  -- NOT OK

The module in question is Class::DBI, but I get the same for Time::Piece as
well. So I take it that it will be the same for whatever modules I install :(

I never installed 'c' on my laptop on the initial install, has this anything to
do with it? I upgraded to Perl 5.8.0 last night, but the above happened when I was
running Perl 5.6.1 as well.

Please help :)


-- 
Stephen McCullough                                          www.swmcc.com



More information about the Belfast-pm mailing list