Hi all,
Since we're discussing Devel::CheckLib, I wonder if this falls into the
same category.
Why is it "die 'OS unsupported'" in one case and "exit 0 unless happy()"
in the other? Seems like they should both be dying.
This one is more like "requires perl built-a-certain-way". I'm
considering just throwing an error like this from Build.PL
die "missing library sys/ioctl.ph" unless happy();
Thoughts?
# from Dave Rolsky on Sunday 21 October 2007 14:44:
>On Sun, 21 Oct 2007, Eric Wilhelm wrote:
>> I just released Device::SerialPins, which turns the serial port into
>> a GPIO with per-pin getters and setters.
>>
>> I'm puzzled by the flood of failure reports for unix-like systems,
>> which include even 5.8.8 on linux (close to being my development
>> box, though maybe with a different kernel.)
>>
>>> # Â Â Error: Â Can't locate sys/ioctl.ph in @INC (did you run
>>> h2ph?)
>>
>> I got the "require 'sys/ioctl.ph'" line from the ioctl() section of
>> `perldoc perlfunc`. What's the deal?
>
>These files are created by the h2ph tool. I suspect on some systems
> the default Perl package does not include the generated files.
--Eric
--
"It is a mistake to allow any mechanical object to realize that you are
in a hurry."
--Ralph's Observation
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------