Hi, Since I updated to OS-X 10.6.2 I haven't had a working xastir installation. I took a look at it at lunchtime today and got it 'mostly' done.
I've built almost completely from source apart from openmotif (I used the binary from http://www.xastir.org/wiki/index.php/HowTo:Mac_OSX) . My configure line is /configure \\ --with-motif-includes=/usr/OpenMotif/include \\ --includedir=/usr/local/include/GraphicsMagick/ \\ --libdir=/usr/local/lib/GraphicsMagick-1.3.7/ \\ --with-bdb-incdir=/usr/local/BerkeleyDB.4.8/include \\ --with-bdp-libdir=/usr/local/BerkeleyDB.4.8/lib It's finding the db header file but not the library files. here is an extract from config.log onfigure:17292: checking if db.h is exists and is usableconfigure:17317: gcc -c -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -I/usr/OpenMotif/include -I$(top_srcdir)/src/shapelib -I/sw/include -I/opt/local/include -I/usr/local/include -I/usr/OpenMotif/include -I/usr/local/include -I/usr/local/BerkeleyDB.4.8/include conftest.c >&5conftest.c:148: warning: function declaration isn't a prototypeconfigure:17323: $? = 0 configure:17328: result: yes configure:17395: checking for a library containing db_create configure:17421: gcc -o conftest -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict- prototypes -Wno-unused-parameter -I/usr/OpenMotif/include -I$(top_srcdir)/src/s hapelib -I/sw/include -I/opt/local/include -I/usr/local/include -I/usr/OpenMot if/include -I/usr/local/include -I/usr/local/BerkeleyDB.4.8/include -L/usr/OpenM otif/lib -L/sw/lib -L/opt/local/lib -L/usr/local/lib -L/usr/X11/lib -L/usr/loc al/lib -lgdal conftest.c -lXpm -lXt -lXp -lXext -lSM -lICE -lX11 -lcurl -lpcr e -lproj -ltiff -lgeotiff -lgdal -ldb-4.9 >&5 conftest.c:148: warning: function declaration isn't a prototype ld: library not found for -ldb-4.9 I guess it's defaulting to db-4.9 as it's somehow not finding the 4.8 libraries which I've put into the ./configure above. Can anyone see what I'm doing wrong here? Note: I'm only adding map caching for completeness. Other than that it's working great :) oh and nice article in Linux Journal Kurt (and co-authors), well done. de John EI7IG _______________________________________________ Xastir mailing list [email protected] http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
