Re: ctype.h: No such file
Gisle Aas (gisle@activestate.com)
01 Mar 2001 13:28:24 -0800
Bill Moseley <moseley@hank.org> writes:
> This is the wrong place to ask this, but I was trying to install Bundle::LWP
> on a machine I've been asked to work on and I get this:
>
> In file included from Parser.xs:19:
> /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:455:19: ctype.h: No such file
> or directory
> /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:463:23: locale.h: No such file
> or directory
> ...
>
> Oh great. So:
>
> $ locate locale.h
> /disk2/usr/include/locale.h
>
> Oh! looks like someone has been moving things around.
>
> Now what?
These files are supposed to be in /usr/include. If it is infeasible
to move them back, you might get away with building your Makefile
with:
perl Makefile.PL INC=/disk2/usr/include
Regards,
Gisle