Macports
From XastirWiki
Notes on installing Xastir using MacPorts
Check the N1OFZ Xastir Pages for a pre-built installer.
If you'd prefer to do the install manually, the following notes are a good starting point.
Make sure your user has Admin privilages on your Mac. This enables you to use sudo
Using Mac OS X install disk:
- Install xcode tools
- Install X dev stuff
- Install X11
Then
Install MacPorts from http://www.macports.org/
Startup an Xterm or Terminal window and install the various libraries you'll need for Xastir
First your motif libraries - Pick one of the following:
sudo port install lesstif
or
sudo port install openmotif
If, later on, you see menus or sliders that are missing text, try the other motif lib.
Then the rest of the libs:
sudo port install GraphicsMagick sudo port install db45 sudo port install pcre sudo port install shapelib sudo port install proj sudo port install libgeotiff sudo port install gdal
(Note that coming soon, some of this will be built into get-maptools.sh --N8ysz 13:12, 31 December 2006 (EST) )
Download and unpack Xastir, cd into the Xastir src code directory.
Run bootstrap.sh
./bootstrap.sh
Run Configure
./configure CPPFLAGS=-DUSE_PID_FILE_CHECK --with-rtree \
--with-bdb-libdir=/opt/local/lib/db45 \
--with-bdb-incdir=/opt/local/include/db45
Build and Install Xastir:
make sudo make install

