Solution to a problem with perl, tk, par and Windows
- From: January Weiner <january.weiner@xxxxxxxxx>
- Date: Fri, 17 Feb 2006 15:18:03 +0100 (CET)
Hi,
I stumbled over this problem today.
I wanted to make a Windows binary of a program written with perl/tk which
coud be distributed independently from a local perl installation. I do not
use Windows, so maybe I was just ignorant. Anyway, here are the details
for future reference:
I have installed ActivePerl on a Windows machine and intended to install
PAR. PAR allows you to build executables that include all necessary
libraries to run on a given platform.
ActivePerl has a package manager, as I understand alternative to cpan.
Therefore, I used ppm to install PAR. It worked. I run the program
"pp" that comes with PAR from the Perl/bin directory to make an executable
Windows binary:
pp -o hi.exe hello.pl
It worked.
I tried then to compile my program. This, in turn, did not work. I got a
message about PL_memory_wrap that can't be found in perl58.dll. It took me
some time to resolve this problem.
The solution was to remove the PAR module with ppm and install it using
cpan. After that, I could create working binaries.
Regards,
January
--
------------ January Weiner 3 ---------------------+---------------
Division of Bioinformatics, University of Muenster | Schloßplatz 4
(+49)(251)8321634 | D48149 Münster
http://www.uni-muenster.de/Biologie.Botanik/ebb/ | Germany
.
- Prev by Date: Re: how to imbed an external windows application in a widget?
- Next by Date: Re: gtk2 causing segfaults in Perl/Tk apps
- Previous by thread: how to imbed an external windows application in a widget?
- Next by thread: Standard help functions
- Index(es):
Relevant Pages
|