I'm new to using Par::Packer and have successfully converted some simple
perl scripts into executables. Now, I am trying a little more
complicated one.

 

Has anyone seen a message like this?

 

I have a script that uses a module that uses Inline java.  I built the
executable with the command pp -M Findbin -M Inline -o foo.exe foo.pl.
However, when I run the .exe with the same parameters that I have
successfully run the perl script with, and from the same directory, I
get the following message.

 

An eval() failed in Inline::glue:

Can't locate Inline/Java/Portable.pm in @INC......(then it goes on to
display the @INC array)

 

Now, if I move /Inline/Java/Portable.pm (along with a host of other
modules) into the @INC area, I can get this to work.  But this doesn't
solve my issue because a) I can't ship the perl .pm modules with my
.exe.  and b) the whole reason for going to a .exe was so that my users
wouldn't need to install perl.  

 

I'm sure there's probably a simple solution to this, but I have yet to
be able to find it.  I appreciate any help you can give me.

 

Thanks,
Dan

Reply via email to