On 04/10/02 12:11 +0100, Mark Fowler wrote: > On Thu, 3 Oct 2002, Brian Ingerson wrote: > > > Inline makes up a name for your extension object unless you use the NAME > > parameter. This is fine for scripts but too willy nilly for installed > > modules. > > Okay, so I've added NAME => __PACKAGE__ to all my use Inline statements > and it now compiles. Yey! > > > It should allow it, but i think it's broken. I have a brand new version of > > Inline::MakeMaker. Would you be willing to test it for me? > > With TRIAL2 when I make test I get: > > t/01basic......Can't locate auto/Indico/Log/FastSummary/create.al in @INC > (@INC contains: /home/mark/experiments/c/blib/lib > /home/mark/experiments/c/blib/arch /etc/perl /usr/local/lib/perl/5.8.0 > /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl . > /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 > /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 > /usr/local/lib/site_perl .) at > /home/mark/experiments/c/blib/lib/Indico/Log/FastSummary.pm line > 51t/01basic......dubious > > create is my 'new' method, it's defined like this: > > use Inline 'C' => <<'END_OF_C', VERSION => 1.05, NAME => __PACKAGE__; > > #include "fastsum.h" > > SV* create(char* class)
I don't know what's happening here. Could you put a short failing test on the wiki site? I thought it was because I broke the parser. But that function signature works for me. Cheers, Brian
