Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Building a local perl to use the system perl's libraries as a fallback

by clueless newbie (Friar)
on Nov 30, 2012 at 15:58 UTC ( #1006490=note: print w/ replies, xml ) Need Help??


in reply to Re: Building a local perl to use the system perl's libraries as a fallback
in thread Building a local perl to use the system perl's libraries as a fallback

On a fresh install of Ubuntu 12.10, I have NOT been able to install padre or Devel::ptkdb successfully from CPAN. But if I use Ubuntu's apt-get both install and work without any problems. Since "mucking" about with the system perl is considered "not the thing to do", I want to create a user perl that takes advantage of the successfully installed modules of the system perl.

Moritz brings up an excellent point and I would be careful to configure the local perl with the options of the system perl.

As I understand it, modules installed from CPAN via the local perl would not pollute the libraries of the system perl.


Comment on Re^2: Building a local perl to use the system perl's libraries as a fallback
Re^3: Building a local perl to use the system perl's libraries as a fallback
by aitap (Deacon) on Nov 30, 2012 at 19:54 UTC
    You may have to install headers of the libraries XS code uses (i.e. simply speaking, files in /usr/include/ which point to the functions defined in *.so files). For example, building Wx from CPAN requires libwxgtk2.8-dev to be installed.
    Sorry if my advice was wrong.
Re^3: Building a local perl to use the system perl's libraries as a fallback
by zwon (Monsignor) on Dec 01, 2012 at 05:46 UTC
    If you just want to be able to install modules into your home directory without touching the system libraries, you probably should have a look at local::lib. I don't use it myself, but I recall that system cpan command suggested to configure it automatically during first run on Ubuntu.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-07-25 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls