[Xastir] GDAL and ImageMagik support for Xastir

Jason & Kim Conolly conolly at ieee.org
Tue Jan 11 21:52:24 EST 2005


libxml2 libraries are now allowing Xastir to "see" ImageMagick during 
./configure.  Thanks, David and Curt.

I am still working on GDAL.  From the config.log:
configure:14443: checking gdal.h usability
configure:14455: gcc -c -g -O2 -pipe -Wall  -I/usr/local/include   
-I/usr/X11R6/include conftest.c >&5
configure:14461: $? = 0
configure:14465: test -z
             || test ! -s conftest.err
configure:14468: $? = 0
configure:14471: test -s conftest.o
configure:14474: $? = 0
configure:14484: result: yes
configure:14488: checking gdal.h presence
configure:14498: gcc -E -I/usr/local/include   -I/usr/X11R6/include 
conftest.c
configure:14504: $? = 0
configure:14524: result: yes
configure:14559: checking for gdal.h
configure:14566: result: yes
configure:14574: checking for GDALAllRegister in -lgdal
configure:14604: gcc -o conftest.exe -g -O2 -pipe -Wall  
-I/usr/local/include   -I/usr/X11R6/include -L/usr/local/lib   
-L/usr/X11R6/lib conftest.c -lgdal  -lintl -lcurl -lXm -lXt -lXp 
-lXext   -lSM -lICE -lX11  -lpcre -lproj -ltiff -lgeotiff >&5
/usr/local/lib/libgdal.a(gdaldrivermanager.o)(.text+0x32):gdaldrivermanager.cpp: 
undefined reference to `___gxx_personality_sj0'
/usr/local/lib/libgdal.a(gdaldrivermanager.o)(.text+0x70):gdaldrivermanager.cpp: 
undefined reference to `operator new(unsigned)'
/usr/local/lib/libgdal.a(gdaldrivermanager.o)(.text+0xd8):gdaldrivermanager.cpp: 
undefined reference to `operator delete(void*)'
/usr/local/lib/libgdal.a(gdaldrivermanager.o)(.text+0xf2):gdaldrivermanager.cpp: 
undefined reference to `___gxx_personality_sj0'
/usr/local/lib/libgdal.a(gdaldrivermanager.o)(.text+0x212):gdaldrivermanager.cpp: 
undefined reference to `___gxx_personality_sj0'
/usr/local/lib/libgdal.a(gdaldrivermanager.o)(.text+0x332):gdaldrivermanager.cpp: 
undefined reference to `___gxx_personality_sj0'
/usr/local/lib/libgdal.a(gdaldrivermanager.o)(.text+0x462):gdaldrivermanager.cpp: 
undefined reference to `___gxx_personality_sj0'

And the "undefined references" continue indefinitely.  libgdal.a is 
located in /usr/local/lib. 

One possible clue from the .log:  the only GDAL specific PATH reference 
reads PATH: /usr/local/bin/gdal-config.  This is taken from the 
"GDAL/OGR install guide" at 
qgis.sourceforge.net/docs/install_guide/node8.html (step 7), although it 
didn't make sense to me.  I also did not undersand the LD_LIBRARY_PATH 
comments at step 6.

Now what?

David Flood wrote:

>Jason,
>
>I'm not sure about GDAL but for ./configure to "detect" Imagemagic on
>Cygwin, you have to have the libxml2 files installed.  The test for
>Imagemagic uses those files but Xastir doesn't.
>
>You can check your config.status and config.log files to see why Gdal isn't
>detected properly.
>
>  
>




More information about the Xastir mailing list