30. May 2007
gcc 4.2 and perl
If you try to compile perl 5.8.8 with a newer version of gcc you will get a nice error:
make *** no rule to make
How to fix it ?
It seems that in recent gcc they switched from to . apply the following patch and everythings should work fine.
==== //depot/perl/makedepend.SH#35 (xtext) ====
Index: perl/makedepend.SH
--- perl/makedepend.SH#34~19692~ 2003-06-05 09:58:23.000000000 -0700
+++ perl/makedepend.SH 2006-07-25 11:42:26.000000000 -0700
@@ -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#" \