The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / macosx-setup.sh @ master

History | View | Annotate | Download (55.4 KB)

# Date Author Comment
dacf6e4d 07/27/2014 04:32 PM Guy Harris

Don't fail if unmounting the CMake disk image fails.

I don't know why, but sometimes it fails - the most recent failure was
due to it having already been unmounted! Maybe the CMake installer
unmounts it some times but not others. Just drive on if it fails....

2b719460 07/26/2014 06:34 PM Guy Harris

Download and install a binary package of CMake from Kitware.

Change-Id: Ia7e5576ff64e1c31682006a023f1bd2ff1d3ccb1
Reviewed-on: https://code.wireshark.org/review/3204
Reviewed-by: Guy Harris <>

757aa332 03/31/2014 02:48 PM Alexis La Goutte

Continue to remove $Id$ from top of file

(Using sed : sed -i '/^\# \$Id\$/,+1 d') (start with dash)

Change-Id: Ia4b5a6c2302f6a531f6a86c1ec3a2f8205c8c2dd
Reviewed-on: https://code.wireshark.org/review/881
Reviewed-by: Anders Broman <>

46970c44 03/16/2014 07:09 PM Joerg Mayer

Print a message in case we don't have an X11 SDK installed about where
to find xquartz.

Change-Id: I76548fba0b01f8274d12bbb55f4f16622d9a7eff
Reviewed-on: https://code.wireshark.org/review/704
Reviewed-by: Jörg Mayer <>

17fc3b48 03/16/2014 07:09 PM Joerg Mayer

CMake updates:
- build by default
- update to 2.8.12.2 which actually builds on Mavericks

Change-Id: I60b539613e13d2cdccbd083b28f641ff1ce363c4
Reviewed-on: https://code.wireshark.org/review/703
Reviewed-by: Jörg Mayer <>

b6aae8d5 02/25/2014 12:28 PM Hadriel Kaplan

Change libsmi url and Lua version in macosx-setup.sh

The libsmi url in macosx-setup.sh was dead, it's now an https site not ftp.
Also we were pulling down Lua 5.1.5 but should be pullsing down 5.2.3.
Lastly, macosx-setup cerates macosx-support-libs directory, which needs...

a7b15672 02/06/2014 09:46 PM Guy Harris

Qt 5.2.1 - now with added native OS X toolbar!

To quote

https://qt.gitorious.org/qt/qtbase/source/62feb088a30045e7fbd2a3074c64d18035b84a97:dist/changes-5.2.1
"****************************************************************************
  • Platform Specific Changes...
8ab9c556 12/23/2013 10:53 AM Bill Meier

From Ville Skyttä: Spelling Fixes

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9591

svn path=/trunk/; revision=54387

766a3277 10/28/2013 09:49 PM Guy Harris

Support building and installing both Qt and GTK+.

When forcing CFLAGS and CXXFLAGS, add -g and -O2; newer versions of
autoconf do so for GCC-compatible compilers (clang is GCC-compatible in
that sense), but only do so when those variables aren't forced.
...

360c4fba 10/28/2013 06:38 PM Gerald Combs

Add c-ares. Untested, but it should work.

svn path=/trunk/; revision=52936

cf1d4bbe 10/23/2013 04:07 AM Guy Harris

Pass -sdk, not that it actually works.

svn path=/trunk/; revision=52782

86b60931 10/22/2013 09:40 PM Guy Harris

Default to GTK+ 3, not Qt, for now.

svn path=/trunk/; revision=52777

9ca43603 10/22/2013 09:39 PM Guy Harris

First cut at having this handle Qt. Adds a TOOLKIT variable that you
set to "qt", "gtk2", or "gtk3".

Work done on a machine with the command-line build tools, but not Full
Frontal Xcode, installed, so it couldn't build Qt, so it hasn't been
tested. It has been fixed to complain in that case, rather than...

4baec51d 10/22/2013 12:48 PM Gerald Combs

Add information about building Qt.

svn path=/trunk/; revision=52769

9b5ab5c3 09/14/2013 09:11 AM Jörg Mayer

Add copyright (Michael, Joerg and Guy) and license (GPL2+)

svn path=/trunk/; revision=52035

9becffea 08/23/2013 07:27 PM Guy Harris

To handle the hypothetical case of an OS X release offering a choice of
installing command-line developer tools with no SDKs but with a standard
UN*Xy /usr/include or of installing Full Frontal Xcode, check to see
whether we have any SDKs and, if not, don't try to find the...

1e9a6784 08/23/2013 06:59 PM Guy Harris

Put back missing space between --disable-cups and --without-libtiff.
Should fix bug 9073.

svn path=/trunk/; revision=51498

53bec490 07/31/2013 02:25 AM Guy Harris

Put the GTK2 vs. GTK3 and autofoo vs. CMake options at the beginning,
before either of them are tested.

Put the code to get the OS major version number just before we first use
it.

Fix indentation.

svn path=/trunk/; revision=51054

dfce6feb 07/31/2013 01:00 AM Guy Harris

If no target OS version was specified, default to the major version on
which we're running, so we always build against an SDK. (The "10" in
"10.x.y" is not really part of the version number, so the "major
version" includes the "10" and the major version number following it.)...

18155bd1 07/24/2013 07:51 AM Jörg Mayer

Change default gtk build from version 2 to version 3 for
autotool, cmake and nmake.
No idea what it takes to change the visual project stuff

svn path=/trunk/; revision=50863

1629a094 07/12/2013 03:19 PM Guy Harris

When building for 10.6, force the build to use libpng12.

svn path=/trunk/; revision=50538

e51c046e 07/09/2013 05:54 AM Guy Harris

Fix uninstallation of Cairo - uninstall, don't install!

svn path=/trunk/; revision=50461

b4c71908 07/09/2013 05:31 AM Guy Harris

Fix missing $ before variable name.

Look at the lua-*-done file to get the version number of the version of
Lua we installed.

svn path=/trunk/; revision=50460

c72d5f08 07/09/2013 04:47 AM Guy Harris

Fix the uninstall procedure for Lua - the man pages are installed into
/usr/local/man/man1, not /usr/local/man.

svn path=/trunk/; revision=50458

ff15b893 07/09/2013 12:41 AM Guy Harris

Use older versions of some libraries, and build 32-bit, when building
for Leopard. Fix some issues that came up with the older versions.

We don't support building on Leopard - we check for that up front - so
eliminate some code to handle that.

When uninstalling, check for the installed version by looking at the...

c5ca0c8b 07/08/2013 06:56 PM Guy Harris

Download, build, and install pkg-config before GLib, courtesy of the
"use your internal version of GLib" flag for pkg-config's configure
script. This simplifies things a little bit.

Fix an indentation error while we're at it.

svn path=/trunk/; revision=50453

455f10f4 07/06/2013 07:00 PM Guy Harris

We need Cairo if we're building on 10.5 or if we're building for
10.5 on a later OS.

Fix the download path for libpng, and update the version to the
currently-available version.

svn path=/trunk/; revision=50425

10b4dc9f 07/06/2013 05:21 PM Guy Harris

Use consistent 4-space no-tab indentation.

svn path=/trunk/; revision=50421

e02563ce 07/06/2013 03:32 PM Guy Harris

Don't install the GNU autotools on Snow Leopard and earlier; they were
shipped with those versions of OS X, and I had some problems with the
newer versions on Snow Leopard (the Makefile was doing weird stuff that
caused build failures in wsutil, moving .Tlo files to .Plo files; I...

8e4a6021 07/06/2013 02:16 AM Guy Harris

Add a "-t <target>" flag to set the deployment target OS version; that
causes a -mmacosx-version-min flag to be used, to keep the compiler and
linker from using features not supported by that OS version, and causes
the support libraries to be built against the SDK for that OS version,...

7fb1b4ab 07/05/2013 07:27 PM Guy Harris

Get rid of extra blank line.

svn path=/trunk/; revision=50391

ef71eb16 07/05/2013 07:26 PM Guy Harris

Add a -u flag to uninstall the support tools and libraries.

svn path=/trunk/; revision=50390

b1a91b43 07/05/2013 07:19 PM Guy Harris

LIBFFI_CFLAGS and LIBFFI_LIBS are defined only to suppress the attempt
to run pkg-config to get their values; they should be set equal to the
values that would be returned by pkg-config for libffi with the --cflags
and --libs arguments, respectively. They should NOT include the...

d798f70a 07/04/2013 07:16 PM Guy Harris

Use xcrun --show-sdk-path to find out where the system include files are
hidden, rather than a "compile a program" hack.

svn path=/trunk/; revision=50383

b7a3865c 06/27/2013 03:14 PM Guy Harris

Actually, that's not a clang bug; my test case had a typo. It's still a
case where clang is complaining about code that's OK, it's just not OK
in a way that lets clang determine that it is.

svn path=/trunk/; revision=50196

f3f15607 06/27/2013 06:30 AM Guy Harris

Don't assume the system include files are under /usr/include; trick the
compiler into saying where they are, and use that.

Patch a bug in PortAudio pa_stable_v19_20111121 that clang found.

svn path=/trunk/; revision=50186

53bc39d6 06/26/2013 05:29 PM Guy Harris

Another clang issue to work around:

libgcrypt expects gnu89-style semantics for "inline"; GCC defaults to
gnu89, but clang defaults to gnu99.

svn path=/trunk/; revision=50175

c2e995bd 06/26/2013 03:38 PM Guy Harris

Suppress -Wformat-nonliteral when building GLib, to avoid a clang bug
where it issues bogus warnings.

svn path=/trunk/; revision=50174

c0fda177 06/19/2013 07:52 PM Evan Huus

From Dirk J via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8821

if no make options are given to the macosx-setup.sh script by the user, the
script sets the number of parallel make jobs to 1.5x CPU cores.

Bonus enhancement: print the "export PKG_CONFIG_PATH" information in autogen.sh...

aaa3e82b 06/17/2013 07:30 PM Gerald Combs

From Dirk Jagdmann via bug 7525: macosx-setup.sh improvements.

svn path=/trunk/; revision=49995

222b0ea7 05/13/2013 07:46 AM Michael Tüxen

Allow for building 32-bit versions of the libraries used by wireshark.
This allows to build a 32-bit version of wireshark.

svn path=/trunk/; revision=49263

0823a105 03/26/2013 06:47 PM Michael Tüxen

Use more recent versions of various libs.

svn path=/trunk/; revision=48573

e03896a3 02/01/2013 10:43 PM Guy Harris

Current version of pkg-config is 0.27.

Update some comments.

svn path=/trunk/; revision=47435

2f701389 01/22/2013 01:10 AM Guy Harris

2.24.5 is not 2.24.25. HTH.

svn path=/trunk/; revision=47207

bd8513f5 01/22/2013 12:07 AM Guy Harris

Rename MACOSX_VERSION to DARWIN_MAJOR_VERSION to reflect what it
actually is (it's not an OS X version number, e.g. 10.7 for Leopard,
it's a Darwin version number, e.g. 9 for Leopard). Add comments before
checks to indicate what we're checking for.

Put in a big long comment giving details about the issues I ran into...

61b70c94 09/07/2012 11:10 PM Guy Harris

Fix some issues that showed up when building on Mountain Lion, and
update the README.macos file.

svn path=/trunk/; revision=44810

d0f32eea 08/29/2012 06:31 AM Guy Harris

At least with the version of Xcode that comes with Leopard,
/usr/include/ffi/fficonfig.h doesn't define MACOSX, which causes the
build of GLib to fail. If we don't find "#define.*MACOSX" in
/usr/include/ffi/fficonfig.h, explictly define it.

svn path=/trunk/; revision=44693

0843cfd1 08/13/2012 12:38 PM Guy Harris

Expand the "why we need to build Cairo in some cases" comment, and put
it before the checks for whether to build Cairo.

svn path=/trunk/; revision=44471

2fdacf0d 08/13/2012 07:54 AM Michael Tüxen

Build cairo on Leopard too.

svn path=/trunk/; revision=44468

53f86949 08/13/2012 07:51 AM Michael Tüxen

Update libpng version.

svn path=/trunk/; revision=44467

16b161df 08/12/2012 03:51 PM Guy Harris

Fix an apparently out-of-date comment.

svn path=/trunk/; revision=44458

9d4ab6a4 08/12/2012 03:32 PM Guy Harris

Patching configure.in files and regenerating them is a bag of hurt, as
it can depend on, among other things, having the the relevant .pc files
in one of the directories in PKG_CONFIG_PATH. Instead, just don't
request a fat build of PortAudio.

svn path=/trunk/; revision=44457

8bec02eb 08/11/2012 07:03 PM Guy Harris

Add some patches to make PortAudio build with the macosx-setup.sh
script.

svn path=/trunk/; revision=44446

26023720 06/19/2012 10:48 AM Jörg Mayer

Add a comment to prevent acidentally bumping lua version to 5.2 again.

svn path=/trunk/; revision=43366

2a584008 06/19/2012 09:31 AM Jörg Mayer

Downgrade Lua from 5.2.1 to 5.1.5: Lua 5.2 is API incompatible
with Lua 5.1.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7373

svn path=/trunk/; revision=43358

ffdddb12 06/17/2012 08:07 AM Jörg Mayer

update lua 5.2.0 -> 5.2.1

svn path=/trunk/; revision=43306

2d935ea9 05/27/2012 06:15 AM Jörg Mayer

- Update cmake, gnutls and pixman to current version
- unpack an xz file with xzcat instead of gzcat
- remove some trailing whitespace
- the update of gnutls required two changes in the gnutls
build stuff: a) gnutls.pc is now generated from gnutls.pc.in...

892f0542 05/17/2012 04:49 PM Michael Tüxen

Use some newer versions.

svn path=/trunk/; revision=42687

5ccba8f2 03/14/2012 03:14 PM Michael Tüxen

Bump some version numbers.

svn path=/trunk/; revision=41551

4e58ec54 03/14/2012 12:56 PM Michael Tüxen

Update to glib 2.31.20.
One patch is not required anymore, since it has been included.

svn path=/trunk/; revision=41546

624de2e3 01/15/2012 07:05 PM Jörg Mayer

Fix bootstrap parameters for cmake
Conditionally display build instructions for the cmake case

svn path=/trunk/; revision=40528

d038e589 01/14/2012 09:40 AM Jörg Mayer

Optionally build cmake, document why we need xz

svn path=/trunk/; revision=40498

882d76f2 12/31/2011 11:20 AM Jörg Mayer

- Update the graphical packages
- Newer versions of glib etc require xz. At least Snow Leopard
does not provide xz, so (unconditionally) download and install this first.
- Put in infrastructure to set up a GTK3 environment instead of GTK2
(not active by default because configure'ing Wireshark still fails for some...

08a00ee1 12/10/2011 04:48 AM Michael Tüxen

Update some support libs to newer version.

svn path=/trunk/; revision=40145

56903273 11/19/2011 10:15 PM Guy Harris

Expand a comment.

svn path=/trunk/; revision=39953

03194fa2 10/08/2011 03:44 PM Guy Harris

Move the GeoIP entry where it belongs.

Expand a couple of comments.

svn path=/trunk/; revision=39317

432ca372 10/08/2011 11:17 AM Jörg Mayer

Remove a duplicate entry

svn path=/trunk/; revision=39310

fb162bf9 08/24/2011 06:18 AM Guy Harris

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....

2e2dc717 07/18/2011 10:29 PM Guy Harris

Work around an annoying problem caused by the collision of GNU gettext's
configure script's attempts to deal with AIX 4 and Lion and/or Xcode 4's
dealings with Fortify.

svn path=/trunk/; revision=38104

9659cc77 07/15/2011 07:26 PM Guy Harris

Patch GnuTLS's pkg-config file; it says "requires zlib", but OS X, while
it supplies zlib, doesn't supply a pkgconfig file for it, so we don't
want it to say "requires zlib".

This script is part of the Wireshark source, so giving "download
Wireshark source" as the next step doesn't make sense....

b273aad6 07/15/2011 05:48 PM Guy Harris

Add Joerg Mayer's macos-setup.sh script, modified to add an "x" after
"macos", to fix some bugs, to use "sudo" if necessary when installing,
to make the library version numbers variables, and to download the
optional libraries, by default, as well. Also add his patches to make...