[ATrpms-users] Help rebuilding Exim 4.72 src rpm from EL5 for EL4
Mike Ridgers
mike at ridgers.net
Wed Jan 12 19:46:47 CET 2011
Hi John,
Just got it to build!
I found this thread: http://www.directadmin.com/forum/showthread.php?t=38586&page=2
People trying to do the same thing.
Quote:
> During the rpm rebuild of src.rpm on CentOS 4.8, I got the following error due to pcre.h not found:
>
> It is strange, since pcre* package are installed, and pcre.h exists.
> Any idea? Maybe exim.h need to use #include "pcre.h" instead of #include <pcre.h>?
>
> I found a bypass by setting a symbolic link:
> ln -s /usr/include/pcre/pcre.h /usr/include/pcre.h "
End Quote.
I ran the " ln -s /usr/include/pcre/pcre.h /usr/include/pcre.h" command as above & that fixed it !
I have just installed http://dl.atrpms.net/all/atrpms-rpm-config-187-1.noarch.rpm as you sugested & have rebuilt it again.
However when I now go to update Exim: rpm -Uvh exim-4.72-41.RHL4.i386.rpm exim-greylist-4.72-41.RHL4.i386.rpm
I get :
error: Failed dependencies:
/etc/pki/tls/certs is needed by exim-4.72-41.RHL4.i386
/etc/pki/tls/private is needed by exim-4.72-41.RHL4.i386
This has to be simple but both the listed directories are already there - I can cd to them !?
Cheers,
Mike.
-----Original Message-----
From: John Robinson [mailto:john.robinson at anonymous.org.uk]
Sent: 12 January 2011 18:19
To: User discussion about ATrpms.net
Cc: Mike Ridgers
Subject: Re: [ATrpms-users] Help rebuilding Exim 4.72 src rpm from EL5 for EL4
On 12/01/2011 18:01, Mike Ridgers wrote:
> Hi John,
> Just had a look at the 4.72 EL5 spec file& it already has a line for pcre-devel as below:
>
> BuildRequires: pcre-devel sqlite-devel
>
> I added the line
>
> Requires: pcre
That sounds right.
> The pcre packages were already installed on Centos 4.8 was well:
>
> package pcre-4.5-4.el4_6.6 is already installed package
> pcre-devel-4.5-4.el4_6.6 is already installed
>
> Maybe the version is too old as I note Centos 5 has version "6.6-2.el5_1.7".
The error given earlier made me think pcre-devel was missing during the build. Are you still getting the "pcre.h: No such file or directory"
error? But you could try building that CentOS 5 pcre for CentOS 4 just in case, and see where it gets you.
Cheers,
John.
More information about the atrpms-users
mailing list