-- Found Boost: /usr/lib64/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0")
CMake Error at CMakeModules/BoostTestTargets.cmake:55 (message):
NOTE: boost::test-based targets and tests cannot be added: boost >= 1.34.0
required but not found. (found: '1.71.0' want >=103400) You may disable
ENABLE_TESTS to continue without the tests.
Call Stack (most recent call first):
CMakeLists.txt:220 (include)
I’m fairly new to installing using an arch-based OS, but that seems to be suggesting I need boost higher than v1.34.0 and I have v1.71.0 So, what’s the problem?
Also, disabling “ENABLE_TESTS” would that work, and if so how do I tell it to do that.
Thanks
@Gomaya It looks like it’s wanting version 1.34? Did it just stop installing? Or is it just giving you a warning message?
NOTE: boost::test-based targets and tests cannot be added: boost >= 1.34.0
required but not found. (found: '1.71.0' want >=103400) You may disable
ENABLE_TESTS to continue without the tests.
For every package, I will provide here a fixed and working PKGBUILD you’ll have to use. Just do a yay -G name-of-package and use these PKGBUILDs.
After this, a makepkg -si will do the magic!
PKGBUILD #1, simgear:
Simgear 2019.1.1 PKGBUILD
# Maintainer: Jake <aur@ja-ke.tech>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Hans Janssen <hans@janserv.xs4all.nl>
pkgname=simgear
pkgver=2019.1.1
_pkgver=${pkgver%.*}
pkgrel=1
pkgdesc="A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications."
arch=(x86_64)
depends=('glu' 'glut' 'freealut' 'plib' 'openscenegraph34')
makedepends=('boost' 'cmake' 'mesa')
license=("GPL")
url="http://www.flightgear.org/"
options=('makeflags' 'staticlibs')
source=("https://downloads.sourceforge.net/project/flightgear/release-${_pkgver}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('201ed4cc841aa99e1c84acb3035a95fa36a77dd96c0dca290c46d21a290a548b')
prepare() {
cd "$srcdir"/simgear-$pkgver
sed -i -e "s|#include <simgear/structure/map.hxx>|#include <simgear/structure/map.hxx>\n#include <boost/utility/enable_if.hpp>|g" simgear/nasal/cppbind/NasalHash.hxx
}
build() {
cd "$srcdir"/simgear-$pkgver
mkdir ../sgbuild && cd ../sgbuild
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DENABLE_TESTS=OFF -DCMAKE_BUILD_TYPE=Release ../simgear-${pkgver}
make
}
package() {
cd "$srcdir"/simgear-$pkgver
make DESTDIR="$pkgdir" install
}
Thank you everyone for your help, I’ll try @FredBezies 's solution tomorrow. Looks like the flatpak option may have worked too, but I basically just moved from Ubuntu to EndevourOS because I don’t like snaps, flatpaks are basically the same thing, right?
Many thanks, cheers all!
yay --editmenu xpackage can edit the pkgbuild also , but on depency’s it is pretty bad, for that i prefer trizen it ask directly to edit pkgbuild and change of depency worked better then with yay --editmenu but like @fred told is better , more control
I understand using yay to get the packages. So it downloads each in their own folder. CD into each folder and this is where i’m not sure. So then open PGKBUILD in each of the respective folders and replace with the pkgbuild you have posted? Then where do you run makepkg -si? In home ? Or Just open the terminal and run? Thanks.