# from Eric Mesdag
# on Friday 22 September 2006 12:32 pm:

>  Invalid attempt to install an Inline module using the 'CPP' language
>  Only C based modules are currently supported

I get a completely different error.

  Error. You have specified 'CPP' as an Inline programming language.

  I currently only know about the following languages:
      C, Foo, PDLPP, PYTHON, Pdlpp, Python, foo, pdlpp, py, python

But I haven't been using Inline::CPP lately.

If I hack on the _Inline/config file, it gets me as far as:

  The NAME 'CAD::DXF::Dime' is illegal for this Inline extension.
  The NAME must match the current package name:
    CAD::DXF

Which is itself a bit of a show-stopper here, since the Inline::CPP way 
of doing things is to append the C++ package to the current package.

>What do we look at to convince inline to support install of C++
> modules? We manage to convince inline to compile for c++  but it
> won't install.

I do remember an old patch to Inline::C that fixes a trip-up on 
Inline::CPP.  This may have nothing to do with your issue, but anyway.

-       $o->{ILSM}{MAKEFILE}{INC} = "-I$FindBin::Bin";
+       ($o->{ILSM}{MAKEFILE}{INC} =~ m/-I$FindBin::Bin/) or
+               ($o->{ILSM}{MAKEFILE}{INC} = "-I$FindBin::Bin");

As for where to go now...  Look at Inline.pm import() and install()

--Eric
-- 
"Everything goes wrong all at once."
--Quantized Revision of Murphy's Law
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to