|
Posted by smallpond on July 29, 2008, 11:00 am
Please log in for more thread options
> According to perlpaq8, I should be able to "require sys/ioctl.ph" but
> when I run my script I get:
>
> Can't locate features.ph in @INC (did you run h2ph?)...
>
> I sure hope I don't have to run h2ph because I'd rather simply know if
> ioctl.ph is loadable or not. I'm running on a fairly old system with
> perl 5.8.0 and am wondering is this is correct behavior or if my
> installation might have gotten corrupted over the years. I can't find
> 'features' anywhere under the perl tree.
>
> In fact, if I comment out the "require 'features.ph'" in the ioctl.ph I
> then start getting errors that it can't find ioctls.ph which is clearly
> all wrong.
>
> If my distro is indeed correct, does anyone at least know which distro
> started shipping with the appropriate includes in place?
>
> -mark
ioctl.ph should be in the directory at:
perl -e 'use Config; print $Config,"/sys/\n"'
--S
|