[ATrpms-users] Problems building dovecot-1.0.0-8_56.src.rpm on RHEL3
Scott A. Hughes
sahughes at sanguine.net
Thu May 31 12:30:55 CEST 2007
> Hi,
Thank you for your reply.
> 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:
The pros and cons have no doubt been discussed here before, so I will refrain from
commenting in detail, but will say that personally, I have no problem with such
replacements. I appreciate your pro-active approach. (After all, it would be this
thinking that gives impetus to your work on the RPMs in the first place). I too
adopt this approach with my server environments and those of my clients.
> I'm using newer autotools than what RHEL3
Ah, that explains it.
> ships comparable to what RHEL5 ships. With autotools its always a good
> idea to use the latest even for older platforms.
Yes, I agree.
> 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.
That would be very much appreciated. Thank you Axel.
I will send you a follow-up email off-list re' a download location.
Cheers,
Scott.
--
More information about the atrpms-users
mailing list