Actually, I think the configure script does detect it (at least
it does for me). However, it then tries to compile a little test
program which fails. Unfortunately the output of the configure
script makes it look like a problem with the library not being
detected rather than the test program not being compiled.
If you look into config.log, you will see the "true reason":
configure:23961: mingw32-g++ -o conftest.exe -g -O2 -I/usr/include
-L/usr/lib -lexpat conftest.cpp -L/usr -L/usr/lib -ljasper -L/usr
-L/usr/lib -lcfitsio -lpq -LC:/msys/1.0/lib -lpq -lz >&5
C:/DOCUME~1/bart/LOCALS~1/Temp/ccAjaaaa.o: In function `main':
C:/msys/1.0/src/gdal-1.5.0/conftest.cpp:65: undefined reference to
`XML_ParserCreate'
C:/msys/1.0/src/gdal-1.5.0/conftest.cpp:66: undefined reference to
`XML_ParserFree'
collect2: ld returned 1 exit status
Benjamin
marco.pasetti@alice.it wrote:
Hi Benjamin,
for xerces I cannot help, while about expat I did a lot of attempts.
GDAL configure doesn't want to find it, and I don't know why!!!
I think that you would waste your time; it's better to concentrate
strengths on xercesMarco