I have added some more debug code, which shows that at the time of the g++ command being run, the working directory is /home/gibbsi/software/glest/glest/mk/linux. Which (I'm guessing) is where conftest.cc is created, so it's not likely to find xercesc under there, is it? Is there perhaps an include missing from this g++ command that gets run?
From config.log:
configure:4534: checking for xerces-c
configure:4551: g++ -o conftest -I-c/include conftest.cc -L-c/lib -lxerces-c -lpthread >&5
conftest.cc:1:42: xercesc/util/PlatformUtils.hpp: No such file or directory
conftest.cc:2: error: expected constructor, destructor, or type conversion before ';' token
conftest.cc: In function `int main(int, char**)':
conftest.cc:6: error: `XMLPlatformUtils' has not been declared
conftest.cc:6: error: `Initialize' undeclared (first use this function)
conftest.cc:6: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:4557: $? = 1
configure: failed program was:
| #include <xercesc/util/PlatformUtils.hpp>
| XERCES_CPP_NAMESPACE_USE;
| int
| main(int argc, char** argv)
| {
| XMLPlatformUtils::Initialize();
| ;
| return 0;
| }
|
configure:4593: result: not found
configure:4608: error: Please install xerces-c