Program does not compile on Ubuntu 22.10
When compiling sassena on Ubuntu 22.10, it aborts with the error message
[ 27%] Building CXX object CMakeFiles/sass_sample.dir/src/sample/atomselection.cpp.o
In file included from /home/sbusch/dev/sassena/DAPHNE4NFDI/sassena/include/sample/atomselection.hpp:21,
from /home/sbusch/dev/sassena/DAPHNE4NFDI/sassena/src/sample/atomselection.cpp:10:
/usr/include/boost/serialization/list.hpp: In function ‘void boost::serialization::load(Archive&, std::__cxx11::list<_ValT, _Allocator>&, unsigned int)’:
/usr/include/boost/serialization/list.hpp:53:33: error: ‘library_version_type’ in namespace ‘boost::serialization’ does not name a type; did you mean ‘item_version_type’?
53 | const boost::serialization::library_version_type library_version(
| ^~~~~~~~~~~~~~~~~~~~
| item_version_type
/usr/include/boost/serialization/list.hpp:60:30: error: ‘library_version_type’ is not a member of ‘boost::serialization’; did you mean ‘item_version_type’?
60 | if(boost::serialization::library_version_type(3) < library_version){
| ^~~~~~~~~~~~~~~~~~~~
| item_version_type
/usr/include/boost/serialization/list.hpp:60:56: error: ‘library_version’ was not declared in this scope
60 | if(boost::serialization::library_version_type(3) < library_version){
| ^~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/sass_sample.dir/build.make:118: CMakeFiles/sass_sample.dir/src/sample/atomselection.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:219: CMakeFiles/sass_sample.dir/all] Error 2
make: *** [Makefile:166: all] Error 2