# These instructions were written on Debian (Linux) to upgrade # libapreq-2.17 to libapreq-2.18 on 2024-Jan-11. # # Operating System: Debian 12.4 # Notes written by: Randolf Richardson # Author's eMail: # Web site address: https://www.inter-corporate.com/ # Web site address: https://www.randolf.ca/ # apt install subversion libextutils-xsbuilder-perl libtool-bin apache2-dev svn checkout http://svn.apache.org/repos/asf/httpd/apreq/trunk/ httpd-apreq-2 cd httpd-apreq-2 ./buildconf autoconf # Note: Use "whereis apxs" to confirm path of apxs then update # the --with-apache2-apxs option accordingly: # perl Makefile.PL --with-apache2-apxs=/usr/bin/apxs make make test # Note: Backup the following directories prior to installing: # /usr/include/apache2/ # /usr/include/apr-1.0/ # /usr/include/apreq2/ # /usr/lib/apache2/modules/ # # Also: If we don't remove the libapreq2-3 package, then the # Apache 2 httpd daemon will use the older version. (Do # not use "apt purge" to remove this module.) # systemctl stop apache2 apt remove libapreq2-3 make install a2enmod apreq2 systemctl start apache2