From c6a79c8885eb7db63cfb2f7c1959a68ad885bede Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 24 Aug 2011 22:08:50 +0000 Subject: Update the information about getting Xcode, and note that PKG_CONFIG_PATH must include /usr/X11/lib/pkgconfig (the man page for pkg-config 0.26 seems to indicate that pkg-config searches the directories in PKG_CONFIG_PATH *in addition to* the standard directories, so it *might* be sufficient to set PKG_CONFIG_PATH to /usr/X11/lib/pkgconfig). svn path=/trunk/; revision=38725 --- README.macos | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.macos') diff --git a/README.macos b/README.macos index 6ee4e8b9b2..edc4f5d6fc 100644 --- a/README.macos +++ b/README.macos @@ -4,10 +4,15 @@ This file tries to help building Wireshark for Mac OS X (Wireshark does not work on earlier versions of Mac OS). You must have the developer tools (called Xcode) installed. Xcode 3 should -be available on the install DVD. See +be available on the install DVD; Xcode 4 is available for download from +developer.apple.com and, for Lion, from the Mac App Store. See http://guide.macports.org/chunked/installing.xcode.html +and + + http://developer.apple.com/xcode/index.php + for details. You must have X11 and the X11 developer headers and libraries installed; @@ -22,7 +27,10 @@ which they depend; it will, by default, also install other libraries that can be used by Wireshark and TShark. The versions of libraries to download are specified by variables set early in the script; you can comment out the settings of optional libraries if you don't want them -downloaded and installed. +downloaded and installed. Before running the macosx-setup.sh script, +and before attempting to build Wireshark, make sure your PKG_CONFIG_PATH +environment variable's setting includes both /usr/X11/lib/pkgconfig +and /usr/local/lib/pkgconfig. After you have installed those libraries: -- cgit v1.2.3