Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > PPM installation error - Couldn't open file c:\temp/modulename/ for writing

Reply
Thread Tools

PPM installation error - Couldn't open file c:\temp/modulename/ for writing

 
 
Andre Caron
Guest
Posts: n/a
 
      01-03-2006
Hello,

I am installing a Perl module Windows 2000 Server and get the following
error message:

C:\>ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd
Error installing package
'http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd': C
ouldn't open C:\temp/Crypt-SSLeay/ for writing


C:\>

Notice the direction of the slashes. Is there a parameter to specify
the directory?

The command works properly on Windows 2000 Professional and Windows XP
(2 desktops).

Any suggestions or solutions are very welcome...

Andre Caron
Mirabel, Canada

 
Reply With Quote
 
 
 
 
A. Sinan Unur
Guest
Posts: n/a
 
      01-03-2006
"Andre Caron" <> wrote in
news: oups.com:

> Hello,
>
> I am installing a Perl module Windows 2000 Server and get the
> following error message:
>
> C:\>ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd
> Error installing package
> 'http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd': C
> ouldn't open C:\temp/Crypt-SSLeay/ for writing
>
>
> C:\>
>
> Notice the direction of the slashes. Is there a parameter to specify
> the directory?


The slashes don't matter. AFAIK, the temp directory is first obtained
from the environment variables called TEMP and/or TMP. So, check if
those point to a directory to which you can write.

> The command works properly on Windows 2000 Professional and Windows XP
> (2 desktops).


I have a feeling the environment variables are set up correctly on those
machines.

Sinan
--
A. Sinan Unur <>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/cl...uidelines.html
 
Reply With Quote
 
 
 
 
Sisyphus
Guest
Posts: n/a
 
      01-04-2006

"Andre Caron" <> wrote in message
..
..
>
> Is there a parameter to specify the directory?
>

..
..

Yes:

ppm> settings tempdir
tempdir: C:\DOCUME~1\Rob\LOCALS~1\Temp
ppm> settings tempdir D:\crap
Setting 'tempdir' set to 'D:\crap'.
ppm> settings tempdir
tempdir: D:\crap
ppm>

According to the docs, that change should persist. But for me that's not the
case and I would have to reset tempdir every time I opened a new ppm shell.

See 'ppm help' and 'ppm settings help'.

There's also fairly good ppm (html) documentation in your
Perl/html/faq/ActivePerl-faq2.html file.

Cheers,
Rob


 
Reply With Quote
 
Andre Caron
Guest
Posts: n/a
 
      01-09-2006
Rob, Sinan,

Thanks,

Andre

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PPM error message -- invalid token ccc31807 Perl Misc 2 03-25-2009 03:42 PM
Error opening file for writing: \r\n\r\nfirefox.exe\r\n\r\nClick Retry to try again or \r\nCancel to stop the installation. ambrish patel Computer Support 4 02-27-2007 07:20 AM
PPM fails on a Windows 2003 with a existing Oracle 10g installation Vig Perl Misc 1 04-06-2005 10:04 PM
ppm: ppm install Spreadsheet::ParseExcel Marko Faldix Perl Misc 3 01-27-2004 05:47 AM
ppm error news.hinet.net Perl Misc 0 11-12-2003 02:10 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57