in reply to Module compile problem

Perhaps those modules are poorly behaved and expect that you built your perl install from scratch. I took a peek at my opnames.h from bleedperl (its newer than 5.8.0) and copied the header here. You might want to download a copy of perl source from http://www.cpan.org/src/5.0/perl5.005_03.tar.gz, run the opcode.pl script and copy the generated opnames.h file out to the /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/ directory.

* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! * This file is built by opcode.pl from its data. Any changes made h +ere * will be lost! */

Replies are listed 'Best First'.
Re: Re: Module compile problem
by freddo411 (Chaplain) on May 16, 2003 at 17:58 UTC
    For the perl 5.005.03 distribution, opcode.pl creates an output file opcode.h . As far as I can tell, this distribution doesn't make opnames.h when compiled from scratch.

    I would like to understand why the modules look for opnames.h

      I see - opnames.h was introduced in 5.6.something. I suppose this just means that your module should have a "require 5.6.0" statement so its clear that you can't use it with your version of perl.

      I downloaded the module source and noticed that opnames.c is not referenced there. I tend to agree wit h the other poster who pegged the problem on ExtUtils::MakeMaker.