CPAN Shell on Mac OS X (10.3) Not Installing Modules

From: Jim Keenan (jkeen_via_google_at_yahoo.com)
Date: 06/21/04

  • Next message: Vetle Roeim: "Re: Query on invoking remote java webservices from a Perl Client"
    Date: 20 Jun 2004 20:35:35 -0700
    
    

    I recently installed Perl 5.8.4 on Mac OS X 10.3. It successfully
    installed under /usr/local/bin, and I have had no problem running Perl
    scripts or manually installing modules from CPAN.

    However, so far I have not succeeded in installing a single module via
    the cpan shell. If I try to install via the cpan shell (e.g. 'install
    Module::Build'), I can successfully fetch the tarball, but inevitably
    encounter this error message.

            -- NOT OK
        Running make test
          Can't test without successful make
        Running make install
          make had returned bad status, install seems impossible

    When I go to the .cpan/build/ subdirectory for a module fetched by the
    shell, I can manually install provided (a) I preface each command with
    'sudo'; and (b) the module does not have additional dependencies which
    require additional installations from CPAN.

    This process rapidly gets tedious when attempting to install a module
    like WWW::Mechanize, which has a veritable forest of dependencies.

    I tried calling 'sudo cpan' to invoke the shell, but had no better
    results.

    What am I doing wrong? How do I get the cpan shell to work properly?

    Thank you very much.

    Jim Keenan


  • Next message: Vetle Roeim: "Re: Query on invoking remote java webservices from a Perl Client"

    Relevant Pages

    • Re: LWP install MacOS X
      ... I've managed to manually download and install the latest CPAN without any ... > You can use the CPAN shell to manage the downloads only, ... You can then run the 'perl Makefile.PL; ... subshell in these dists' directories" at a glance seemed like it would open ...
      (comp.lang.perl.misc)
    • Re: Problems locating C++ compiler / linker / make during installation of a module via CPAN
      ... >operable program or batch file. ... > make test had returned bad status, won't install without force ... Start a CPAN shell and change the make config option to use an 8.3 path ...
      (comp.lang.perl.misc)
    • Re: umask and CPAN installs
      ... Normally when I install programs this is not a problem. ... You could fashion a script to set your umask to something less ... restrictive, run the CPAN shell, then unset the umask. ...
      (comp.lang.perl.misc)
    • Re: installing CPAN module
      ... > Do you want to me to fetch GP/PARI automatically? ... > Running make install ... Did you set a prefix for CPAN to use to install modules? ... Have you tried to install without the CPAN shell? ...
      (comp.lang.perl.misc)
    • RE: DBI Install
      ... Is is possible to get the DBI stuff pre-compiled? ... Have you tried using the CPAN shell? ... from there it's one line to install any module: "install My::Module". ... 'Moon River' by Henry Mancini from 'The Best Of Mancini' ...
      (perl.beginners)