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

Axel Thimm Axel.Thimm at ATrpms.net
Wed May 30 23:47:04 CEST 2007


Hi,

On Wed, May 30, 2007 at 06:22:10PM +0900, Scott A. Hughes wrote:
> 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.

this is a side-effect at people yelling at ATrpms for replacing
packages from the system: I'm using newer autotools than what RHEL3
ships comparable to what RHEL5 ships. With autotools its always a good
idea to use the latest even for older platforms.

Still people didn't like these packages being superseeded and
therefore they are currently not published. I can place them somewhere
for you do download, perhaps under people.atrpms.net? I don't want to
make them globally visible again, because people will start moaning
about too many packages being replaced.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20070530/0e734357/attachment.bin 


More information about the atrpms-users mailing list