Perl app program won't run on Windows 2003 server.
by Jamie Harris other posts by this author
Oct 10 2008 11:01AM messages near this date
RE: suggestion and a question
|
RE: Perl app program won't run on Windows 2003 server.
I have several Perlapp executables which will not run on Windows 2003 server. We have two s
ervers and it runs fine on one but won't run at all on the other.
I've written the typical "Hello World!" application and tried that and it won't run.
Nothing happens, no error message, no event log entries, no nothing. What is strange is th
at I've fixed my problem by making a "dependent" executable and installing ActivePerl. When
I did that, the compiled program runs fine. Even weirder, I re-compiled without the 'depe
ndent' option and it *still* runs fine, and I've even uninstalled ActivePerl and my program
continues to work as it's supposed to. So it's like my dependent version set something up (
registry? permissions?) and now that that's done I can have a non-dependent version and it'
s fine as long as it's got the same name.
I have several programs that do not work, and the one I compiled as a dependent and ran work
s fine now, but the others still do not. So I have to reinstall ActivePerl, compile them as
'dependent' and run them one time, then from that point forward I don't need them to be dep
endent.
I'm using PDK 7 (trial) at the moment but this problem existed in PDK 6 as well (I was hopin
g PDK 7 would fix this problem).
The command line I usually use is:
perlapp --norunlib --force --clean --dyndll --verbose --perl C:\Perl\bin\perl.exe program.p
l
Program is:
#!/usr/bin/perl
print "Hi!\n";
$ignore = <STDIN> ;
-----------------------------------------------------
James Harris
Enterprise Application Analyst/Programmer
Information Technology Division
Frederick Community College
-----------------------------------------------------
Thread:
Jamie Harris
Jan Dubois
Jamie Harris
|