[ATrpms-users] Problems building dovecot-1.0.0-8_56.src.rpm on RHEL3

Scott A. Hughes sahughes at sanguine.net
Wed May 30 11:22:10 CEST 2007


Hello.

Taking the build options on the following URI as a guideline I have successfully
built Dovecot 1.0.0 on RHEL4 using the dovecot-1.0.0-8_56.src.rpm source rpm.

http://wiki.dovecot.org/PrebuiltBinaries

----- Excerpt STARTS here -----

For example on RHEL4 you need

# rpmbuild --rebuild --without inotify --with pam_stack --with forcequota2
dovecot-1.0-2_45.rc22.at.src.rpm

For RHEL3 you only need (on RHEL3 quota headers are not broken)

# rpmbuild --rebuild --without inotify --with pam_stack
dovecot-1.0-2_45.rc22.at.src.rpm

----- Excerpt ENDS here -----

However, the build fails when done on a RHEL3 system.

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.56923
+ umask 022
+ cd /home/sahughes/redhat/BUILD
+ cd dovecot-1.0.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -f ./configure
+ touch config.rpath
+ libtoolize -f
libtoolize: `/usr/share/aclocal/libtool.m4' is serial 46, less than 48 in `aclocal.m4'
To remain compatible, you should update your `aclocal.m4' by running aclocal.
+ autoreconf
configure.in:1817: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
configure.in: required file `./mkinstalldirs' not found
autoreconf: automake failed with exit status: 1
error: Bad exit status from /var/tmp/rpm-tmp.56923 (%build)

Axel, you have evidently succeeded in building the RPMs for RHEL3 as they are
located on your site. (The dovecot RPMs in particular have been very useful. Many
thanks.)

http://atrpms.net/dist/el3/dovecot/

Would you kindly advise me as to how you overcome or avoid the above error?

Also, there is a build requirement in the spec file for gettext-devel, however this
package is not part of the RHEL3 release (at least not the standard packages,
anyway, and I could not find any alternatives. The gettext package was not split as
at RHEL3). This also suggests to me that you have a non-standard build environment
or have used some undocumented methods to build the RHEL3 RPMs for Dovecot 1.0.0. If
this is the case, please advise what changes I should make to my build environment
to enable successful building of the above src.rpm on RHEL3.

Thanking you in advance.

Scott.

--




More information about the atrpms-users mailing list