Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: CPAN Config question on Win2000

by demerphq (Chancellor)
on Sep 01, 2003 at 22:03 UTC ( [id://288196]=note: print w/replies, xml ) Need Help??


in reply to CPAN Config question on Win2000

You could just use junction and create a symlink to the directory involved and then add that to the path.

junction E:\VDS\ "E:\Program Files\Microsoft Visual Studio\"

Then edit your system PATH enviornment variable to include E:\VDS _before_ the real directory and reconfig CPAN which will autodiscover the new location of the nmake. This way CPAN is happy, you are happy, VDS is happy, and you don't have an incomprehensible directory name in your path.

Plus knowing about junction and sysinternals is probably in general a good thing. :-)

PS, let this be a lesson for you. Never install VDS into a directory path with spaces in it. In fact, if its for dev purposes or you are doing anything *nixy (ie using cygwin stuff) then you should avoid spaces in file names in general. On my PC the only thing that goes in x:\Program Files is MS office and other pure MS crap. Anything dev or third party goes in a rationally named directory, preferably on a different partition so you can nuke your OS and MS apps without toasting everything else (or at least theres something saveable on the other partition). :-)
---
demerphq

<Elian> And I do take a kind of perverse pleasure in having an OO assembly language...

Replies are listed 'Best First'.
Re: Re: CPAN Config question on Win2000
by knexus (Hermit) on Sep 01, 2003 at 22:46 UTC
    That's something I'll take a look as I do find using "junk" path names like that a bit offensive.

    Anyhow, thanks for the links. I see that there's lots of other usefull looking things/information there as well.

    <chuckle>re: Advice:
    Actually I used to really hate path names like that and like you refused to use them for much. However, time seems to wear one down eventually and I gave in to it. Additionally, I had become a little gun-shy regarding installing Win progs in directories other than their "defaults", as sometimes things just didn't work easily when I did. So, since it was an install of MS Visual Studio, I just let it rip. Everything I create goes in a "rationally" named path. ;-)

      I had become a little gun-shy regarding installing Win progs in directories other than their "defaults",

      Yep, ive found this is true on occasion as well. More with office than with VDS though. Ive quite happily run VDS off of x:\VDS for a long time. :-)

      . I see that there's lots of other usefull looking things/information there as well.

      I have to admit that was the main reason I pointed you there. Lots of good stuff to fill just this kind of gap. I think of it as the "windowy unix toolkit for windows" (especially pstools) :-) Anyway. Cheers.


      ---
      demerphq

      <Elian> And I do take a kind of perverse pleasure in having an OO assembly language...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://288196]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-24 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found