> Thanks for the verbose output. It looks like the problem is that the old > output of gcc-[23] 'Reading specs from ... ' has been replaced in gcc-4 > (at least in this configuration) by 'Using built-in specs'. > > The following simple patch to hints/solaris_2.sh might be enough to get > things to work. Could you try it out? (apply with patch -p1). You'll > have to remove your old config.sh before re-running Configure. > > rm config.sh > sh Configure [whatever options you want] > > --- perl-current/hints/solaris_2.sh Sun May 22 10:38:40 2005 > +++ perl-andy/hints/solaris_2.sh Tue Jul 26 11:29:22 2005 > @@ -211,7 +211,10 @@ > # Indent to avoid propagation to config.sh > verbose=`${cc:-cc} -v -o try try.c 2>&1` > > -if echo "$verbose" | grep '^Reading specs from' >/dev/null 2>&1; then > +# XXX TODO: 'specs' output changed from 'Reading specs from' in gcc-[23] to > 'Using > +# built-in specs' in gcc-4. Perhaps we should just use the same gcc test as > +# in Configure to see if we're using gcc. > +if echo "$verbose" | egrep '(Reading specs from)|(Using built-in specs)' > >/dev/null 2>&1; then > # > # Using gcc. > # > -- > Andy Dougherty [EMAIL PROTECTED]
sorry, out for a business trip the next 2 days... will try later...