Cyrus-sasl-2.1.17-2 build fails
Shelley Waltz
shwaltz at cabm.rutgers.edu
Mon Feb 2 12:58:51 EST 2004
I cd to the SPEC directory conayining cyrus-sasl.spec,
change db3 to db4 and then try to build ...
rpmbuild -ba cyrus-sasl.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.25820
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf cyrus-sasl-2.1.17
+ /bin/mkdir -p cyrus-sasl-2.1.17
+ cd cyrus-sasl-2.1.17
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/cyrus-sasl-2.1.17.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/cyrus-sasl-1.5.28.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ pushd cyrus-sasl-1.5.28
/usr/src/redhat/BUILD/cyrus-sasl-2.1.17/cyrus-sasl-1.5.28
/usr/src/redhat/BUILD/cyrus-sasl-2.1.17
+ echo 'Patch #0 (cyrus-sasl-1.5.24-rpath.patch):'
Patch #0 (cyrus-sasl-1.5.24-rpath.patch):
+ patch -p1 -b --suffix .rpath -s
+ libtoolize -f
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `config'.
+ aclocal -I ./config -I ./cmulocal
+ automake -a
include/Makefile.am: installing `config/depcomp'
+ autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.
WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':
WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])
WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
+ autoconf
configure.in:687: error: do not use LIBOBJS directly, use AC_LIBOBJ (see
section `AC_LIBOBJ vs LIBOBJS'
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
error: Bad exit status from /var/tmp/rpm-tmp.25820 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.25820 (%prep)
Has anyone been able to build this on RH ES3 from Simon's src rpm?
The Redhat binary sasl package is 2.1.15 and I am tol to use
sasl_autotransition I need 2.1.17.
Any help is greatly appreciated.
On Mon, 2 Feb 2004, Sebastian Hagedorn wrote:
Hi,
-- Shelley Waltz <shwaltz at cabm.rutgers.edu> is rumored to have mumbled on
Montag, 2. Februar 2004 11:37 Uhr -0500 regarding Cyrus-sasl-2.1.17-2 build
fails:
> I am trying to build cyrus-sasl-2.1.17-2 from the invoca.ch
> source rpm on a RH ES3 system.
>
> RH ES3 comes with db4-4.1.25-8.
> The spec file for the src files indicates db3 is required?
> and the build fails ...
>
> rpmbuild --rebuild cyrus-sasl-2.1.17-2.src.rpm
> Installing cyrus-sasl-2.1.17-2.src.rpm
> error: Failed build dependencies:
> db3-devel is needed by cyrus-sasl-2.1.17-2
>
> Must I replace the db4 packages with db3?
I always just replace db3 with db4 in the SPEC file. Works fine for me.
Cheers, Sebastian
--
Sebastian Hagedorn M.A. - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
More information about the Info-cyrus
mailing list