Search found 5881 matches

by fmk
Thu Jun 24, 2004 10:43 am
Forum: Framework
Topic: Build issues
Replies: 2
Views: 4703

QUESTION 1: compilation problems with BerkeleyDB are typically due to the fact that they, like MySQL folks, changed their API. If you are version 4.1 or greater you need to add -D_BerkeleyDB41orGreater to the list of C++ flags in the Makefile.def.

if you still have probelms you should use 'cvs update -d' to get the latest version of OpenSees, as we no longer include it be default in a build. To remove it youself you
have to edit 3 files:
1. OpenSees/SRC/Makefile - remove the BerkeleyDBDatastore.o line
2. OpenSees/SRC/database/Makefile - remove BerkeleyDBDatastore.o from list of objects.
3. OpenSees/Makefile.def - remove the -DBERKELEYDB flag

if it fails to lonk complaining about BErkeleyDBDatastore being undefined look in
OpenSees/SRC/database/TclDatabaseCommands.cpp and remove BerkeleyDBDatastore
references.

QUESTION 2: the problem here is that the compilation failed in the database and no libOpenSees was created. if 'make' fails in one of the SRC directories the libs are not created.

QUESTION 3: when using MySQL we only call the MySQL API, what MySQL depends on your installation and hence it will not matter if it was built to use BerkeleyDB underneath.