[Evolution] Problems Compiling Evolution

I'm trying to follow the advice of David Desrosiers
(http://howto.pilot-link.org/evosync/index.html) on getting my Palm
Devices (an old Handspring Visor, and a new Samsung i500 PDA/cell phone)
to synch with Evolution.  I've downloaded various tarballs
(gnome-pilot-conduits-2.0.10, pilot-link-0.11.8, gnome-pilot-2.0.10,
evolution-1.4.5, db-3.1.17), and run configure, make, then make install,
per his directions. The make for Evolution dies, with the message
"checking for db3 library name... configure: error: Could not find db3
library" - even after I ran configure,make, make install for db-3.1.17.
I am beginning to think that the problem is related to creating the db3
library. I took a look at the file config.log generated by running
configure for Evolution (~/build/evolution-1.4.5/config.log).  It
contains the following:

----------- First reference to db3 ---------------

configure:11866: checking db3 header version
configure:11899: gcc -c -g -O2 -I/usr/local/include  conftest.c >&5
configure:11902: $? = 0
configure:11905: test -s conftest.o
configure:11908: $? = 0
configure:11924: result: 3.1.17
configure:11927: checking for db3 library name
configure:11964: gcc -o conftest -g -O2 -I/usr/local/include  
conftest.c  /usr/local/lib/libdb.a >&5
/usr/local/lib/libdb.a(mut_pthread.o)(.text+0x74): In function
: undefined reference to `pthread_mutexattr_destroy'
/usr/local/lib/libdb.a(mut_pthread.o)(.text+0x104): In function
: undefined reference to `pthread_mutexattr_init'
/usr/local/lib/libdb.a(mut_pthread.o)(.text+0x11c): In function
: undefined reference to `pthread_mutexattr_setpshared'
/usr/local/lib/libdb.a(mut_pthread.o)(.text+0x131): In function
: undefined reference to `pthread_condattr_setpshared'
/usr/local/lib/libdb.a(mut_pthread.o)(.text+0x179): In function
: undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
configure:11967: $? = 1
configure: failed program was:
| #line 11938 "configure"
| /* confdefs.h.  */

Then, I looked at the file ~/build/db-3.1.17/build_unix/config.log. I
looked for "mutex", and found the following (and lots of similar stuff):
int main() {
; return 0; }
configure:3325: checking for sys/select.h
configure:3335: cc -E -D_REENTRANT  conftest.c >/dev/null 2>conftest.out
configure:3365: checking for sys/time.h
configure:3375: cc -E -D_REENTRANT  conftest.c >/dev/null 2>conftest.out
configure:3405: checking for mutexes
configure:3440: cc -o conftest -O2 -D_REENTRANT   conftest.c  1>&5
configure:3428:19: synch.h: No such file or directory
configure: In function `main':
configure:3430: syntax error before "mi"
configure:3431: syntax error before "ci"
configure:3432: `lwp_mutex_t' undeclared (first use in this function)
configure:3432: (Each undeclared identifier is reported only once
configure:3432: for each function it appears in.)
configure:3433: `lwp_cond_t' undeclared (first use in this function)
configure:3435: `mutex' undeclared (first use in this function)
configure: failed program was:
#line 3426 "configure"

I don't know enough to figure out what's going on, but I'm guessing that
there must be files missing in my distribution (such as synch.h and
thread.h) I am running Redhat 9.0.

Any suggestions?


Steven P. Auerbach            steven p auerbach saic com
SAIC, MS C/4                  858-826-6493 (office)
10260 Campus Pt. Drive        619-723-1270 (cell/page)    
San Diego, CA 92121-1522      858-826-6587 (fax)

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