bcrowell2 has asked for the wisdom of the Perl Monks concerning the following question:

O monks,

If I do  perl -e "require 'sys/ioctl.ph'" on most Linux systems, including Ubuntu Hardy, it works, but on Ubuntu Intrepid I get

Prototype mismatch: sub main::__LONG_MAX__ () vs none at /usr/lib/perl +/5.10/_h2ph_pre.ph line 309. Constant subroutine __LONG_MAX__ redefined at /usr/lib/perl/5.10/_h2ph +_pre.ph line 309.

Is this just a bug in perl 5.10? Can anyone reproduce this in perl 5.10 on a non-ubuntu system? If it is a bug, what's the best way to report it?

TIA! -- Ben

Replies are listed 'Best First'.
Re: sys/ioctl.ph broken in perl 5.10?
by Anonymous Monk on Nov 30, 2008 at 04:12 UTC
      Thanks! So, if I'm understanding correctly, whoever packaged perl 5.10 for ubuntu failed to do this, and I should report it as a bug in ubuntu?

        Yes. If you're understanding correctly, whoever packaged perl 5.10 for ubuntu failed to do this, and you should report it as a bug in ubuntu.