Re: checklink.pl fails: missing sys/syscall.ph?

On 27.06.01 at 14:50, Michael B. Weiner <mweiner@americangreetings.com>
wrote:

>Still fails with the following: [...] Can't locate sys/syscall.ph in @INC
>                                      (did you run h2ph?)

Sorry; I was a bit quick. That message is caused by a missing header file
that checklink.pl tries to include. You can fix it by:

$ su -
Password:
# cd /usr/include
# h2ph *.h */*.h
[ generates modo output and runs for quite some time; get coffee ;D ]
# logout
$ perl -Tcw ./checklink.pl
checklink.pl: Syntax OK
$ ./checklink.pl
(offline mode: enter name=value pairs on standard input)


Looks like Red Hat doesn't include the Perl header files so you need to
regenerate them from the system headers. I'll do some digging in Red Hat
Bugzilla and see if it's a known issue with their shipping Perl.

Received on Thursday, 28 June 2001 02:16:02 UTC