To compile glest, you must have xerces _headers_. Did you install libxerces-c-dev (it's the package name in Debian sid, guess it's the same in Ubuntu) ? After that it shouldn't say it's not installed.
But that's xerces 3 and not 2.8, so it won't compile. Then you must apply in glest the patch for xerces 3 which is here
http://bugs.gentoo.org/attachment.cgi?id=188429 and it will compile.
and by the way, I had another compilation error in Debian sid :
C++ ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o
glest_game/ai/ai_rule.cpp: In member function ‘virtual bool Glest::Game::AiRuleMassiveAttack::test()’:
glest_game/ai/ai_rule.cpp:156: error: ‘INT_MAX’ was not declared in this scope
glest_game/ai/ai_rule.cpp: In member function ‘virtual bool Glest::Game::AiRuleExpand::test()’:
glest_game/ai/ai_rule.cpp:815: error: ‘INT_MAX’ was not declared in this scope
which I solve with this patch :
--- source/glest_game/ai/ai_rule.cpp.old 2009-07-20 15:18:51.000000000 +0200
+++ source/glest_game/ai/ai_rule.cpp 2009-07-20 15:18:59.000000000 +0200
@@ -11,6 +11,7 @@
#include "ai_rule.h"
#include <algorithm>
+#include <limits.h>
#include "ai.h"
#include "ai_interface.h"
It would be great if these 2 patches could be applied in glest trunk (the second patch has to be checked on other systems before).