[Kolab-devel] Solaris 10 Sparc Kolab V2.2.1 Beta 1 db4 not found
ComCept Soliva
soliva at comcept.ch
Wed Dec 31 10:24:25 CET 2008
Hi all
proceeded as mentioned but installation fails again with old issue
[issue1809]:
checking if we should use cURL for url streams... no
checking size of long... (cached) 4
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for db4 major version... configure: error: Header contains
different version
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.12696 (%build)
RPM build errors:
Bad exit status from /kolab/RPM/TMP/rpm-tmp.12696 (%build)
+ exit 1
ATTENTION DB4 can not be recognized because of not correct recognized
headers.
********* Manipulate the db4 spec file (changed only from "--disable-shared
to enable-shared=yes" ) manually and proceed to install db4
manually:
/kolab/bin/openpkg rpm -iv
/tmp/install-kolab....8544/db-4.5.20.2-20070628.src.rpm
-------------------- output /kolab/bin/openpkg --------------------
db-4.5.20.2-20070628
-------------------- output /kolab/bin/openpkg --------------------
# vi /kolab/RPM/SRC/db/db.spec
-------------------- /kolab/RPM/SRC/db/db.spec --------------------
%endif
--disable-java \
--with-mutex="$mutex" \
--enable-shared=yes
-------------------- /kolab/RPM/SRC/db/db.spec --------------------
# opa /kolab
# /kolab/bin/openpkg rpmbuild -bb /kolab/RPM/SRC/db/db.spec
# /kolab/bin/openpkg rpm --force -Uvh
/kolab/RPM/PKG/db-4.5.20.2-20070628.sparc64-solaris10-kolab.rpm
# ls -la /kolab/include/db*
-r--r--r-- 1 kolab 102110 Dec 31 10:11 /kolab/include/db.h
# ls -la /kolab/lib/libdb*
-rw-r--r-- 1 kolab 797 Dec 31 10:17 /kolab/lib/libdb-4.5.la
-rwxr-xr-x 1 kolab 1107337 Dec 31 10:17 /kolab/lib/libdb-4.5.so
lrwxrwxrwx 1 kolab 12 Dec 31 10:18 /kolab/lib/libdb-4.so ->
libdb-4.5.so
-rw-r--r-- 1 kolab 1451450 Dec 31 10:17 /kolab/lib/libdb.a
lrwxrwxrwx 1 kolab 12 Dec 31 10:18 /kolab/lib/libdb.so ->
libdb-4.5.so
Used the known workaround and proceeded. Updated documentation:
http://www.comcept.ch/kolab2/2.2.1-beta1/solaris_10_kolab2_install.txt
http://www.comcept.ch/kolab2/2.2.1-beta1/kolab-install-Dec-31-09-36-14.zip
kind regards
Andrea
Mail: soliva at comcept.ch
More information about the devel
mailing list