# prepare fedora
if system == 'fedora':
packages = ['make', 'autoconf', 'automake', 'libtool', 'gcc-c++', 'openssl-devel',
- 'log4cplus-devel', 'boost-devel', 'libpcap-devel']
+ 'log4cplus-devel', 'boost-devel', 'libpcap-devel', 'bison', 'flex']
if 'native-pkg' in features:
packages.extend(['rpm-build', 'python3-devel'])
packages = ['autoconf', 'automake', 'boost-devel', 'gcc-c++',
'libtool', 'log4cplus-devel', 'make',
- 'openssl-devel']
+ 'openssl-devel', 'bison', 'flex']
if revision in ['7', '8']:
# Install newer version of Boost in case users want to opt-in with:
packages.extend(['python3-sphinx', 'python3-sphinx_rtd_theme'])
if 'native-pkg' in features:
- packages.extend(['bison', 'flex', 'python3-devel', 'rpm-build'])
+ packages.extend(['python3-devel', 'rpm-build'])
if 'mysql' in features:
packages.extend(['mariadb', 'mariadb-server'])
elif system == 'rhel':
packages = ['autoconf', 'automake', 'boost-devel', 'gcc-c++',
'libtool', 'log4cplus-devel', 'make',
- 'openssl-devel']
+ 'openssl-devel', 'bison', 'flex']
if revision in ['7', '8']:
# Install newer version of Boost in case users want to opt-in with:
env=env, timeout=120, check_times=check_times)
if 'native-pkg' in features:
- packages.extend(['bison', 'flex', 'python3-devel', 'rpm-build'])
+ packages.extend(['python3-devel', 'rpm-build'])
if 'mysql' in features:
packages.extend(['mariadb', 'mariadb-server'])
packages.extend(['python3-sphinx', 'python3-sphinx_rtd_theme'])
if 'native-pkg' in features:
- packages.extend(['bison', 'flex', 'python3-devel', 'rpm-build'])
+ packages.extend(['python3-devel', 'rpm-build'])
if 'mysql' in features:
packages.extend(['mariadb', 'mariadb-server', 'mariadb-connector-c-devel'])
if 'native-pkg' in features:
packages.extend(['build-essential', 'fakeroot', 'devscripts'])
- packages.extend(['bison', 'debhelper', 'flex', 'libboost-dev', 'python3-dev'])
+ packages.extend(['debhelper', 'libboost-dev', 'python3-dev'])
if 20.04 <= float(revision):
packages.extend(['dh-python'])
_apt_update(system, revision, env=env, check_times=check_times, attempts=3, sleep_time_after_attempt=10)
packages = ['gcc', 'g++', 'make', 'autoconf', 'automake', 'libtool', 'libssl-dev',
- 'liblog4cplus-dev', 'libboost-system-dev', 'gnupg']
+ 'liblog4cplus-dev', 'libboost-system-dev', 'gnupg', 'bison', 'flex']
if 'docs' in features:
packages.extend(['python3-sphinx', 'python3-sphinx-rtd-theme',
if 'native-pkg' in features:
packages.extend(['build-essential', 'fakeroot', 'devscripts'])
- packages.extend(['bison', 'debhelper', 'flex', 'libboost-dev', 'python3-dev'])
+ packages.extend(['debhelper', 'libboost-dev', 'python3-dev'])
if int(revision) >= 11:
packages.extend(['dh-python'])
execute('sudo pkg clean -a -y')
execute('sudo pkg install -y pkg')
- packages = ['autoconf', 'automake', 'libtool', 'openssl', 'log4cplus', 'boost-libs', 'wget']
+ packages = ['autoconf', 'automake', 'bison', 'flex', 'libtool', 'openssl', 'log4cplus', 'boost-libs', 'wget']
if revision.startswith('14'):
packages.extend(['bash', 'pkgconf'])
packages = ['gcc', 'g++', 'make', 'autoconf', 'automake', 'libtool', 'openssl-dev',
'boost-libs', 'boost-dev', 'procps', 'tar', 'log4cplus', 'log4cplus-dev',
- 'gzip']
+ 'gzip', 'bison', 'flex']
if 'docs' in features:
packages.extend(['py3-sphinx py3-sphinx_rtd_theme'])
if 'pgsql' in features:
packages.extend(['postgresql-dev', 'postgresql'])
- packages.extend(['bison', 'flex', 'boost-dev', 'python3-dev'])
if 'gssapi' in features:
packages.extend(['krb5-dev'])
if 'native-pkg' in features:
- packages.extend(['alpine-sdk'])
+ packages.extend(['alpine-sdk', 'python3-dev'])
if 'ccache' in features:
packages.extend(['ccache'])