Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
when I make sleepycat, there are some mistakes, and I attched the snapshot.
I also found when I re-make sleepycat, the error information may be changed, for example, in thesnapshot, it is that mut_pthread.c is error, sometimes is other c file error.
I followed the build_cvs_howto.txt to make file:
firstly add /opt/zimbra/mysql/lib to /etc/ld.so.conf
second #ldconfig
third # export LD_LIBRARY_PATH=/opt/zimbra/mysql/lib:{LD_LIBRARY_PATH}
then #make allclean all.
BTW, where I can download the source code version 3.1?
Last edited by wildhuman; 08-16-2006 at 10:50 PM..
read build_cvs_howto.txt, i think you just have to set JAVA_HOME or maybe not, the makefile might set it for you.
Yes, I followed the build_cvs_howto.txt to install java and set JAVA_HOME.
Now, I attached my make.log.zip (which only includes make mysql and sleepycat) because file size is larger than 40K, I packaged it using winzip.
make.log.allclean.txt is allclean log.
i'm not sure you need to keep doing allclean - i never did when building and got through it ok. it sure will make the whole process veeeeeeery long and painful..
your problem is clearly occurring here:
Code:
config.status: creating Makefile
config.status: creating db_cxx.h
config.status: creating db_int.h
config.status: creating include.tcl
config.status: creating db.h
config.status: creating db_config.h
make[2]: Entering directory `/tmp/zimbra/ThirdParty/sleepycat/db-4.2.52.4/build_unix'
/bin/sh ./libtool --mode=compile cc -fPIC ../dist/../mutex/mut_pthread.c
cc -fPIC ../dist/../mutex/mut_pthread.c -o mut_pthread.o
../dist/../mutex/mut_pthread.c:8:23: error: db_config.h: No such file or directory
../dist/../mutex/mut_pthread.c:20:20: error: db_int.h: No such file or directory
erm, i think fedora4 should have it, this is the way zimbra checks:
/usr/bin/getconf GNU_LIBPTHREAD_VERSION
personally i always went into each third party directory and compiled each one manually, then went back and ran the main make afterwards. have you downloaded the bdb patches as well? what happens if you run the commands in the bdb by hand?
any particular reason you're rolling your own? the binary releases are pretty regular you know
erm, i think fedora4 should have it, this is the way zimbra checks:
/usr/bin/getconf GNU_LIBPTHREAD_VERSION
personally i always went into each third party directory and compiled each one manually, then went back and ran the main make afterwards. have you downloaded the bdb patches as well? what happens if you run the commands in the bdb by hand?
any particular reason you're rolling your own? the binary releases are pretty regular you know
I am not sure, I just followed the build_cvs_howto and Building Zimbra on Fedora Core 5.
what is bdb? When I make thirdparty software one by one, also there are some errors about mtu_thread in sleepycat. But one time I don't know the reason there is no error, when I try again, error is coming.
I have installed binary releases version and it can work well.
For I will develop myself application, I need install this source version. but it is difficult.
cd into the sleepycat directory and run the make from in there, that will compile just bdb on its own. have you downloaded the patches needed? you can also looking at the makefile and following the steps inside by hand. often you'll find one of the steps fails, then the following steps might also fail with causes problems similar to what you're seeing. doing the process step by step by hand is the only way to resolve this.
for sure compiling zimbra is complex and difficult!