diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-11-27 19:05:32 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2016-12-03 16:54:41 +0000 |
commit | a0b4d4657849811b78a36ac0a6449ea0f4c552a1 (patch) | |
tree | 13ee9300dc7119217eb53c1c9b26c7d274b3866c /tools/install_rpms_for_devel.sh | |
parent | 77f31c6e7de5baed978298ae599494255fe254da (diff) |
install_rpms_for_devel: add optional packages.
Install all optional dependencies as reported by cmake.
Tested on Centos7, openSUSE Leap 41.1, Fedora 24.
Fedora 24 is shipped with lua5.3, that is not compatible
with the current master, then it is not enabled.
Change-Id: Ie4de7ff2849d66371e94d5d7960aab8146337dea
Reviewed-on: https://code.wireshark.org/review/18968
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Diffstat (limited to 'tools/install_rpms_for_devel.sh')
-rwxr-xr-x | tools/install_rpms_for_devel.sh | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/tools/install_rpms_for_devel.sh b/tools/install_rpms_for_devel.sh index 54be6d0509..4e538803d7 100755 --- a/tools/install_rpms_for_devel.sh +++ b/tools/install_rpms_for_devel.sh @@ -45,6 +45,12 @@ then NGHTTP2="nghttp2" # SUSE doesn't split the pod2* commands into a separate package like RH PERLPODS="" + GEOIP="libGeoIP-devel" + GNUTLS="libgnutls-devel" + GETTEXT="gettext-tools" + QT5="libqt5-linguist-devel libqt5-qtsvg-devel libqt5-qtmultimedia-devel + libQt5PrintSupport-devel" + CAP_PROGS="libcap-progs" else if [ ! -r /etc/redhat-release ] then @@ -55,6 +61,7 @@ else if type -p dnf > /dev/null then INSTALL_CMD=dnf + POD2HTML="perl-Pod-Html" else INSTALL_CMD=yum fi @@ -69,13 +76,24 @@ else CARES="c-ares-devel c-ares" NGHTTP2="libnghttp2" PERLPODS="perl-podlators" + GEOIP="GeoIP-devel" + GNUTLS="gnutls-devel" + GETTEXT="gettext-devel" + QT5="qt5-linguist qt5-qtsvg-devel" fi PKGS="autoconf automake libtool gcc flex bison python perl $GLIB2 $PCAP $ZLIB lua-devel lua $CARES $GTK3 $GTK2 desktop-file-utils $QT fop -asciidoc git git-review $PERLPODS libnghttp2-devel $NGHTTP2 $SNAPPY $LZ4" +asciidoc git git-review $PERLPODS" + +PKGS_OPT="libnl3-devel libnghttp2-devel $NGHTTP2 $SNAPPY $LZ4 libcap $CAP_PROGS +libcap-devel lynx $GEOIP libgcrypt-devel $GNUTLS $GETTEXT libssh-devel +krb5-devel perl-Parse-Yapp sbc-devel libsmi-devel $POD2HTML $QT5" echo "Run this command (as root):" echo echo $INSTALL_CMD install $PKGS - +echo +echo "To install optional packages:" +echo +echo $INSTALL_CMD install $PKGS_OPT |