dbxml-2.5.16.tar.gz ./buildall.sh --enable-javaInteractive../include/xqilla/framework/XPath2MemoryManager.hpp:90:11: エラー: ‘ptrdiff_t’ does not name a type ln -s dbxml-2.5.16/install/bin/dbxml /usr/local/bin/dbxmlThe problem is is solved by adding #include <cstddef> right after #include <assert.h> in XPath2MemoryManager.hpp
PHP$ ledit dbxml dbxml> createContainer sample.xmldb Creating node storage container dbxml> addDocument doc1 'bar ' Document added, name = doc1 dbxml> addDocument doc1 'Good Morning ' stdin:3: putDocument failed, Error: Document exists: doc1 dbxml> addDocument doc2 'Good Morning ' Document added, name = doc2 dbxml> query 'collection("sample.xmldb")/foo' 2 objects returned for eager expression 'collection("sampleb.xmldb")/foo' dbxml> printbar Good Morning dbxml> quit
cd dbxml-2.5.16/dbxml/src/phpPython
phpize
./configure --with-dbxml=/path/to/dbxml/install
make
ii python-bsddb3 4.8.3-3ubuntu1 Python interface for Berkeley DB cd dbxml-2.5.16/dbxml/src/pythonPerl
sudo python setup.py install
cd dbxml-2.5.16/dbxml/src/perlC++
perl Makefile.PL
make
Javac++ -o helloWorld helloWorld.cpp \ -I$(DBXML)/dbxml/include \ -I$(DBXML)/dbxml/include/dbxml \ -I$(DBXML)/db-4.8.26/build_unix \ -L$(DBXML)/install/lib \ -ldbxml
dbxml-2.5.16/install/lib/db.jar
dbxml-2.5.16/install/lib/dbxml.jar