----- Original Message ----- 
From: "Narayanan, Radha" <[EMAIL PROTECTED]>
To: "Sisyphus" <[EMAIL PROTECTED]>; <inline@perl.org>
Sent: Thursday, April 20, 2006 8:34 AM
Subject: RE: Inline Integration with Perlapp


> Hi Sisyphus,
>
>
> I copied all files under auto (under _Inline) to my perl auto directory.

Yes - you need to copy all files and directories under auto. I thought you
might also need to rename those files and directories so that they match
what bootstrap() expects them to be ..... but I'm not sure about this.

>
> I then removed "use Inline" line and replaced it with :
>
> require DynaLoader;
> our @ISA = qw (DynaLoader);
> bootstrap packagename;

Where "packagename" needs to be replaced by the actual package name.
What are you specifying there as the packagename ?

>
> I then tried building the executable with perlapp. Did I miss something
> ?

Not sure - I haven't tried that particular hack myself. The info I've
supplied is as supplied to me by someone who said it works. I don't doubt
that it did work - but I'm not so sure that the information provided is
complete.

I would first have tried running the perl script as a perl script. If that
doesn't work, then there's no way that the executable is going to work - and
it's easier to work out what's wrong from the error messages you get from
running the perl script, than from the error messages you get when you
build/run a perlapp executable.

After all that hacking, will it still work ok as a perl script ? (if not,
please provide error messages.)

>
> I get this error after installing my application and trying to connect
> to Inline java.
>

I don't understand what you mean by "trying to connect to Inline java". The
whole point of the exercise is to avoid Inline altogether.

> Here is the output of perl -V :

Thanks. I should also have asked for the name of the module. From the
original error message it looks like it's called Drivers::xxxDriver. Is that
correct ?

Does xxxDriver.so need to load any other shared libs ? Does it need to be
renamed to libxxxDriver.so ?

Sorry for all of the questions - but it's hard to be of much use without the
additional info.

Cheers,
Rob

Reply via email to