Code: Select all
./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-apxs=/usr/local/apache2/bin/apxs CFLAGS="-std=gnu99"
Code: Select all
1. SWIG
checking swig version... 3.0.8
configure: WARNING: Detected SWIG version 3.0.8
configure: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0
I then downloaded, compiled and installed the latest GNU gettext (0.19.7). After installing the latest gettext, make ran successfully without any errors.
Install subversion
Code: Select all
make install
Code: Select all
--with-apache-libexecdir[=PATH]
Install Apache modules to Apache's configured
modules directory instead of LIBEXECDIR; if PATH is
given, install to PATH.
Code: Select all
make install-mods-shared
if true ; then cd subversion/mod_dav_svn ; /usr/bin/ginstall -c -d "/usr/local/apache2/modules" ; /usr/local/apache2/bin/apxs -i -S LIBEXECDIR="/usr/local/apache2/modules" -n dav_svn mod_dav_svn.la ; fi
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apr/build-1/libtool' mod_dav_svn.la /usr/local/apache2/modules
/usr/local/apr/build-1/libtool --mode=install cp mod_dav_svn.la /usr/local/apache2/modules/
libtool: install: error: cannot install `mod_dav_svn.la' to a directory not ending in /usr/local/libexec
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods-shared] Error 1
Lesson learned: When trying to upgrade one application to the latest version, there will be a lot other applications need to be updated as well.