Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Free MSVC tools + Activestate to compile CPAN Modules

by demerphq (Chancellor)
on Aug 31, 2004 at 15:06 UTC ( [id://387216]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Free MSVC tools + Activestate to compile CPAN Modules
in thread Free MSVC tools + Activestate to compile CPAN Modules

but I really don't think it should or does make any difference for the compiler tools.

My worry is that it may cause problems for such things as Inline.pm or ExtUtils::MakeMaker or various other cpan packages that involve compiling (some packages will try to compile little C snippets to see if your C compiler is available). Not all of these packages are smart enough to handle the various cross platform issues that come up, especially not spaces in the install paths.

I _strongly_ recommend that you install as much as possible in paths with no spaces for this reason. For instance I usually install Visual Studio dotNet in E:\dotNet and not in the MS recommended ditrectories. Ive never had a problem as long as I did this. However every time i forget about this (when I build a new machine for instance) and I always end up getting bitten and having to junction or reinstall. So while im sure a lot of stuff will work fine, i think the safest plan, and the lowest stress is to avoid them. After all its always when you have 6 minutes to get something done that a CPAN install blows up and starts wining about not being able to find the compiler that is most definately there. :-)

OTOH, im not going to get too strung out about it, after all Ive already installed them in directories without spaces in their names so it wont be me getting bitten. :-p


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi


  • Comment on Re^3: Free MSVC tools + Activestate to compile CPAN Modules

Replies are listed 'Best First'.
Re^4: Free MSVC tools + Activestate to compile CPAN Modules
by jZed (Prior) on Aug 31, 2004 at 15:13 UTC
    My worry is that it may cause problems for such things as Inline.pm or ExtUtils::MakeMaker or various other cpan packages that involve compiling

    Aha! Excellent point. I retract my caveat to your advice. OTOH, I beleive that the better fix is for those modules to behave properly given the known fact that windows directory names can contain spaces. It should not be up to perl users to fiddle with these details, perl and perl modules should handle them.

      It should not be up to perl users to fiddle with these details, perl and perl modules should handle them.

      Agreed. But until then we can rail about the injustice of it all or just adjust our behaviour. Since getting some of the responsible people to patch their stuff is like watching ice boil i prefer to save myself the pain :-)

      OTOH, its worthwhile making patches for this stuff and sending it off when you can.


      ---
      demerphq

        First they ignore you, then they laugh at you, then they fight you, then you win.
        -- Gandhi


Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-24 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found