Changing PPD repository paths

Posted by rfaulkner on 2008-12-22 15:13
Forums: PPM | OS: Windows XP Pro

Hello
I am currently using Komodo IDE, version 5.0.2, build 24939, platform win32-x86.Built on Wed Nov 19 17:47:50 2008.

I am trying to use ppm to install Text::CSV_XS.
This is what happens during an attempt:

PPM> install Text::CSV_XS
Install package 'Text-CSV_XS?' (y/N): y
Installing package 'Text-CSV_XS'...
mkdir C:\DOCUME~1\ADMINI~1\LOCALS~1: File exists at D:/Perl/site/lib/PPM.pm line 310

I suspect that because I am on a PC on a company domain etc etc, that PPM won't work because its trying to write to an admin account i.e. mkdir C:\DOCUME~1\ADMINI~1\LOCALS~

I ran PPM> set and this is what it shows:

Current PPD repository paths:
ActiveState Package Repository: http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer
Packages will be built under: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp

So how would I change where my packages will be built under? for example D:\my_packages\ so that I can have read/write privilege.

Thanks in advance :)

grahams
ActiveState Staff
Wed, 2009-01-07 15:39

The error indicates that you are attempting to overwrite an existing instance of Text::CSV_XS. You should be using "update" instead of "install".

Otherwise, you are still correct. Text::CSV_XS is shipped with ActivePerl, and your non-admin account is most likely going to be blocked. If you can't run "update" as an admin, you can set your own inistall area with the PERL5LIB variable.
http://docs.activestate.com/activeperl/5.8/faq/ActivePerl-faq2.html#crea...