[EMAIL PROTECTED] wrote:
>
> When I compile an executable using perlapp (Version 6.0.0, build 
> 117102), it seems to have a problem running on an XP machine that a. 
> doesn't have Perl installed on it, and b. doesn't have the directory 
> C:\Temp.  Here's the error message:
>
> mkdir <"C:\Temp\pdk-Secuser\"> failed, errno=2
> Panic:  Can't find temp dir for perlapp
>
> where "Secuser" is the logged in user (i.e.: the directory it's trying 
> to create is C:\Temp\pdk-<username>). Is this a problem with 
> executables compiled to be freestanding (i.e.: to run on PCs that 
> don't have Perl installed)?

 From the PerlApp help file:  (Ver 5.2)
File Extraction
When the executable built with PerlApp runs, it will extract its dynamic 
object files in the /tmp/pdk directory. If the application was built 
using the --clean option, PerlApp will also append the process id to 
this directory name to avoid race conditions during cleanup. The 
directory location can be set using the TMPDIR environment variable. On 
Windows the TEMP environment variable can be used to override the 
location. You may also hardcode the location using the the --tmpdir 
commandline option.

Check to see if user "Secuser" has the environmental variable "TEMP" set 
to "C:\TEMP" and either change it to the proper temporary directory 
location or use the --tmpdir to force perlapp to unpack elsewhere.


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to