After a little bit goooogling I found this
http://sial.org/howto/perl/life-with-cpan/
and I wrote
sudo perl -MCPAN -eshell
cpan> o conf make /usr/bin/make
cpan> o conf commit
And after this EVERYTHING SEEMS TO WORK FINE, and cpan is also working!! Great! For example installing Getopt::Long works fine
cpan> install Getop::Long
---snip---
/usr/bin/make test -- OK
Running make install
Manifying blib/man3/Getopt::Long.3pm
Installing /System/Library/Perl/5.8.8/newgetopt.pl
Installing /System/Library/Perl/5.8.8/Getopt/Long.pm
Installing /usr/share/man/man3/Getopt::Long.3pm
Writing /System/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/Get
+opt/Long/.packlist
Appending installation info to /System/Library/Perl/5.8.8/darwin-threa
+d-multi-2level/perllocal.pod
/usr/bin/make install -- OK
Thanks!
-
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 How to display code and escape characters
are good places to start.
|