I’ve been doing some tests to migrate my current pc to Arch Linux and honestly this is the last hurdle I’m trying to get through prior to migrating. I’ve seen there have been several options available, but can’t seem to figure out what I’m doing wrong even reading through the forum and seeing that @KarnRedsun somehow managed to and would love to know how they did it.
For context:
I’m not new to Linux, but I’m definitely not advanced enough to start compiling programs with cmake.
I’ve located and installed the following in the installation: boost, boost-libs, cgal, cmake, cmake-extras, gcc, gdal, glew, glu, mesa, proj, python, qt5-xmlpatterns, qwt and zlib.
the git clone went without a hitch
Once I started the cmake command I got the following error:
CMake Error at /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package): Could not find a package configuration file provided by “boost_system“ (requested version 1.89.0) with any of the following names:
boost_systemConfig.cmake boost_system-config.cmake
Add the installation prefix of “boost_system” to CMAKE_PREFIX_PATH or set “boost_system_DIR” to a directory containing one of the above files. If “boost_system“ provides a separate development package or SDK, be sure it has been installed.Call stack (most recent call first): /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component) src/CMakeLists.txt:247 (find_package)
Unfortunately it’s an internal compiler error, which usually means there’s a bug in the compiler itself. This does happen sometimes on some systems. Not too much can be done other than try a different version of the gcc compiler (yours looks like 15.2.1) - but that might not be easy. Otherwise you could try compiling again from scratch with a clean setup (ie, no temporary files), but that probably won’t work.
That sucks. Weirdly enough I’ve found the solution:
Apparently I was missing the base-devel package. I thought it installed, but apparently I might have accidentally removed it or missed an error there
I used git clone followed by a fetch for the file instead of manually changing it
Somehow this fixed the issue. Again, thx a million, I probably would have been looking for this for a lot longer if I didn’t get put in the right direction with the hint that it might be a something wrong with the compiler, which tipped me off I might be missing a package