How to use perlapp with Tkx

How to use perlapp with Tkx

am 10.12.2008 08:31:17 von Torsten.Werner

All,
I'm doing my first tests with Tkx. I installed latest Active TCL and set
PERL_TCL_DL_PATH=3DC:\Tcl\bin\tcl85.dll
Anything seems to work properly when I run my test script on my own system.
When I try to create a executable with perlapp version 6.0.1 and try to run
it on a clean system I get a error message:

Could not access registry "HKLM\Software\ActiveState\ActiveTcl"
Could not access registry "HKCU\Software\ActiveState\ActiveTcl"
Failed to load Tcl dll! at /PerlApp/DynaLoader.pm line 232.
Unable to initialize Tcl at /PerlApp/DynaLoader.pm line 232.
BEGIN failed--compilation aborted at /PerlApp/Tkx.pm line 206.
BEGIN failed--compilation aborted at tkxtest.pl line 10.

When I try to add the missing dll with "--bind tcl85.dll[file=3DC:\Tcl\bin
\tcl85.dll,extract]" command line option, I've a few messages about wrong
Tcl installation.

Is there a way to create a freestanding executable when I use Tkx? Or is a
Tcl installation a must to run the exe file?

Torsten Werner

________________________________________________________
assyst Gesellschaft für Automatisierung Software und Systeme mbH
Max-Planck-Strasse 3
D - 85609 Aschheim-Dornach

Tel.: +49 89 90 505 0
Fax.: +49 89 90 505 271
e-mail: info@assyst-intl.com
http://www.assyst-bullmer.com

Registergericht München, HRB 76628
Steuer-Nr. 804 / 62242
USt-ID DE 129289972

Geschäftsführender Gesellschafter: Thomas Heinrichs
________________________________________________________

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: How to use perlapp with Tkx

am 10.12.2008 18:34:28 von Gisle Aas

Creating Tkx based GUI applications with activeperl and perlapp should
work out-of-the box without any need for any special options.
Upgrading the Tcl.pm module from CPAN (or via ppm) might give you a
version without our patches to pick up the tkkit.dll we bundle with
ActivePerl, so that might be one source of errors.

I'm not really sure what workarounds are needed to bundle and use
tcl85.dll from ActiveTcl.

If you use later versions of ActivePerl they should already come with
a 8.5 based tkkit.

--Gisle


On Dec 9, 2008, at 23:31 , Torsten.Werner@assyst-intl.com wrote:

>
> All,
> I'm doing my first tests with Tkx. I installed latest Active TCL and
> set
> PERL_TCL_DL_PATH=C:\Tcl\bin\tcl85.dll
> Anything seems to work properly when I run my test script on my own
> system.
> When I try to create a executable with perlapp version 6.0.1 and try
> to run
> it on a clean system I get a error message:
>
> Could not access registry "HKLM\Software\ActiveState\ActiveTcl"
> Could not access registry "HKCU\Software\ActiveState\ActiveTcl"
> Failed to load Tcl dll! at /PerlApp/DynaLoader.pm line 232.
> Unable to initialize Tcl at /PerlApp/DynaLoader.pm line 232.
> BEGIN failed--compilation aborted at /PerlApp/Tkx.pm line 206.
> BEGIN failed--compilation aborted at tkxtest.pl line 10.
>
> When I try to add the missing dll with "--bind tcl85.dll[file=C:\Tcl
> \bin
> \tcl85.dll,extract]" command line option, I've a few messages about
> wrong
> Tcl installation.
>
> Is there a way to create a freestanding executable when I use Tkx?
> Or is a
> Tcl installation a must to run the exe file?
>
> Torsten Werner

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs