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)
{
....
Now there is no create.al, but the tree looks like this:
bash-2.05b$ tree blib/
blib/
|-- arch
| `-- auto
| `-- Indico
| `-- Log
| `-- FastSummary
| `-- FastSummary.so
|-- lib
| |-- Indico
| | `-- Log
| | |-- FastSummary.pm
| | `-- fastsum.h
| `-- auto
| `-- Indico
| `-- Log
| `-- FastSummary
`-- man3
`-- Indico::Log::FastSummary.3pm
Hmm, what am I doing wrong this time? ;-)
Mark.
--
s'' Mark Fowler London.pm Bath.pm
http://www.twoshortplanks.com/ [EMAIL PROTECTED]
';use Term'Cap;$t=Tgetent Term'Cap{};print$t->Tputs(cl);for$w(split/ +/
){for(0..30){$|=print$t->Tgoto(cm,$_,$y)." $w";select$k,$k,$k,.03}$y+=2}