----- Original Message ----- From: "Foo Ji-Haw" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, December 20, 2005 8:09 PM Subject: Packaging using PAR creates error
> Hi all, > > I use PAR to create the executable Perl files. Most of the time it > works. But when using the threads library, it seems to fail. > > I tried to compile the simplest code that replicates this error: > use strict; > use warnings; > use threads; > > print "Hello world!"; > > The error is: > 'The procedure entry point Perl_save_bool could not be located in the > dynamic link library perl58.dll' > > Have tried both 5.8.6 and 5.8.7 without success. > > Appreciate any help in this matter. Thanks. I can't reproduce that error. Your script works fine for me, both as a perl script and a PAR-built executable, on perl 5.8.7 and PAR-0.90 (also PAR-0.89). I have a number of 5.8.* builds of perl, and in all of them, 'Perl_save_bool' is exported by the perl58.dll. I can only assume that there's some problem with your PAR installation ... unless there's some problem with the way you built the executable - which is unlikely. (Just build with 'pp -o hello.exe hello.pl'.) If you're using perl 5.8.7 and don't have the facility to build PAR yourself, try installing the PAR-587 (version 0.90) ppm from http://theoryx5.uwinnipeg.ca/ppms/ . Then rebuild the executable and see if the problem has gone away. Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
