On Sun, 1 Aug 2010, Curt, WE7U wrote:

I'll investigate to see if I can get Xastir working with the newer
libraries.  I really like having topo map support compiled in.  I'll
report back if I find anything.

Huh.  What was that, 10 minutes?  Surprised me how quick this could
be solved.  I thought it might be a long drawn-out couple-of-weeks
affair.

Make the top of xastir/src/map_tif.c look like this:

---------------------------------------------------------------------
//#include "xtiffio.h"
#include "libgeotiff/xtiffio.h"
//#include "geotiffio.h"

//#include "geo_normalize.h"
#include "libgeotiff/geo_normalize.h"
---------------------------------------------------------------------

That should make it compile with the newer libgeotiff packages.  On
my system they moved the libgeotiff files from "/usr/include/" to
"/usr/include/libgeotiff/" which broke the includes in "map_tif.c".

I need to fix this in a way that Xastir knows what to do for either
configuration, for backwards compatibility, so I can't just commit
the above to CVS.

For reference, this is OpenSuSE-11.2 64-bit with these (possibly
related to this bug) RPM packages installed:

    geotiff-1.3.0-8.1.x86_64
    libgeotiff2-1.3.0-8.1.x86_64
    libgeotiff-devel-1.3.0-8.1.x86_64

    libtiff3-32bit-3.8.2-145.4.1.x86_64
    libtiff3-3.8.2-145.4.1.x86_64
    libtiff-devel-3.8.2-145.4.1.x86_64

    libproj-devel-4.7.0-4.1.x86_64
    libproj0-4.7.0-4.1.x86_64
    proj4-4.7.0-4.1.x86_64

--
Curt, WE7U.                         <http://www.eskimo.com/~archer>
   APRS:  Where it's at!                    <http://www.xastir.org>
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"
_______________________________________________
Xastir mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

Reply via email to