Hello all,
I'm trying to build a standalone Perl/Tkx application using par and I'm
having trouble getting the bundled app to see Tcl/Tk's DLL's.
I'm using a vanilla build of Tcl/Tk to link against, and Strawberry
Perl, so a lot of the advice I've seen online (using ActiveState's
tools, plus their tkkit.dll bits) don't help me.
Here is how I'm bundling the application:
pp -x -g -a "iconic_stroke.ttf;script/iconic_stroke.ttf" -a
"C:/Tcl;script/Tcl" -a "libs;script/Tcl/applibs" filemorph.pl -o
FileMorph.exe
And here's how I'm setting the appropriate path for the Tcl bits:
BEGIN {
if ( $Config{osname} eq "MSWin32" ) {
my $frameworkpath = "$Bin/Tcl/bin/tcl86.dll";
$ENV{'PERL_TCL_DL_PATH'} = $frameworkpath;
}
}
This seems as if it should work. When unpacked, the main script is run
in %tmpdir%/par/cache/inc/script, and the Tcl bits are unpacked in the
same directory, and I'm setting the appropriate path. However, the app
apparently does not see it.
Should I park the Tcl bits somewhere else in the archive? If so, any
suggestions?
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com