From c8ec4c5e6baa32ebaf6fa4a43da1bc01383c9b84 Mon Sep 17 00:00:00 2001 From: Jason Bramwell Date: Sun, 27 Sep 2020 13:12:51 +0100 Subject: documentation: update INSTALL file to add libbluetooth-dev etc When attempting to compile under Debian and Ubuntu the build script would get stuck looking for bluez. This change adds libbluetooth-dev to the suggested install packages for Debian and Ubuntu. Thus update also changes the yum install command in the Fedora instructions to the newer dnf command as well as updating the versions listed of Debiand and Ubuntu to the latest versions. Signed-off-by: Jason Bramwell Signed-off-by: Dirk Hohndel --- INSTALL | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 11c1730bf..830f59d1d 100644 --- a/INSTALL +++ b/INSTALL @@ -138,9 +138,9 @@ Building the development version of Subsurface under Linux On Fedora you need -sudo yum install git gcc-c++ make autoconf automake libtool cmake \ +sudo dnf install git gcc-c++ make autoconf automake libtool cmake \ libzip-devel libxml2-devel libxslt-devel libsqlite3x-devel \ - libudev-devel libusbx-devel libcurl-devel libssh2-devel\ + libudev-devel libusbx-devel libcurl-devel libssh2-devel \ qt5-qtbase-devel qt5-qtdeclarative-devel qt5-qtscript-devel \ qt5-qtwebkit-devel qt5-qtsvg-devel qt5-qttools-devel \ qt5-qtconnectivity-devel qt5-qtlocation-devel @@ -157,30 +157,29 @@ sudo zypper install git gcc-c++ make autoconf automake libtool cmake libzip-deve libqt5-qtscript-devel libqt5-qtdeclarative-devel \ libqt5-qtconnectivity-devel libqt5-qtlocation-devel libcurl-devel -On Debian Stretch this seems to work +On Debian Buster this seems to work sudo apt install \ - autoconf automake cmake g++ git libcrypto++-dev libcurl4-openssl-dev \ - libgit2-dev libqt5declarative5 libqt5qml5 libqt5quick5 libqt5svg5-dev \ - libqt5webkit5-dev libsqlite3-dev libssh2-1-dev libssl-dev libssl-dev \ - libtool libusb-1.0-0-dev libxml2-dev libxslt1-dev libzip-dev make \ - pkg-config qml-module-qtlocation qml-module-qtpositioning \ - qml-module-qtquick2 qt5-default qt5-qmake qtchooser qtconnectivity5-dev \ - qtlocation5-dev qtpositioning5-dev qtscript5-dev qttools5-dev \ - qttools5-dev-tools + autoconf automake cmake g++ git libbluetooth-dev libcrypto++-dev \ + libcurl4-openssl-dev libgit2-dev libqt5qml5 libqt5quick5 libqt5svg5-dev \ + libqt5webkit5-dev libsqlite3-dev libssh2-1-dev libssl-dev libtool \ + libusb-1.0-0-dev libxml2-dev libxslt1-dev libzip-dev make pkg-config \ + qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick2 \ + qt5-default qt5-qmake qtchooser qtconnectivity5-dev qtdeclarative5-dev \ + qtdeclarative5-private-dev qtlocation5-dev qtpositioning5-dev \ + qtscript5-dev qttools5-dev qttools5-dev-tools -Package names for Ubuntu 18.04 +Package names for Ubuntu 20.04 sudo apt install \ - autoconf automake cmake g++ git libcrypto++-dev libcurl4-gnutls-dev \ - libgit2-dev libqt5qml5 libqt5quick5 libqt5svg5-dev \ - libqt5webkit5-dev libsqlite3-dev libssh2-1-dev libssl-dev libssl-dev \ - libtool libusb-1.0-0-dev libxml2-dev libxslt1-dev libzip-dev make \ - pkg-config qml-module-qtlocation qml-module-qtpositioning \ - qml-module-qtquick2 qt5-default qt5-qmake qtchooser qtconnectivity5-dev \ - qtdeclarative5-dev qtdeclarative5-private-dev qtlocation5-dev \ - qtpositioning5-dev qtscript5-dev qttools5-dev qttools5-dev-tools \ - qtquickcontrols2-5-dev + autoconf automake cmake g++ git libbluetooth-dev libcrypto++-dev \ + libcurl4-gnutls-dev libgit2-dev libqt5qml5 libqt5quick5 libqt5svg5-dev \ + libqt5webkit5-dev libsqlite3-dev libssh2-1-dev libssl-dev libtool \ + libusb-1.0-0-dev libxml2-dev libxslt1-dev libzip-dev make pkg-config \ + qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick2 \ + qt5-default qt5-qmake qtchooser qtconnectivity5-dev qtdeclarative5-dev \ + qtdeclarative5-private-dev qtlocation5-dev qtpositioning5-dev \ + qtscript5-dev qttools5-dev qttools5-dev-tools qtquickcontrols2-5-dev On Raspberry Pi (Raspian Stretch and Ubuntu Mate 16.04.2) this seems to work -- cgit v1.2.3-70-g09d2