[Kroupware] Progress report, remarks about the QIM, build failure

David Pavlotzky kroupware@mail.kde.org
Thu, 06 Feb 2003 17:56:17 +0100


Hi,

A progress report on my kolab installation attempt:

The confusion with the ftp directories is solved, phew.

Step 2 of the QIM doesn't seem to work. Instead of

sh ./openpkg-1.2.0-1.2.0.src.rpm --prefix=/kolab --user=kolab --group=kolab 
2>&1 | tee > kolab.log

I used

sh ./openpkg-1.2.0-1.2.0.src.sh --prefix=/kolab --user=kolab --group=kolab 
2>&1 | tee > kolab.log

That seems to work.

Installing the packages:

It says binutils.spec in the QIM, shouldn't this be just binutils?

There's no procmail package in the ftp directory is it is the package missing 
or is the documentation wrong? Well just to be sure I will install the 
procmail package I found in beta1, since this is the latest package I can 
find.

zlib is also missing, see this thread:

http://lists.kde.org/?l=kroupware&m=104452777102221&w=2

readline is missing in the directory

perl-ssl needs openssl, maybe move openssl up the list so it gets installed 
before perl-ssl.

flex depends on bison, so maybe move bison above flex in the QIM

The build fails for me on imapd, here's the log:

Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e 
/kolab/RPM/TMP/rpm-tmp.91109
+ cd /kolab/RPM/TMP
+ cd /kolab/RPM/TMP
+ rm -rf cyrus-imapd-2.1.11
+ /kolab/lib/openpkg/gzip -dc /kolab/RPM/SRC/imapd/cyrus-imapd-2.1.11.tar.gz
+ /kolab/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cyrus-imapd-2.1.11
++ id -u
+ '[' 1005 = 0 ']'
++ id -u
+ '[' 1005 = 0 ']'
+ chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (groupfile.patch):'
Patch #0 (groupfile.patch):
+ /kolab/lib/openpkg/patch -p0 -s
+ echo 'Patch #1 (makefile.patch):'
Patch #1 (makefile.patch):
+ /kolab/lib/openpkg/patch -p0 -s
+ echo 'Patch #2 (configure-db4.patch):'
Patch #2 (configure-db4.patch):
+ /kolab/lib/openpkg/patch -p0 -s
+ exit 0
Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix 
-e /kolab/RPM/TMP/rpm-tmp.20155
+ cd /kolab/RPM/TMP
+ cd cyrus-imapd-2.1.11
+ /kolab/lib/openpkg/shtool subst -e 's;db-4.1;db3 db-4.1;g' configure
+ cflags=-I/kolab/include
+ ldflags=-L/kolab/lib
+ CC=/kolab/bin/cc
+ CPPFLAGS=-I/kolab/include
+ CFLAGS=-O2 -pipe -I/kolab/include
+ LIBS=
+ LDFLAGS=-L/kolab/lib
+ ./configure --prefix=/kolab --libdir=/kolab/lib --with-openssl=/kolab 
--with-dbdir=/kolab --with-staticsasl=/kolab --with-statedir=/kolab/var/imapd 
--with-auth=unix --with-cyrus-prefix=/kolab --with-cyrus-user=kolab 
--with-cyrus-group=kolab --without-ucdsnmp --without-zephyr 
--with-static-sasl=/kolab --with-perl=/kolab/bin/perl --without-afs
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for makedepend... /kolab/RPM/TMP/cyrus-imapd-2.1.11/tools/not-mkdep
configure: warning: Makedepend is not installed on this system.  You should 
compile and install the version from the makedepend subdirectory.
checking for gcc... /kolab/bin/cc
checking whether the C compiler (/kolab/bin/cc -O2 -pipe -I/kolab/include 
-L/kolab/lib) works... yes
checking whether the C compiler (/kolab/bin/cc -O2 -pipe -I/kolab/include 
-L/kolab/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether /kolab/bin/cc accepts -g... yes
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /bin/install -c
checking how to run the C preprocessor... /kolab/bin/cc -E
checking for AIX... no
checking for strerror in -lcposix... no
checking for mawk... no
checking for gawk... gawk
checking for working const... yes
checking for long file names... yes
checking for __attribute__... yes
checking for runpath switch... -Wl,-rpath,
checking for unistd.h... yes
checking for sys/select.h... yes
checking for sys/param.h... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for ftruncate... yes
checking for strerror... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for vprintf... yes
checking for db_create in -ldb... yes
checking duplicate db database backend... db3_nosync
checking mboxlist database backend... db3
checking seen state database backend... flat
checking subscription database backend... flat
checking TLS cache database backend... db3_nosync
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking for main in -lfl... yes
checking for library containing regcomp... none required
checking for rxposix.h... no
checking for strerror... (cached) yes
checking for sys/resource.h... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for daemon... yes
checking for setsid... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking for sys/pstat.h... no
checking for sys/sysnews.h... no
checking for PS_STRINGS... no
checking for SCO... no
checking for setproctitle usability... yes
checking nonblocking method... fcntl
checking timezone GMT offset method... tm
checking for shared mmap... yes
checking for fcntl... yes
checking for fdatasync... yes
checking for sigvec... yes
checking for openssl... /kolab
checking for com_err.h... yes
checking for com_err in -lcom_err... yes
checking for compile_et... /usr/bin/compile_et
checking for modern syslog... yes
checking for getdtablesize... yes
checking to use old sieve service name... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for sasl/sasl.h... yes
checking for sasl/saslutil.h... yes
checking for static libsasl... found
checking for gssapi.h... no
checking for gssapi/gssapi.h... yes
checking for db_open in -ldb... no
checking for res_search in -lresolv... yes
checking for gss_unwrap in -lgssapi... no
checking GSSAPI... with implementation mit
checking for res_search in -lresolv... (cached) yes
checking for gsskrb5_register_acceptor_identity... no
checking for sasl/sasl.h... (cached) yes
checking for sasl/saslutil.h... (cached) yes
checking for prop_get in -lsasl2... yes
checking for sasl_checkapop in -lsasl2... no
configure: error: libsasl2 without working sasl_checkapop.  Cannot continue.
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.20155 (%build)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.20155 (%build)


kind regards,

David Pavlotzky