Hello.
I am attempting to build an RPM from the httpd-2.0.65.tar.gz tarball on a
RH 5.7 system to deploy
to existing systems running httpd 2.0.63 and I would like some
assistance.
I have the base apr lib packages installed :
rpm -qa | egrep "apr|apu"
apr-1.2.7-11.el5_6.5
apr-util-devel-1.2.7-11.el5_5.2
apr-devel-1.2.7-11.el5_6.5
apr-devel-1.2.7-11.el5_6.5
apr-util-devel-1.2.7-11.el5_5.2
apr-1.2.7-11.el5_6.5
apr-util-1.2.7-11.el5_5.2
apr-util-1.2.7-11.el5_5.2
I had to make some subtle changes to the httpd.spec file to get it to
build
by replacing ³ap[u|r]-config² with ³ap[u|r]-1-config² , and the remove
the ³Serial² option :
[jdonnellyd@eng-builds-fir httpd-2.0.65.org]$ cd httpd-2.0.65/
[jdonnellyd@eng-builds-fir httpd-2.0.65]$ diff httpd.spec
../../httpd-2.0.65/httpd.spec
21c21,28
< BuildPrereq: /usr/bin/apr-config, /usr/bin/apu-config
---
> ##
> # vmem changed /usr/bin/apr-config to /usr/bin/apr-1-config
> # /usr/bin/apu-config to /usr/bin/apu-1-config
> # jpd 7/1/15
> ##
>
> #BuildPrereq: /usr/bin/apr-config, /usr/bin/apu-config
> BuildPrereq: /usr/bin/apr-1-config, /usr/bin/apu-1-config
63c70
< Serial: 1
---
> # Serial: 1
103a111,116
> ##
> # vmem changed /usr/bin/apr-config to /usr/bin/apr-1-config
> # /usr/bin/apu-config to /usr/bin/apu-1-config
> # jpd 7/1/15
> ##
>
114,115c127,128
< --with-apr=/usr/bin/apr-config \
< --with-apr-util=/usr/bin/apu-config \
---
> --with-apr=/usr/bin/apr-1-config \
> --with-apr-util=/usr/bin/apu-1-config \
##
Yet the package fails to build ( start of long list of compile errors ) :
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -pthread -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/kerberos/include
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER
-I/usr/include/apr-1 -I.
-I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/server
-I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/prefork/server/mpm/prefor
k -I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/prefork/include
-I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/os/unix
-I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/server/mpm/prefork
-I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/modules/http
-I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/modules/filters
-I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/modules/proxy
-I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/include -I/net
/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/modules/generators
-I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65
/prefork/server -I/usr/include/openssl -I/usr/kerberos/include
-I/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65
/modules/dav/main -prefer-non-pic -static -c
/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/server/provider.c &
& touch provider.lo
/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/server/util_time.c: In
function 'cached_explode':
/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/server/util_time.c:122:
warning: implicit declaration of function 'APR_STATUS_IS_SUCCESS'
/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/server/util_filter.c: In
function
'ap_save_brigade':/net/home/jdonnelly/rpmbuild/BUILD/httpd-2.0.65/server/ut
il_filter.c:531: warning: implicit declaration of funct
ion 'APR_RING_FOREACH'@
I am looking for recommendations for how to get this component built. I
was expecting it to work on RH 5.7, do I
need to go back to a older platform (Cent OS 4.x) ?
Thank you,
JD
--
JDonnelly | Software Sustaining Engineer
Violin Memory Systems | www.vmem.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]