> 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.

 

Yes, I renamed the directories to match what bootstrap expects.

 

> 

> I then removed "use Inline" line and replaced it with :

> 

> require DynaLoader;

> our @ISA = qw (DynaLoader);

> bootstrap packagename;

 

I gave the name of my package xxxDriver.

 

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'll try this ASAP and let you know.

> 

> 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.

 

That's right. I just meant that the Perl code was trying to access the
Java code.

 

> 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 ?

Yes.

 

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

renamed to libxxxDriver.so ?

No.

 

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

additional info.

 

Thanks for your quick responses. 

 

-Radha

Reply via email to