zondag 3 juli 2011

XASTIR on Mac OS X

Here is a legacy document where I described how to compile and install XASTIR on Mac OS X. I have not tried this on a more recent version of the OS, so am not sure if these instructions still work but wanted to make sure these instructions remain online.

---------------------------------------------------------------

This document describes what I did to let XASTIR 1.2.1 run on Mac OS X 10.3.1. There may be other (better) solutions, but this works for me. You no longer need to make changes to the XASTIR distribution. The red text is what you type in the terminal. This document continues to be a work in progress, so there may be some errors.

Disclaimer : There is no warranty provided with these instructions. Any damage you do to your system is your responsibility. Make sure that you have a backup of your important data before you start.

If you have not installed X11 with Panther, you should do so now (it is on CD 3).
Install the Mac OS X developer tools from the Xtools CD/DVD. You should do a custom install also installing the BSD SDK package and the X11 SDK. If you do not have the CD/DVD, you can download it at <http://connect.apple.com>. The online membership is free.


Install Fink <http://fink.sourceforge.net> per the instructions. To install the necessary packages and libraries to compile and run xastir, I recommend installing and using FinkCommander <http://finkcommander.sourceforge.net/>.
Following packages at least need to be installed.

autoconf2.5
automake1.7
curl
curl-dev
imagemagick
lcms
libjpeg
libpng3
libtiff
libxml2
openmotif3
system-xfree86

You will be prompted to install additional packages; just use the default response. When completed, quit FinkCommander.

Now we can start with XASTIR.


Alternatively, an easy way of keeping up to date with the latest version of xastir is using the CVS (Concurrent Version System). Open a Terminal session (this defaults in your “home” directory and type

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xastir login

When asked for a password just press [enter]

download the xastir distribution by typing

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xastir co xastir

When this is completed, every time you want to update to the latest version just go to the xastir directory in the terminal (cd xastir) and type cvs update. Please keep in mind that this will also let you install unstable software. To build xastir type

./bootstrap.sh

Followed by

./configure --prefix=/sw

Now we can

make

followed by

sudo make install

and finally

sudo chmod 4555 /sw/bin/xastir

When the installation is complete go to your home directory by typing cd ~ and in your home directory create a directory for the config files

mkdir .xastir (first time only)

Now start X11 (just double click on the icon in the Mac OS X Applications folder) and run xastir by typing xastir & in the xterm window or use the Applications menu. Alternatively, locate the xastir executable in the /sw/bin folder en drag this in the Dock.

Please refer to the XASTIR documentation for maps and setup.nt

Current Mac’s no longer have serial ports to connect to a TNC, so you most likely need a USB-to-Serial adapter. I use a Keyspan model USA-28. This results in a serial port known to the BSD subsystem as /dev/cu.USA28181P1.1

73, Marinus PE1LIF

Geen opmerkingen: