Xcode 4 isn't available on DVD, but is available for download from

developer.apple.com, and the current version is available, at least for
Lion, from the Mac App Store.

While we're at it, make sure the X11 SDK is present, by checking for
/usr/X11/include.

svn path=/trunk/; revision=38712
This commit is contained in:
Guy Harris 2011-08-24 10:18:25 +00:00
parent ac36ea096c
commit fb162bf95f
1 changed files with 12 additions and 1 deletions

View File

@ -58,7 +58,18 @@ GEOIP_VERSION=1.4.8
# You need Xcode installed to get the compilers.
#
if [ ! -x /usr/bin/xcodebuild ]; then
echo "Please install Xcode first (should be available on DVD)."
echo "Please install Xcode first (should be available on DVD or from http://developer.apple.com/xcode/index.php)."
exit 1
fi
#
# You also need the X11 SDK; with at least some versions of OS X and
# Xcode, that is, I think, an optional install. (Or it might be
# installed with X11, but I think *that* is an optional install on
# at least some versions of OS X.)
#
if [ ! -d /usr/X11/include ]; then
echo "Please install X11 and the X11 SDK first."
exit 1
fi