On 12/21/19 7:37 AM, Stéphane Blondon wrote:
Le ven. 20 déc. 2019 à 19:02, Nick Kew <[email protected]> a écrit :
I take it you have a good reason to want that rather than a packaged version
such as Debian's?
I'd like to provide a patch to a (whishlist) bug report I've done (#63079).
What did buildconf tell you?
According to the INSTALL file, I check outed `apr` trunk in
srclib/apr. After adding several lacking packages, it seems
./configure is ok. (The full output is in attachment.)
Attachment TLDR. Was that apr configure or httpd configure?
It was httpd configure.
I built successfully from the trunk on a Debian 11 (Bullseye) system using the
commands below.
I only placed the trunk version of APR in srclib/, since both APR and APR-UTIL are now combined in
the trunk version.
I was able to build, install, and run the resulting binary without error. Perhaps you can spot
whatever was different in your efforts.
-tom-
apt install subversion gcc make automake autoconf libtool-bin python
apt install libexpat1-dev libssl-dev libpcre3-dev zlib1g-dev libbrotli-dev
libnghttp2-dev
svn checkout http://svn.apache.org/repos/asf/httpd/httpd/trunk httpd-trunk
# At this point ./httpd-trunk/srclib contains: Makefile.in
svn checkout http://svn.apache.org/repos/asf/apr/apr/trunk
httpd-trunk/srclib/apr
# At this point ./httpd-trunk/srclib contains: Makefile.in apr
cd httpd-trunk
./buildconf
./configure --prefix=/home/tomd/apache_trunk --with-included-apr
--enable-mods-shared=most
# At this point ./srclib contains: Makefile Makefile.in apr
make
make install