I have seen this issue with sys-devel/libperl-5.8.8, but I would assume it applies to other perl/libperl versions, as well. On PA7200 systems, uname -a returns a string similar to the following: hamal ~ # uname -a Linux hamal 2.6.15.1-pa4-livecd32 #1 Sun Feb 19 07:39:43 UTC 2006 parisc PA7200 (PCX-T') 9000/777/C110 GNU/Linux The problem here is the single-quote (') character in the "(PCX-T')" portion of the string. When running the Configure script in the toplevel perl source directory, the $myuname variable in the generated config.sh becomes: myuname='linux hamal 2.6.15.1-pa4-livecd32 #1 sun feb 19 07:39:43 utc 2006 paris c pa7200 (PCX-T') 9000777c110 gnulinux ' Obviously, since the single-quote character is not escaped, this string confuses the shell. As a result, makedepend fails with an error, as the shell does not know how to handle the "extra" characters on this line. For now, I have created a patch against Configure that applies a simple sed expression to remove (PCX-T') from the above string when compiling on hppa, so that libperl-5.8.8 will compile on my system. But there probably exists a more elegant way to solve this problem. I am open to suggestions.
Created attachment 88201 [details, diff] libperl-5.8.8 HP PA7200 uname patch Here is one possible fix, it removes the single quote (') from the uname -a output
In CVS. thanks a lot !