i would submit the problem is not perlapp, but rather the permissions on the machine where you are running this at. try either or both:
launch all of this from an 'elevated to run as admin' cmd window (eg; its not enough to have a windows login in windows vista, or higher, thats admin - you actually need to do something 'special' to become admin). you can do this by; clicking 'cmd' in the windows search/run window, then control-shift-enter, then it will prompt you 'are you sure you want to do this', you select yes or enter 'cmd' in the windows search/run window, it suggests 2 inches above where you are typing, 'do you mean you want to run the program 'cmd.exe' (and it shows it in an icon), right-click that icon, then select 'run as admin'. or finally, merely browse into the 'system32' folder and right-click 'cmd.exe' and then 'run as admin' when the cmd window launches this way the title bar should reflect 'administrator...' if not, youre still not the true admin. any program thus lanuched from within the elevated as admin cmd window will run with greater permissions than they would otherwise run as. meaning if you now dont have permissions to write to the file, you should now. if all of that fails, use windows explorer and right-click the folder you're doing this work in and in security, create a new 'everyone' group, then grant 'full control' to everyone. you can thank microsoft for this... greg On Wed, Mar 14, 2012 at 11:55 AM, Geoff Horsnell < ge...@horsnell.freeserve.co.uk> wrote: > **** > > This seems a similar problem to the intermittent one I reported some while > ago. In my case, I found that using perlapp from a command window and NOT > moving the window once perlapp had started usually allowed it to complete > normally. However, I am using a licenced version of perlapp, not a trial > version.**** > > Cheers**** > > Geoff Horsnell**** > > ** ** > > *From:* pdk-boun...@listserv.activestate.com [mailto: > pdk-boun...@listserv.activestate.com] *On Behalf Of *Jamie Harris > *Sent:* 14 March 2012 13:26 > *To:* ActiveState PDK list > *Subject:* Perlapp won't compile.**** > > ** ** > > **** > > If I try to compile with Perlapp (9.1.1) I get an error every time now. > This happens on my PC and it is also happening on a different PC that I did > a fresh install on (as you can tell by the trial license below). I used > to be able to reboot to fix it temporarily (it would let me compile one > time per reboot) but now that doesn't help either.**** > > **** > > "hello.pl" contains this:**** > > print "Hello world.\n";**** > > **** > > You can see my command line here. I am running from an administrator > account and have full access to the c:\temp directory. **** > > **** > > H:\perl>perlapp --norunlib --force --clean --verbose --tmpdir > c:\temp\ > --perl C:\Perl\bin\perl.exe hello.pl > PerlApp 9.1.1 build 295479 (perl 5.10.0) > Copyright (C) 1998-2011 ActiveState Software Inc. All rights reserved. > Trial license *1666225784* (Expires: 2012-04-03)**** > > **** > > > **************************************************************************** > * WARNING: Applications generated by this evaluation copy of PerlApp will > * > * stop working after the end of the evaluation period: 2012-04-03 > * > > **************************************************************************** > **** > > **** > > Using Perl 5.14.2 located at: > *** C:\Perl\bin\perl.exe**** > > **** > > Including modules: > +++ C:\Perl\lib\AutoLoader.pm > +++ C:\Perl\lib\Carp.pm > +++ C:\Perl\lib\Config.pm > +++ C:\Perl\lib\Config_git.pl > +++ C:\Perl\lib\Config_heavy.pl > +++ DynaLoader.pm (internal) > +++ C:\Perl\lib\Errno.pm > +++ C:\Perl\lib\Exporter.pm > +++ C:\Perl\lib\Exporter\Heavy.pm > +++ C:\Perl\lib\File\Glob.pm > +++ C:\Perl\lib\PerlIO.pm > +++ C:\Perl\lib\PerlIO\scalar.pm > +++ C:\Perl\lib\Text\ParseWords.pm > +++ C:\Perl\lib\Tie\Hash\NamedCapture.pm > +++ XSLoader.pm (internal) > +++ C:\Perl\lib\attributes.pm > +++ C:\Perl\lib\auto\File\Glob\Glob.dll > +++ C:\Perl\lib\auto\PerlIO\scalar\scalar.dll > +++ C:\Perl\lib\auto\Tie\Hash\NamedCapture\NamedCapture.dll > +++ C:\Perl\lib\auto\attributes\attributes.dll > +++ C:\Perl\lib\feature.pm > +++ C:\Perl\lib\strict.pm > +++ C:\Perl\lib\vars.pm > +++ C:\Perl\lib\warnings.pm > +++ C:\Perl\lib\warnings\register.pm > +++ perl514.dll (C:\Perl\bin\perl514.dll) > Can't reopen 'hello.exe' for write: Permission denied at /<C:\Program > Files\ActiveState Perl Dev Kit 9.1.1\bin\lib\pdklib.dll>Win32/PE.pm line > 413.**** > > **** > > **** > > **** > > **** > > **** > > ----------------------------------------------------- > James Harris > Enterprise Application Analyst/Programmer > Information Technology Division > Frederick Community College > > -----------------------------------------------------**** > > _______________________________________________ > Perl-Win32-Users mailing list > Perl-Win32-Users@listserv.ActiveState.com > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > >
_______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs