[Xastir] Deep Breaths
Jason Winningham
jdw at eng.uah.edu
Sat Sep 9 10:26:37 EDT 2006
First off, there are at least three ways to build xastir on Mac OS X:
build using fink, build using darwinports, and build in /usr/local/
directly from source. It _really_ helps to know which one you're
attempting.
If you are building from source without the use of fink or
darwinports, take a look at n1ofz's notes on the subject:
http://n1ofz.connares.org/software/Xastir_old
There are some xastir support packages that don't build correctly on
Mac OS X, so you have to do a bit of work by hand to complete the
isntall.
There is also a precompiled binary for xastir 1.8.1 at http://
n1ofz.connares.org/software/Xastir in case you want to skip all this
mucking around with source code.
> I have ImageMagick installed, but on two of my three machines
> configure will not recognize it. I have libgeotiff installed, but on
> one of my three machines configure will not recognize it. I have GDAL
> installed, but on one of my three machines configure will not
> recognize it.
In all three cases, look in config.log for clues - specific error
messages that show up when config is looking for the packages.
In some cases the support package builds a shared library, but
doesn't run "ranlib" on it. When this occurs, you'll usually see a
message that mentions running ranlib on something that's out of date.
> I seem to recall this has to do with a couple of things: configure
> switches
If you're using fink or darwinports, you may have to tell configure
not only to use package XYZ, but where to _find_ it. I think that an
appropriately configured PATH will generally allow xastir's config
program to locate support packages.
> and special environmental variables set in my .bash_profile.
> I started in the second already but haven't had luck in finding the
> answer.
Check config.log. For example, if configure tries to run the
"convert" command to test and see if you have ImageMagick installed,
make sure you can type convert at the command line and run the
program. IF not, adjust your PATH until you can.
In any event, be specific (and verbose, even) about how you're
building (fink, darwinports, /usr/local/ manual build, etc) and any
errors that show up. In the case of configure not finding the
packages the error may not appear to be an error, but just another
message buried in config.log.
-Jason
kg4wsv
More information about the Xastir
mailing list