Skip to content

Instantly share code, notes, and snippets.

Last active January 16, 2022 14:59
What would you like to do?
Installs goestools from source on Debian/Ubuntu without any prompt for deleting /usr/src/goestools
BUILD_PACKAGES="apt-utils build-essential ca-certificates cmake git libairspy-dev libopencv* librtlsdr-dev pkg-config"
if [ "$EUID" -ne 0 ]
then echo "This script must be run as root!"
exit 1
fi &&
#get requisite packages
apt-get update &&
apt-get -y install --no-install-recommends $BUILD_PACKAGES &&
#build goestools
git clone --recursive "$GOESTOOLS_REPO" "$GOESTOOLS_DIR" &&
mkdir -p build &&
cd build/ &&
make -j4 &&
make install &&
cd ../ &&
mkdir -p bin &&
cd bin/ &&
cp "$GOESTOOLS_DIR"/build/src/goeslrit/goeslrit . &&
cp "$GOESTOOLS_DIR"/build/src/goesproc/goesproc . &&
cp "$GOESTOOLS_DIR"/build/src/goesrecv/goesrecv . &&
chmod +x * &&
cp "$GOESTOOLS_DIR"/etc/* . &&
echo "Done!" &&
Copy link

Thanks for the script. However, it terminates thusly, just like when using the other step-wise instructions elsewhere on the web. Here is the tail end of the screen output:

-- Performing Test NN_HAVE_MSG_CONTROL - Success
-- Performing Test NN_HAVE_GCC_ATOMIC_BUILTINS - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libairspy'
-- Found libairspy, version 1.0
-- Checking for module 'librtlsdr'
-- Found librtlsdr, version 0.6.0
-- Checking for module 'opencv'
-- No package 'opencv' found
CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
src/goesproc/CMakeLists.txt:23 (pkg_check_modules)

-- Configuring incomplete, errors occurred!
See also "/usr/src/goestools/build/CMakeFiles/CMakeOutput.log".
See also "/usr/src/goestools/build/CMakeFiles/CMakeError.log".


This has something to do with OpenCV 4 ...


There will likely be other errors due to version changes, etc. because that's what is happening now with all of the online sequences I could find. I hope that you can fix this!

Kindest regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment