I give up. Need a hint from someone. 

I encountered this well over a year ago and it looks like the answer 
still has not made its way into the man pages (Inline, Inline::C, 
Inline::C-Cookbook). I solved it then with some help, but now I can't 
find the old thread in the archives.

I'm updating a module to the new dir structure h2xs generates, ie with 
all .pm files under lib/ . First, the Makefile is confused and thinks 
Blabla.inl cannot be created by any of the rules: 

# perl Makefile.PM
Checking if your kit is complete...
Looks good
Writing Makefile for Blabla
# make
cp lib/Freq.pm blib/lib/Blabla.pm
make: *** No rule to make target `Blabla.inl', needed by `pure_all'.  
Stop.

I can proceed by calling the rule manually, the one which, in the 
Makefile, is 
"$(PERL) -Mblib -MInline=NOISY,_INSTALL_ -MBlabla -e1 0.18 
$(INST_ARCHLIB)"

... and on the command line is
perl -Mblib -MInline=NOISY,_INSTALL_ -MBlabla -e1 0.18 blib/arch

... upon which everything compiles and appears to be in the right 
place. However, when I try to run a test using one of the Inline'd 
functions I get:

# perl -Mblib t/06_cfuncs.t
1..8
Can't locate auto/Blabla/next_intege.al in @INC (@INC 
contains: /home/ira/p4root/perl/Freq/blib/arch 
/home/ira/p4root/perl/Freq/blib/lib /etc/perl 
/usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.2 
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.2 
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl 
/usr/lib/perl5/5.8.5/i686-linux-thread-multi /usr/lib/perl5/5.8.5 
/usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.2 
/usr/lib/perl5/site_perl/5.8.4 .) 
at t/06_cfuncs.t line 7
# Looks like your test died before it could output anything.

I know this error used to be very common, but I've run out of obvious 
tweaks.

Hints??

Cheers!
ira

Reply via email to