OK, so now it's official. After days and days of fiddling with this, I am totally flustered and losing patience :( Installing modules should in no way be this hard.

I finally removed (renamed) my .cpan directory, renamed ~perl and ran "perl -MCPAN -e shell" with default parameters (did not change any directories). Then from the local::lib download directory, I ran " perl Makefile.PL --bootstrap=/my_directory_of_choice" and it was OK. Then I ran "make test && make install" and it was OK too. Then I did "echo 'eval $(perl -I/my_directory_of_choice/lib/perl5 -Mlocal::lib=my_directory_of_choice)' >>~/.bashrc

After this, I go to CPAN shell, and try to install a module by saying " install Acme::Time::Baby " and I get the error below.

I will really appreciate help on this. I have been at it for days now, and have been able to get NOTHING done because of this :(

Thanks in advance.

Andy

PS: However when I do "source ~/.bashrc" it says that "Can't open perl script "Mlocal::lib=/my_directory_of choice": No such file or directory"

==Error Begin==

Running make install

mkdir /usr/local/lib/perl: Permission denied at /usr/share/perl/5.8/ExtUtils/Install.pm line 112

make: *** pure_site_install Error 13

/usr/bin/make install -- NOT OK

== Error End ==


In reply to Re^4: Installing Modules Without Root - Need help ASAP ! by listanand
in thread Installing Modules Without Root by listanand

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.