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

svn path=/trunk/; revision=38725
Guy Harris 2011-08-24 22:08:50 +00:00
parent 154b424ed3
commit c6a79c8885
1 changed files with 10 additions and 2 deletions

View File

@ -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
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: