Hmm, I'm having problems understanding what I want to do with 
Inline::MakeMaker in order to get my C code to work as a module.  I was 
hoping someone could explain what I'm doing wrong here.

The module I have with embedded C code compiles fine with a perl -c
modulename.pm

However, when I make I'm getting the error:

  Can't install an Inline extension module with AUTONAME enabled.

My module consists of one .pm file with several inline Inline blocks in
it.  They all need access to a set of typemaps and defines, which are
stored in a separate header file that is in the same directory as the .pm
file, and each block starts with an "#include" statements. These files
used to be in lib/Foo/Bar, but that didn't seem to work at all so I moved
them both into the root directory of my module.

The Makefile.PL uses Inline::MakeMaker and has a NAME and a VERSION that
are set to the right thing ("Foo::Bar::Baz" and 1.05.)  Just out of
interest, can I use VERSION_FROM here (the docs aren't clear?)

The module itself has these multiple C blocks that look like

use Inline 'C' => <<'END_OF_C', VERSION => 1.05;
#include "foobb.h"

 ...

END_OF_C

What am I missing?

This was on debian sid i386, with stock debian 5.8 and of course, 
Inline-0.44-TRIAL1  (thanks btw)

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}


Reply via email to