Bug #3124
closed
Added by Peter Manev over 4 years ago.
Updated over 4 years ago.
Description
Using latest
commit f43584661c3cca1f34832e51b4a65347053f7c0f
on CentOS-6
[root@d855cd5c4cc2 suricata]# cat /etc/*elease
CentOS release 6.10 (Final)
CentOS release 6.10 (Final)
CentOS release 6.10 (Final)
[root@d855cd5c4cc2 suricata]# rpm -q centos-release
centos-release-6-10.el6.centos.12.3.x86_64
I get an err during configure when trying to compile suri
checking for strlcpy... no
checking for strlcat... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking host os... installation for x86_64-unknown-linux-gnu OS... ok
checking for thread local storage __thread support... yes
checking checking if gcc supports -march=native... yes
./configure: line 19135: syntax error near unexpected token `else'
./configure: line 19135: `else'
[root@d855cd5c4cc2 suricata]#
To reproduce -
docker pull pevma/sqard:centos-6 && \
docker run --security-opt="apparmor=unconfined" \
--cap-add=SYS_PTRACE --name sqard-centos-6-01 -d -ti \
pevma/sqard:centos-6 /bin/bash && \
docker attach $(docker ps -a |grep sqard-centos-6-01 | awk '{print $1}')
cd /opt/QA/
git clone https://github.com/OISF/suricata.git && \
cd suricata && git clone https://github.com/OISF/libhtp.git -b 0.5.x && \
./autogen.sh && \
./configure --prefix=/opt/suritest/ --sysconfdir=/opt/suritest/etc \
--localstatedir=/opt/suritest/var --enable-geoip --enable-rust-strict --enable-luajit
Centos 6 seems to not get full updates any more just maintenance , so not sure if it is relevant - https://wiki.centos.org/About/Product
My CentOS6 builder is still fine.
I downloaded a minimal ISO and created a CentOS 6 VM from the CentOS mirrors available here - http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso
Is till get the same err:
checking for strndup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for strtoul... yes
checking for memchr... yes
checking for memrchr... yes
checking for clock_gettime... no
checking for strptime... yes
checking whether getrandom is declared... no
checking for utime... yes
checking for strlcpy... no
checking for strlcat... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking host os... installation for x86_64-unknown-linux-gnu OS... ok
checking for thread local storage __thread support... yes
checking checking if gcc supports -march=native... yes
./configure: line 19135: syntax error near unexpected token `else'
./configure: line 19135: `else'
[root@centos6 suricata]# history |tail -3
47 git clone https://github.com/OISF/suricata.git && cd suricata && git clone https://github.com/OISF/libhtp.git -b 0.5.x
48 ./autogen.sh
49 ./configure
[root@centos6 suricata]# cat /etc/*elease
CentOS release 6.10 (Final)
CentOS release 6.10 (Final)
CentOS release 6.10 (Final)
[root@centos6 suricata]# rpm -q centos-release
centos-release-6-10.el6.centos.12.3.x86_64
[root@centos6 suricata]#
Looks like its the version of autoconf generating output that fails in sh. Looking into this.
- Assignee set to Jason Ish
- Affected Versions 5.0beta1 added
Peter Manev: Is this still an issue for you? I'm not seeing it on my CentOS 6 builders.
- Status changed from New to Closed
No, that was fixed a while ago. Closing.
- Assignee deleted (
Jason Ish)
- Target version deleted (
70)
Also available in: Atom
PDF