I'm trying to build dbxml on a ubuntu 12.04.1 LTS running java-6-openjdk.
I'm running buildall.sh, the install appears to go well, then throws out an error and stops the install
error as below: In file included from ../src/framework/ReferenceCounted.cpp:24:0:
+../include/xqilla/framework/XPath2MemoryManager.hpp:90:11: error: âptrdiff_tâ does not name a type+
+make: *** [ReferenceCounted.lo] Error 1+ make: Leaving directory `/opt/york/digilib/dbxml-2.5.16/xqilla/build'
+make: *** [all-recursive] Error 1.+
this happens with the latest version, dbxml-2.5.16, as well as dbxml-2.5.13 (which is in fact the version we need to build).
Does any one have anyone idea what may be wrong, and what the fix is?
I encountered the same problem on Ubuntu 12.10 running Oracle Java 6. [This post|http://tlmaloney.ruhoh.com/sysadmin/installing-bdb-xml-in-ubuntu/] suggests a fix that worked for me.
Modify dbxml-2.5.16/xqilla/include/xqilla/framework/XPath2MemoryManager.hpp to add
after line 26.
That was enough to get me to the next build problem which I will post about separately.