RE: perlapp - build exe from script but errors when running exe
by Jan Dubois other posts by this author
Dec 12 2007 10:42AM messages near this date
perlapp - build exe from script but errors when running exe
|
RE: perlapp - build exe from script but errors when running exe
On Wed, 12 Dec 2007, Brzezinski, Paul J wrote:
> The script uses a 3rd party module called perlchartdir and it is
> installed in C:/tools/ChartDirector/lib.
>
> So these two lines are in the script:
> use lib "C:/tools/ChartDirector/lib";
> use perlchartdir;
>
> When I run the executable on another system, I get the following output:
> Use of initialized value in pattern match (m//) at
> /<C:\Users\paul\Desktop\AIXperf.exe>DynaLoader.pm line 163.
> Can't load 'auto/perlchartdir58mt/perlchartdir58mt.dll' for module
> perlchartdir58mt:
It looks like the module is using a non-standard DynaLoader mechanism,
as the module name is "perlchartdir', but the DLL seems to be called
'perlchartdir58mt'.
I would try to bind the library explicitly:
--bind auto/perlchartdir58mt/perlchartdir58mt.dll[file=
C:/tools/ChartDirector/lib/'auto/perlchartdir58mt/perlchartdir58mt.dll,extract]
The line will probably be wrapped, so make sure there are no spaces in the argument to --bin
d.
Cheers,
-Jan
_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Paul J Brzezinski
Jan Dubois
Paul J Brzezinski
Jan Dubois
Paul J Brzezinski
Jan Dubois
Paul J Brzezinski
Paul J Brzezinski
Jan Dubois
Paul J Brzezinski
|