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

Re^3: Installing modules on Mac OS X

by olus (Curate)
on Feb 26, 2009 at 17:45 UTC ( #746603=note: print w/replies, xml ) Need Help??

in reply to Re^2: Installing modules on Mac OS X
in thread Installing modules on Mac OS X

Check if you have cpan configured to use 'your' make.

sudo perl -MCPAN -eshell ... cpan[1]> o conf

and check if you have something like

make               [/usr/bin/make]

Replies are listed 'Best First'.
Re^4: Installing modules on Mac OS X
by larus (Acolyte) on Feb 26, 2009 at 20:06 UTC
    After a little bit goooogling I found this
    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/ Installing /System/Library/Perl/5.8.8/Getopt/ 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
Re^4: Installing modules on Mac OS X
by larus (Acolyte) on Feb 26, 2009 at 18:34 UTC
    Thanks, it seems that there is no configuration for make
    ---snip--- keep_source_where /Users/larus/.cpan/sources lynx make make_arg make_install_arg makepl_arg ncftp ncftpget no_proxy pager /usr/bin/less prerequisites_policy ask scan_cache atstart shell /bin/bash tar /usr/bin/tar term_is_latin 1 unzip /usr/bin/unzip urllist wget ---snip---
    How should I configure it? Thank you for your help.
      help o conf
        Its actuall o conf help
        cpan> o conf help Known options: commit commit session changes to disk defaults reload default config values from disk help this help init enter a dialog to set all or a set of parameters Edit key values as in the following (the "o" is a literal letter o): o conf build_cache 15 o conf build_dir "/foo/bar" o conf urllist shift o conf urllist unshift o conf inhibit_startup_message 1 cpan>

      On your cpan shell type

      o conf make /usr/bin/make o conf commit
        this discussion was very useful to me today -- thanks all!!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-10-07 05:49 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (29 votes). Check out past polls.