Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: cleaning up old libs and @INC

by danmcb (Monk)
on Jul 16, 2007 at 03:06 UTC ( [id://626768]=note: print w/replies, xml ) Need Help??


in reply to Re: cleaning up old libs and @INC
in thread cleaning up old libs and @INC

thank you! but how then is it possible for CPAN to be installing stuff where perl cannot find it?

Replies are listed 'Best First'.
Re^3: cleaning up old libs and @INC
by syphilis (Archbishop) on Jul 16, 2007 at 03:37 UTC
    how then is it possible for CPAN to be installing stuff where perl cannot find it?

    Is the "perl" that runs the Makefile.PL the same "perl" that is run when you try to use the module that CPAN has just installed ? If, for example, /usr/lib/perl runs the Makefile.PL, then the module being installed will be located in a place where /usr/lib/perl can find it, but /usr/local/lib/perl won't be able to find it.

    If it is the same "perl" in both instances, and the modules are being placed where they cannot be found, then something is seriously amiss with Config.pm's %Config.

    Cheers,
    Rob

      that was the problem! of course. the script points to /usr/bin/perl which is the old custom built perl. I removed that and symlinked it to the system perl, now it all flies.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-26 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found