pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: libnbcompat fails to link, in bootstrap on Mac OS X 10.5.2 (x86)
On Apr 14, 2008, at 10:24 PM, Amitai Schlair wrote:
On Apr 8, 2008, at 4:36 PM, J. Alexander Jacocks wrote:
mkdep: gcc -isystem /usr/include: not found
Me three (10.5.2, Intel, case-insensitive fs). It worked a couple
weeks ago.
On my system, /usr/bin/mkdep is a shell script that begins thus:
if ! type "${CC:=cc}" > /dev/null 2>&1; then
PATH=/bin:/usr/bin
export PATH
if ! type "${CC}" > /dev/null 2>&1; then
echo "mkdep: ${CC}: not found"
exit 1
fi
fi
cmd='set -- `type "${CC}"` ; eval echo \$$#'
CC=`eval $cmd`
export CC
So if ${CC} is anything other than a path to a compiler, Darwin
mkdep(1) won't like it. And that's just what bootstrap does on Darwin:
CC="gcc -isystem /usr/include"; export CC
A log of my failed bootstrap is here:
http://netbsd.schmonz.com/tmp/bootstrap.log.gz
Home |
Main Index |
Thread Index |
Old Index