Re: [bdbxml] Installing DBXML-2.1.8 with exiting version of BerkelyDB-4.2
Manjeet Chaudhary <[email protected]> Thu, 25 Aug 2005 20:26:37 +0530
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Hello George
I got your mail when i was retrying to install DBXML using existing
version of DB (db4-4.2.52-7.1).
I installed Xerces , Pathan, XQuery. And further tried to install DBXML
using following command.
../dist/configure --with-berkeleydb=/usr
make
Configure was successful, but "make" failed with following error.
------------------------------------------------------
make[1]: Entering directory `/root/dbxml-2.1.8/dbxml/src/dbxml'
g++ -c -I/root/dbxml-2.1.8/dbxml/build_unix
-I/root/dbxml-2.1.8/dbxml/build_unix/../dist/../include
-I/root/dbxml-2.1.8/dbxml/build_unix/../dist/../src/dbxml -I/usr/include
-I/root/dbxml-2.1.8/xquery-1.1.0/include -I/usr/local/include
-D_ISOC99_SOURCE -D_GNU_SOURCE -D_REENTRANT -DDBXML_BUILD_ALL
-DDBG_ENABLED -g -O2 Buffer.cpp -fPIC -DPIC -o
/root/dbxml-2.1.8/dbxml/build_unix/.libs/Buffer.o
g++ -c -I/root/dbxml-2.1.8/dbxml/build_unix
-I/root/dbxml-2.1.8/dbxml/build_unix/../dist/../include
-I/root/dbxml-2.1.8/dbxml/build_unix/../dist/../src/dbxml -I/usr/include
-I/root/dbxml-2.1.8/xquery-1.1.0/include -I/usr/local/include
-D_ISOC99_SOURCE -D_GNU_SOURCE -D_REENTRANT -DDBXML_BUILD_ALL
-DDBG_ENABLED -g -O2 Buffer.cpp -o
/root/dbxml-2.1.8/dbxml/build_unix/Buffer.o >/dev/null 2>&1
g++ -c -I/root/dbxml-2.1.8/dbxml/build_unix
-I/root/dbxml-2.1.8/dbxml/build_unix/../dist/../include
-I/root/dbxml-2.1.8/dbxml/build_unix/../dist/../src/dbxml -I/usr/include
-I/root/dbxml-2.1.8/xquery-1.1.0/include -I/usr/local/include
-D_ISOC99_SOURCE -D_GNU_SOURCE -D_REENTRANT -DDBXML_BUILD_ALL
-DDBG_ENABLED -g -O2 Indexer.cpp -fPIC -DPIC -o
/root/dbxml-2.1.8/dbxml/build_unix/.libs/Indexer.o
In file included from IndexSpecification.hpp:22,
from Indexer.hpp:17,
from Indexer.cpp:13:
ConfigurationDatabase.hpp:85: error: ISO C++ forbids declaration of
`DbSequence' with no type
ConfigurationDatabase.hpp:85: error: expected `;' before '*' token
make[1]: *** [/root/dbxml-2.1.8/dbxml/build_unix/Indexer.lo] Error 1
make[1]: Leaving directory `/root/dbxml-2.1.8/dbxml/src/dbxml'
make: *** [dbxml_subdir] Error 2
------------------------------------------------------
what can be the problem. Is this a problem due to lower version of
BerkeleyDB.
I am already using the same method as you suggested. But i need to take
care for the existing version.
I will retry to install dbxml; in the way you are suggesting.
Manjeet
>
> Manjeet,
>
> Allow me to wade into the waters here...
> I'm sorry you have been struggling.
> The issue is as you've found -- Python, and other modules are linked
> with DB 4.2, and BDB XML 2.1.8 requires DB 4.3. It also
> requires that DB be compiled with the same compiler as BDB XML.
> The basics are explained in the dbxml/src/python/README file
> in the distribution.
>
> So, first you need to build all of BDB XML 2.1.8, including
> DB 4.3, and install it somewhere.
>
> The way we've recommended to solve the DB issue has been to
> change the way you build the DB version of python using
> pybsddb. By default, pybsddb builds a module called
> "bsddb" but you can change that. If you change the
> module name (to whatever you want), and build against
> the 4.3 version that you built with 2.1.8, you should be able to
> have the 2 DB modules co-exist.
>
> Let the list know how this works for you!
>
> Regards,
>
> George
>
>> Hello Conrad
>>
>> Python and Apache are already using BerkeleyDB-4.2. Which i should
>> retain.
>> And i have to compile DBXML using above version.
>>
>> But i do not know ho to do that. Can you guide me or provide some
>> pointer for that.
>> The DBXML installation doc available with the package seems to be
>> insufficient to handle this issue.
>>
>> Thank you
>> Manjeet Ch
>
>
>
>
>
> ------------------------------------------
> To remove yourself from this list, send an
> email to [email protected]
>
>
>
>
>
------------------------------------------
To remove yourself from this list, send an
email to [email protected]