-------- Original Message -------- Subject: Re: [arch] [Fwd: [perl #40633] Perl 5.8.8 fails to compile with gcc 4.2] Date: Mon, 28 May 2007 14:02:31 -0700 From: Charles Mauch <cmauch.lists@gmail.com> Reply-To: General Discusson about Arch Linux <arch@archlinux.org> To: arch@archlinux.org References: <465AD809.5020508@pandora.be> Greetings from Tacoma, WA, USA, Earth, Sol, Milky Way, Verse, RedShift! On Monday, May 28, in the 2007th year of our Lord, you wrote:
Just FYI:
Perl 5.8.8 fails to compile with gcc 4.2 -- apparently the dependency generator output is misinterpreted.
The configure script runs ok, but running make results in
make: *** No rule to make target `<command-line>', needed by `miniperlmain.o'. Stop.
details: http://www.nntp.perl.org/group/perl.perl5.porters/2006/10/msg117723.html
The latest devel perl-5.9.4 seems to compile fine.
Best greets,
I have a patch that fixes this... --- perl-5.8.x/makedepend.SH 2006-06-13 15:31:22.000000000 -0400 +++ perl-5.8.x-andy/makedepend.SH 2006-07-25 14:45:11.000000000 -0400 @@ -167,6 +167,7 @@ -e '/^#.*<builtin>/d' \ -e '/^#.*<built-in>/d' \ -e '/^#.*<command line>/d' \ + -e '/^#.*<command-line>/d' \ -e '/^#.*"-"/d' \ -e '/: file path prefix .* never used$/d' \ -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \ I've been doing a lot of playing with perl lately, and this cropped up. However, I think gcc 4.2 is only in testing at the moment, so it shouldn't be an issue for most people.