Tim reports (via email) that for gdal 1.5.0beta1:
./configure fails for me (on Ubuntu 7.10), but works fine with 1.4.4 and
earlier.
...
checking for MySQL... no
checking for Xerces C++ Parser... no
checking for Expat C++... requested, but compile or link fails!
g++ -I/usr/include -o conftest conftest.cpp -L/usr/lib -lexpat -lpq
-L/usr/local/pgsql/lib -lpq -lz -lm -lrt -ldl
conftest.cpp:1:19: error: expat.h: No such file or directory
conftest.cpp: In function 'int main()':
conftest.cpp:2: error: 'XML_Parser' was not declared in this scope
conftest.cpp:2: error: expected `;' before 'p'
conftest.cpp:2: error: 'p' was not declared in this scope
conftest.cpp:2: error: 'XML_ParserFree' was not declared in this scope
cat conftest.cpp
#include <expat.h>
int main() { XML_Parser p = XML_ParserCreate(NULL);
XML_ParserFree(p); }
configure: error: Please correct Expat options, or don't enable Expat.
I can send full config.log if you want it.
Regards,
Tim Bowden