I got something to work. If I relocate to a root level package (i.e. Search::Kinosearch::KSearch::ResultSet becomes ResultSet and files move accordingly), then a ResultSet.inl file gets created and everything compiles.

use 5.008;
use Inline::MakeMaker;
WriteInlineMakefile(
    NAME              => 'ResultSet',
    VERSION           => '0.03',
    PM                => {
        'ResultSet.pm' =>
        '$(INST_LIB)/ResultSet.pm',
        },
    PREREQ_PM         => {
        'Inline::C'                     => 0.44,
        },
);

However, if I so much as move that file into the lib/ directory (modifying the PM attribute and MANIFEST accordingly), I get the "make: don't know how to make ResultSet.inl. Stop" error. Nothing is changed by either removing the PM attribute, or explicitly specifying PMLIBDIRS => [ 'lib' ].

Eric, I see that all of your Makefile.PL files reside in the same directory as the actual module.

Has anyone actually created an Inline-C-based distribution where the module file wasn't in the top-level directory?


Marvin Humphrey
Rectangular Research
http://www.rectangular.com/

Reply via email to