Re: [Evolution] db3 configure issues with evolution 1.3.1



On Fri, 2003-03-14 at 06:22, J. Gardner Biggs wrote:

Need to give path to db3 libs to the configure script for evolution
.
Try this :
./configure --prefix=/opt/gnome_cvs/ --with-db3-includes=/opt/db3/include/ --with-db3-libs=/opt/db3/lib/

you would need to change the path to which you hv installed db3 there

good luck

I passed these configure options:

--prefix=/usr/local
--with-db3-includes=/usr/local/BerkeleyDB.3.1/include
--with-db3-libs=/usr/local/BerkeleyDB.3.1/lib

and I still get the error:

checking for db3 compiler flags... -I/usr/local/BerkeleyDB.3.1/include
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking db3 header version... 3.1.17
checking for db3 library name... configure: error: Could not find db3
library


After looking through the config.log, I tried symlinking pthread.h to
/usr/local/include with no luck.

Here is the offending part of the log.

configure:11128: checking for db3 compiler flags
configure:11139: result: -I/usr/local/BerkeleyDB.3.1/include
configure:11161: checking db.h usability
configure:11174: gcc -c -g -O2 -I/usr/local/BerkeleyDB.3.1/include 
conftest.c >&5
configure:11177: $? = 0
configure:11180: test -s conftest.o
configure:11183: $? = 0
configure:11193: result: yes
configure:11197: checking db.h presence
configure:11208: gcc -E -I/usr/local/BerkeleyDB.3.1/include  conftest.c
configure:11214: $? = 0
configure:11233: result: yes
configure:11269: checking for db.h
configure:11276: result: yes
configure:11290: checking db3 header version
configure:11323: gcc -c -g -O2 -I/usr/local/BerkeleyDB.3.1/include 
conftest.c >&5
configure:11326: $? = 0
configure:11329: test -s conftest.o
configure:11332: $? = 0
configure:11348: result: 3.1.17
configure:11351: checking for db3 library name
configure:11388: gcc -o conftest -g -O2
-I/usr/local/BerkeleyDB.3.1/include   conftest.c 
/usr/local/BerkeleyDB.3.1/lib/libdb.a >&5
/usr/local/BerkeleyDB.3.1/lib/libdb.a(mut_pthread.o)(.text+0x74): In
function `__db_pthread_mutex_init':
: undefined reference to `pthread_mutexattr_destroy'
/usr/local/BerkeleyDB.3.1/lib/libdb.a(mut_pthread.o)(.text+0x104): In
function `__db_pthread_mutex_init':
: undefined reference to `pthread_mutexattr_init'
/usr/local/BerkeleyDB.3.1/lib/libdb.a(mut_pthread.o)(.text+0x11c): In
function `__db_pthread_mutex_init':
: undefined reference to `pthread_mutexattr_setpshared'
/usr/local/BerkeleyDB.3.1/lib/libdb.a(mut_pthread.o)(.text+0x131): In
function `__db_pthread_mutex_init':
: undefined reference to `pthread_condattr_setpshared'
/usr/local/BerkeleyDB.3.1/lib/libdb.a(mut_pthread.o)(.text+0x179): In
function `__db_pthread_mutex_lock':
: undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
configure:11391: $? = 1
configure: failed program was:

_______________________________________________
evolution maillist  -  evolution lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]