Shaffer, Chris wrote:
Yes, I can run it as a perl script... Like I said, this happens even if
I'm NOT using Cwd...
Chris Shaffer
-----Original Message-----
From: the.noonings [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 22, 2004 1:57 PM
To: Shaffer, Chris
Cc: [email protected]
Subject: Re: Problem Building exes on Win32
Shaffer, Chris wrote:
I'm having problems getting pp to build an executable on WindowsXP.
When I execute:
pp -o output.exe input.pl
I get this:
Can't locate Cwd.pm in @INC (@INC contains: CODE(0xa20874) .) at
C:/Perl/lib/File/Spec/Win32.pm line 4.
BEGIN failed--compilation aborted at
C:/Perl/lib/File/Spec/Win32.pm
line 4.
Compilation failed in require at C:/Perl/lib/File/Spec.pm line
15.
Compilation failed in require at C:/Perl/lib/IO/File.pm line
113.
BEGIN failed--compilation aborted at C:/Perl/lib/IO/File.pm line
113.
Compilation failed in require at -e line 305.
Doesn't matter what's in 'input.pl'. Could just be a 'hello world'
type program. It will fail. Any ideas what I'm missing?
Chris Shaffer
Chris Shaffer
Application Developer, BSTCAD/BSTProcess
BSTCAD Support Forums
<http://forums.ecars.bst.bls.com/viewforum.php?f=2>
[EMAIL PROTECTED]
(404) 927-1227
*****
"The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential, proprietary,
and/or privileged material. Any review, retransmission, dissemination
or other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender
and delete the material from all computers." 118
It cannot find Cwd.pm, but that you know. Can you your script as a
perl file? Do you have your perl library or Cwd.pm in a non-standard
place?
*****
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential, proprietary, and/or privileged
material. Any review, retransmission, dissemination or other use of, or taking
of any action in reliance upon this information by persons or entities other
than the intended recipient is prohibited. If you received this in error,
please contact the sender and delete the material from all computers. 162
Hmmm. I am using Windows XP, and also Windows Millenium. I created my
executable on XP and ran it, and also ran it on my Millenium machine.
BTW my Millenium machine does not have perl installed. I have perl
v5.8.4 on my XP machine. I know this does not really help much. Can
you post a simple script that shows the symptoms you described?