ActiveState Powered by ActiveState

ActiveState Community


perlapp created exe does not run on another XP machine

Posted by psm2000 on 2008-03-04 14:39

I'm doing a POC for deploying TALEND created PERL code on a computer that does not have PERL or has older version of PERL.

Talend ETL application generates PERL code (www.talendforge.org). The test application I have simply generates a windows dialog box. It works fine on the machine where I wrote this application.

Then I created an EXE on the same machine for this application using perlapp (evaluation version at this time). I had to include some routine::system::xxxx.pm modules that are outside the @INC path. I did this using the "add" command in perlapp. PerlApp created the exe without any errors which I was able to test on the original machine (run Windows XP Home SP2).

I tried to run this application which only generates a simple dialog box on the new machine (running Windows XP Pro SP2). Here it does not pop-up the box that it does on original machine.

How can I go about figuring out why it works on one machine and no another? I am using the default "freestanding" option.

I am new to PERL APP and Talend. I've some basic knowledge of PERL. Please help. I can post more detailed information if required.

Regards,
Sean

MarcZ | Wed, 2008-03-05 07:29

Build the exe using the GUI for perlapp

on the main tab
add the path to modules under the module search path

under the options 2 tab
select the box for verbose logging during run

under the files tab
right click on added modules to manually add additional missed modules if any.

now make the exe

review the log on the screen for issues.

psm2000 | Wed, 2008-03-05 18:49

Thanks MarcZ.

I tried what you said and it does give me a log when the PerlApp generates the exe. The exe generated works fine on the machine where I generate it (Win XP Home). But it does not run on another machine running same exact OS.

The only compile warning I got is not finding VMS file and Unixish.pm. But this did not prevent the exe running on the same machine.

Another exe which just printed words "hello world" ran fine. This one generates a Windows message box so that may be the problem.

Thanks again and do comment if you see something missing here.

Regards,

plegall | Thu, 2008-03-06 08:41

Sean has also posted a topic in talendforge.org forum, see http://talendforge.org/forum/viewtopic.php?id=2321

--
Pierrick LE GALL
R&D engineer & Community coordinator
http://talend.com

-->