bradmontgomery.net

Installing GTK apps with MacPorts.org

[04.15.2006] [Keywords: Apple, X11, XFree86, Xorg, MacPorts, GTK, ethereal, etherape]

(Update: DarwinPorts is now known as MacPorts and is available from macports.org)

This article describes how to install and run ethereal an etherape on OS X using MacPorts.org.

NOTE: At the time of writing, I'm running OS X Tiger (10.4.x), and anything in this font was typed on the command line

Assumptions

This article assumes that you already have a working X-server installation, and MacPorts.org. If you do not, see my article on Installing X11 and MacPorts.org

Installation

Once you get MacPorts.org and X working, installing and running GTK applications are very easy. I assume most GTK apps will work, but your mileage may vary. For this article, I'll describe how I got ethereal and etherable installed:

  1. Installing Ethereal Simply open a Terminal and type: sudo port install ethereal
  2. Installing Etherape Simply open a Terminal and type: sudo port install etherape

Note that installation for both of these may take some time, sincere there are several packages on which these two applications depend. Once installation is complete, you simply open an X terminal and run the application!

Execution

If you've installed Apple's X11, just double click on /Applications/Utilities/X11.app This should open an X terminal, and then (depending on where MacPorts.org installed the application), just type the path to ethereal. For me this is sudo /opt/local/bin/ethereal, or sudo /opt/local/bin/etherape. Note that you have to run these particular applications as root, hence the sudo.

Was this helpful? Let me know!