https://bz.apache.org/bugzilla/show_bug.cgi?id=65158

--- Comment #18 from Yann Ylavic <[email protected]> ---
I didn"t mean that you use any git version or command, both httpd and apr don't
use git as repository (github is just a mirror of the sources). Sorry for the
confusion with the github link, it's just that the patch to fix your
./buildconf issue was proposed there, as some contributors sometimes do.

So since you already downloaded the httpd and apr sources (tar.gz) locally, you
now need to download the patches from attachment 37750 and attachment 37760
(say respectfully as apr1.patch and apr2.patch) at the same place.

Now I'll repeat the procedure from comment 8 (hopefully with less confusion
this time):

$ cd /path/to/sources
$ tar xf httpd-2.4.46.tar.gz
$ tar xf apr-1.7.0.tar.bz -C httpd-2.4.46/srclib/apr --strip-components=1
$ tar xf apr-util-1.6.1.tar.gz -C httpd-2.4.46/srclib/apr-util
--strip-components=1
$ cd httpd-2.4.46
$ pushd srclib/apr
$ patch -p0 < ../../../apr1.patch
$ patch -p0 < ../../../apr2.patch
$ popd
$ ./buildconf
$ ./configure "LDFLAGS=-L/usr/local/httpd/lib -Wl,-rpath,/usr/local/httpd/lib"
--prefix=/usr/local/httpd --with-included-apr ... plus your other usual
configure options... 
$ make && sudo make install

There now should be a new installation of httpd+apr in the /usr/local/httpd
directory, copy your configuration file to /usr/local/httpd/conf/myhttpd.conf,
stop any other httpd instance, and start this one:
$ sudo /usr/local/httpd/bin/httpd -f /usr/local/httpd/conf/myhttpd.conf -k
start

Up and listenning according to your configuratin, now ready to test..

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to