On Sun, Aug 1, 2010 at 3:54 PM, Curt, WE7U <[email protected]> wrote: > 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".
For quite some time now, Debian, Ubuntu, and other Debian based distro's have had a similar problem. The geotiff library from the repos has been installing in /usr/include/geotiff. We've been getting around it by running configure as follows: ../configure CPPFLAGS="-I/usr/include/geotiff" It's in the installation notes for Ubuntu 10.04 as well as some of the earlier versions. Regards, Lee - K5DAT Murphy, TX _______________________________________________ Xastir mailing list [email protected] http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
