jonium
Verified User
Hello,
I have a server with:
CentOS release 6.10 (Final)
DA 1.55
Custombuild 2.0.0 (rev: 1972)
Apache 2.4.37
Updating modsecurity from 2.9.2 to 2.9.3 I got this error:
How can I fix it?
I have a server with:
CentOS release 6.10 (Final)
DA 1.55
Custombuild 2.0.0 (rev: 1972)
Apache 2.4.37
Updating modsecurity from 2.9.2 to 2.9.3 I got this error:
Code:
Updating ModSecurity
Downloading modsecurity-2.9.3.tar.gz...
--2018-12-17 19:50:36-- http://files9.directadmin.com/services/custombuild/modsecurity-2.9.3.tar.gz
Resolving files9.directadmin.com... 69.162.69.58
Connecting to files9.directadmin.com|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2322235 (2.2M) [application/x-gzip]
Saving to: `/usr/local/directadmin/custombuild/modsecurity-2.9.3.tar.gz'
0K .......... .......... .......... .......... .......... 2% 190K 12s
...
2250K .......... ....... 100% 11.5M=1.6s
2018-12-17 19:50:38 (1.41 MB/s) - `/usr/local/directadmin/custombuild/modsecurity-2.9.3.tar.gz' saved [2322235/2322235]
Found /usr/local/directadmin/custombuild/modsecurity-2.9.3.tar.gz
Extracting /usr/local/directadmin/custombuild/modsecurity-2.9.3.tar.gz...
Installing modsecurity-2.9.3...
calling aclocal:
configure.ac:50: warning: macro `AM_PROG_AR' not found in library
/usr/bin/m4:configure.ac:204: bad expression in eval: m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MAJOR " | awk {'print '} | sed 's/\"//g') + m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MINOR " | awk {'print '} | sed 's/\"//g')
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
calling libtoolize:
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build'.
libtoolize: linking file `build/libtool.m4'
libtoolize: linking file `build/ltoptions.m4'
libtoolize: linking file `build/ltsugar.m4'
libtoolize: linking file `build/ltversion.m4'
libtoolize: linking file `build/lt~obsolete.m4'
calling automake:
/usr/bin/m4:configure.ac:204: bad expression in eval: m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MAJOR " | awk {'print '} | sed 's/\"//g') + m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MINOR " | awk {'print '} | sed 's/\"//g')
autom4te: /usr/bin/m4 failed with exit status: 1
automake: autoconf failed with exit status: 1
calling autoreconf:
configure.ac:50: warning: macro `AM_PROG_AR' not found in library
/usr/bin/m4:configure.ac:204: bad expression in eval: m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MAJOR " | awk {'print '} | sed 's/\"//g') + m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MINOR " | awk {'print '} | sed 's/\"//g')
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
Configuring modsecurity-2.9.3...
Done!
How can I fix it?