Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I've been struggling to not mess up my linux (Ubuntu 7.10) installation like I've previously used to do. Now, with a rather fresh install of Ubuntu (and updates), I wanted to avoid having issues with aptitude and cpan running in each others way.

So, I've set PERL5LIB to ~/perl5lib and cpan seems happy to run without sudo. Somehow I've got a helping of ~/share with ~/share/perl/5.8.8 and a lot of the modules I've installed or upgraded with cpan seems to go there, but well, it seems ok.

Now, I wanted to install SQL::Translator, but the install bails out complaining:

Sorry, PREFIX is not supported. See the Module::Build documentation for 'destdir' or 'install_base' instead.

Well, I added a ~/.modulebuildrc file with sole content:

install --install_path /home/kai/perl5lib
but the same "Sorry, PREFIX ..." results.

I need some suggestions here now, or some better (super|google)search-terms than I've managed to come up with myself.

Also, I've tried to set --install_path to the same as PERL5LIB, is that wise? silly? enough?

Update:
Thanks for all the good sugestions. They will probably help, but I'm not entirely there yet, so more suggestions are still welcome.

Update 2:
I've got SQL::Translator installed using

look SQL::Translator perl Build.PL --install_base /home/kai/perl5lib ./Build test ./Build install
although I had to work my way backwards through a couple of dependencies that also barked the same way.
I'd really like to have .modulebuildrc correctly set up and working.
Now to new searches...
Update 3:
The version I'm using:
perl -MModule::Build -e 'print "$Module::Build::VERSION \n";' 0.2808

In reply to What to tell Module::Build, and where? by stiller

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2022-05-28 20:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?