On Thu, 11 Jan 2024 01:00:26 -0800
"Randolf Richardson" <rand...@modperl.pl> wrote:

>       I also attached my installation notes with the hopes that this may 
> be helpful to anyone else installing this upgrade on Debian 12.4 (or 
> another similar version of Linux).

Hi,

I'm reviving this thread to send Randolf a big THANK YOU for this, it enabled 
me to install libapreq-2.18 on a fresh Debian install (12.8, Stable).

All I had to do to complete the installation was to add 
libapache2-mod-perl2-dev to the initial 'apt install' instruction, as you can 
see below.

# 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:    <rand...@inter-corporate.com>
# 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 
libapache2-mod-perl2-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


-- 
                                        Bien à vous, Vincent Veyron 

https://compta.libremen.com
Logiciel libre de comptabilité générale en partie double

Reply via email to