I'm missing types.h
Tim Frost
timfrost at xtra.co.nz
Wed Nov 23 09:05:54 UTC 2005
On Tue, 2005-11-22 at 22:26 -0600, Jay Strauss wrote:
> Hi,
>
> I just did a fresh install of breezy (kubuntu) on my laptop. Now when I try
> to use CPAN to install anything I get the error:
>
> /usr/lib/perl/5.8/CORE/perl.h:382:24: error: sys/types.h: No such file or
> directory
>
> as the first error in a whole long list of errors.
>
> Anyone know what I need to install or configure to solve this?
libc6-dev has the headers.
But if you are installing perl modules from source, you will also need
the compiler.
Use the package management tools to install "build-essential". That
will install the compilers (gcc and g++ version 4.0, plus libc6-dev and
make). The command line to do this is:
sudo apt-get install build-essential
Or you can use the GUI tool (Adept for kubuntu?).
Tim
More information about the ubuntu-users
mailing list