[tex-live] texlive7 and MacOSX
Michel Bovani
michel.bovani@wanadoo.fr
Mon, 20 May 2002 11:32:47 +0200
Le 20/05/02 11:16, « Thomas Esser » <te@informatik.uni-hannover.de> a
écrit :
>>> I asked to Sebastian to add
>>>
>>> 'Power Macintosh':Darwin:*:*)
>>> echo powerpc_darwin${UNAME_RELEASE}
>>> exit 0 ;;
>>>
>>> in the case statement of config.guess. I think it is done.
>>
>> The stock config.guess/sub from the net should work fine it contains
>> everything for Mac OS X.
>
> So, updating all config.guess/sub files with the latest version from
> the net is a much much smarter solution. One can just use the files from
> ftp://ftp.gnu.org/gnu/config/
OK. But it will not work as it, I think.
In install-cd.sh there is
platform_guess()
{
sys=`(cd ${TMP-/tmp}; sh ${OVERRIDE_GUESS-$CDDIR}/config.guess)`
system=`echo $sys | sed 's/-[^-]*-/-/'`
case $system in
powerpc_darwin5*) usrprefix=/usr ;varprefix=/var
;Sys=powerpc_darwin53;;
*86-linux*) usrprefix=/usr ;varprefix=/var ;Sys=i386_linux;;
esac
this_system=$Sys
}
So the script expects powerpc_darwin to be echoed by config.guess.
And in gnu/config.guess there is
*:Darwin:*:*)
echo `uname -p`-apple-darwin${UNAME_RELEASE}
exit 0 ;;
so powerpc-apple-darwin5.4 will be echoed...
(BTW the binary directory name is powerpc-darwin5.3 also)
--
Michel Bovani