On Wed, 19 Feb 2014, Venkatesh Prabu Narayanan wrote:
> While doing rpmbuild we are getting this error,
>
> [root@localhost httpd]# rpmbuild -tb httpd-2.2.24.tar.gz
> error: Failed build dependencies:
> pcre-devel >= 5.0 is needed by httpd-2.2.24-1.i386
> /usr/bin/apr-1-config is needed by httpd-2.2.24-1.i386
> /usr/bin/apu-1-config is needed by httpd-2.2.24-1.i386
>
...
>
> Please clarify me what version of pcre should I use to fix the httpd
> dependency problem. Awaiting your response.
I have no idea about httpd or apache, but I can tell you that the
current (latest) release of PCRE is 8.34, with source available here:
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.34.tar.gz
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.34.tar.bz2
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.34.zip
If you are running a version less than 5.0 you are very out-of-date.
Even 5.0 is now almost 10 years old.
Philip
--
Philip Hazel