Rajini Ramachandran wrote:
> 
> Have anybody used perlapp to package the inline perl script to a free
> standing exe .  I get the following error, what am I doing wrong?.
> 
> -rajini
> 
> "It appears that you have used the 'DATA' form of Inline.pm but one or more
> code sections were not processed. This is because the internal INIT block
> could not be invoked automatically. You need to do it manually by placing
> the
> following command after you Inline command(s).
> 
>     Inline->init;
> 
> We apologize for the inconvenience.
> 
>     - the Management."

Two things.

1) For this to work you should first use Inline to build an installable
module (like Math::Simple) as described in the new release. Building C
code on the fly using PerlApp is probably a *bad* idea.

2) Even if you follow point one, this probably won't work anyway. Inline
depends on a normal file system to load the extension object. This is
not an insurmountable problem, just one that I have not addressed yet.
Hold on....

*** 20 minutes pass ***

Well luckily I work at ActiveState. I just talked to the PerlApp folks.
We figured out how to add support. I'll try to add a fix before YAPC.
This might be release 0.41 or maybe just a patch.

Cheers, Brian

-- 
perl -le 'use Inline C=>q{SV*JAxH(char*x){return newSVpvf
("Just Another %s Hacker",x);}};print JAxH+Perl'

Reply via email to