CPAN no longer working under Tiger

CPAN no longer working under Tiger

am 01.04.2006 19:07:46 von lars

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

Re: CPAN no longer working under Tiger

am 01.04.2006 19:10:54 von lars

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

Re: CPAN no longer working under Tiger

am 02.04.2006 05:14:14 von Sisyphus

wrote in message
news:yuyXf.894$hi2.733@news.itd.umich.edu...
..
..
> `/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

Re: CPAN no longer working under Tiger

am 02.04.2006 15:00:58 von lars

Sisyphus 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.

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

Re: CPAN no longer working under Tiger

am 02.04.2006 18:04:04 von unknown

lars@nospam.nosoftwarepatents.edu wrote:
> Sisyphus 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

Re: CPAN no longer working under Tiger

am 04.04.2006 03:22:24 von Daniel Macks

lars@nospam.nosoftwarepatents.edu said:
> Sisyphus wrote:
>: > /System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE/c onfig.h
>
>: 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.

On both OS X 10.3 and 10.4, the perl headers and other things needed
to compile against it are part of BSDSDK.pkg. If that's not installed,
no wonder why CORE/ is deficient. But also, Apple's Installer.app is
known to drop files sometimes, so reinstalling BSDSDK might help.

dan

--
Daniel Macks
dmacks@netspace.org
http://www.netspace.org/~dmacks

Re: CPAN no longer working under Tiger

am 05.04.2006 06:48:23 von lars

Installing the full Xcode package seems to have fixed the problems.
Whatever that really contains, I don't know. However, with it present, I
can now add CPAN modules like before.

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