Click here to get back home

CPAN no longer working under Tiger

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
CPAN no longer working under Tiger lars 04-01-2006
Posted by lars on April 1, 2006, 12:07 pm
Please log in for more thread options


I recently did a clean install of OS X 10.4.5 on a PowerBook G4
Since then, I have been unable to add perl modules. Previously,
I was able to add using the command
        sudo perl -MCPAN -e install xxxx

Now when I try that, nearly every module gives errors like "No rule to
make target"

What needs to be done to fix that?

--
Lars
        Software patents harm all Net-based business, write your MEP:
        http://wwwdb.europarl.eu.int/ep6/owa/p_meps2.repartition?ilg=EN

Posted by lars on April 1, 2006, 12:10 pm
Please log in for more thread options


Here is a more complete error message:

        make: *** No rule to make target
        `/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/config.h',
        needed by `Makefile'. Stop.
         /usr/bin/make -- NOT OK
        Running make test
         Can't test without successful make
        Running make install
         make had returned bad status, install seems impossible

These are basic CPAN modules which have never given me errors before.

--
Lars
        Software patents harm all Net-based business, write your MEP:
        http://wwwdb.europarl.eu.int/ep6/owa/p_meps2.repartition?ilg=EN

Posted by Sisyphus on April 1, 2006, 10:14 pm
Please log in for more thread options



.
.
> `/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/config.h',
> needed by `Makefile'. Stop.

Does the specified 'config.h' file exist ? It's needed.

Sounds to me like you've got a basic-barebones-but-runnable perl
installation. To build modules you'll want the "devel" (complete) perl
installation.

Or build and install your own perl and use it instead (which would be my
preference).

Cheers,
Rob



Posted by lars on April 2, 2006, 9:00 am
Please log in for more thread options



: Does the specified 'config.h' file exist ? It's needed.

No. It's not there. I thought the full version of perl would have been
in the developer tools that came with OS X on the DVD.

I try downloading perl from the apple developer site to see if that fixes
it. Otherwise, I 'll try the other suggestion and try building per from
scratch.

-Lars

: > `/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/config.h',

--
Lars
        Software patents harm all Net-based business, write your MEP:
        http://wwwdb.europarl.eu.int/ep6/owa/p_meps2.repartition?ilg=EN

Posted by harryfmudd [AT] comcast [DOT] on April 2, 2006, 12:04 pm
Please log in for more thread options


lars@nospam.nosoftwarepatents.edu wrote:
>
> : Does the specified 'config.h' file exist ? It's needed.
>
> No. It's not there. I thought the full version of perl would have been
> in the developer tools that came with OS X on the DVD.
>

It is under Panther. I suppose it's possible that you don't get it in
Tiger's default XCode tools install. I have seen successful tests from
Perl 5.8.6 under Tiger in http://cpantesters.perl.org/. I took this to
imply that what you're trying to do works, but it's possible someone has
installed their own Perl 5.8.6.

> I try downloading perl from the apple developer site to see if that fixes
> it. Otherwise, I 'll try the other suggestion and try building per from
> scratch.
>

You might want to look for updates in the XCode tools as well.

Tom Wyant

Similar ThreadsPosted
CPAN configuration help get working October 12, 2004, 6:32 pm
Mac OSX Tiger getting module to compile January 3, 2006, 9:45 am
Point me to MAC OS X Tiger GD instructions that work January 4, 2006, 8:50 pm
Installing mod-perl on Tiger (OSX) issues May 31, 2006, 12:06 am
GD not working September 13, 2004, 2:52 pm
Anyone working on ALSA ? October 5, 2007, 2:02 am
ParseExcel::Simple not working? September 21, 2005, 3:32 pm
Net::Telnet not working with perl 5.8.5 November 15, 2005, 2:48 am
In search of working IM library July 26, 2006, 3:43 pm
Net::SMTP Can't get AUTH working... November 2, 2006, 5:39 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap