Step 1
There are two main methods, a binary install or a source install. If you choose the binary install it may be the easiest Xastir install you'll ever do! Note that the binary installs lag behind the CVS source installs, sometimes by quite a bit.
Choose a Method in this Step and follow the directions, then continue to Step 2.
Method 1: Binary Install on x86 Systems (32 or 64-bit)
This procedure will install several libraries from the SuSE-11.0 ham repository plus the latest development snapshot of Xastir.
For the 64-bit install: When it asks you to change the architecture, let it. This will downgrade a few packages from 64-bit to 32-bit because the Xastir binary was built with 32-bit libraries.
Choose ONE of the categories below:
- Choice 1: Install latest development Xastir release:
-or- (Sorry, the stable release package doesn't exist at the moment, so skip "Choice 2")
- Choice 2: Install latest stable Xastir release plus ham libraries:
Method 2: Source Install on Any OpenSuSE-11.0 System
Here you may choose to install via a stable release, development release, or CVS sources.
- I like "colorgcc" which colors the compiler output based on warnings/errors. OpenSuSE-11.0 dropped support for it but I found a one-click install on this [ColorGCC web page].
- Compile/Install Xastir Sources from "Stable" or "Development" release:
- Download the release from [Xastir Download Page]
- tar xzvf <filename>
- Change to the new directory just created:
- cd <directory-name>
- ./configure CPPFLAGS="-I/usr/include/libgeotiff"
- make
- su
- make install
- chmod 4755 /usr/local/bin/xastir
- exit
- Go to Step 2
- -Or- choose CVS sources to enable keeping up-to-date with the latest developments:
- cvs -d:pserver:anonymous@xastir.cvs.sourceforge.net:/cvsroot/xastir login
- Note: If you get something like: "bash: cvs: command not found", install "cvs" via Yast2 and try again.
- Hit "Enter" key when asked for a password
- cvs -z3 -d:pserver:anonymous@xastir.cvs.sourceforge.net:/cvsroot/xastir co -P xastir
- cd xastir
- ./bootstrap.sh
- Note: Errors at this step may mean you need to install "automake" and "autoconf" via Yast2.
- ./configure CPPFLAGS="-I/usr/include/libgeotiff"
- make
- su
- make install
- chmod 4755 /usr/local/bin/xastir
- exit
- Go to Step 2
If you installed the CVS sources, read the [CVS] page to find out how to update to the latest sources at any time.
Step 2
Upgrade OpenMotif via RPM
This step is required because OpenMotif-2.3.0 introduced a bug where slider widgets didn't show labels. Earlier/later versions of OpenMotif don't exhibit the bug. OpenSuSE-11.0 ships with the 2.3.0 version.
- 32-bit SuSE:
- Download these two RPM's for OpenMotif-2.3.1. They were built for SuSE-10.3 but work fine on 11.0. If later there are SuSE-11.0 RPM's at [the site], by all means install those instead and let us know about it on the mailing list so we can update this page. These will normally be downloaded to your "Desktop" directory.
- [OpenMotif]
- [OpenMotif-Devel]
- After you've downloaded them, type the following bold text into a "terminal" or "xterm" window:
- cd Desktop
- su
- rpm -U openmotif-2.3.1-1.suse103.i586.rpm openmotif-devel-2.3.1-1.suse103.i586.rpm
- Note: If other installed packages require OpenMotif then the above RPM command may fail. If so, type the following command to force the upgrade:
- rpm -U --force openmotif-2.3.1-1.suse103.i586.rpm openmotif-devel-2.3.1-1.suse103.i586.rpm
- exit
- Go to Step 3
- 64-bit SuSE:
- Download these two RPM's for OpenMotif-2.3.1. They were built for SuSE-10.3 but work fine on 11.0. If later there are SuSE-11.0 RPM's at [the site], by all means install those instead and let us know about it on the mailing list so we can update this page. These will normally be downloaded to your "Desktop" directory.
- [OpenMotif]
- [OpenMotif-Devel]
- After you've downloaded them, type the following bold text into a "terminal" or "xterm" window:
- cd Desktop
- su
- rpm -U openmotif-2.3.1-1.suse103.x86_64.rpm openmotif-devel-2.3.1-1.suse103.x86_64.rpm
- Note: If other installed packages require OpenMotif then the above RPM command may fail. If so, type the following command to force the upgrade:
- rpm -U --force openmotif-2.3.1-1.suse103.x86_64.rpm openmotif-devel-2.3.1-1.suse103.x86_64.rpm
- exit
- Go to Step 3
Step 3
Create an Icon on Your Desktop
- Open a terminal window. "xterm" is usually a good choice for a terminal.
- cd Desktop
- ln -s /usr/bin/xastir Xastir
You're Done!