You are here

Issues building for Phenix interface

1 post / 0 new
Issues building for Phenix interface
#1

Hi,

I'm having trouble building 3.14 from the release 371 source on RHEL8 using gcc 8.5.0 following the instructions at https://phenix-online.org/documentation/reference/rosetta_install.html. I realize this is a newer compiler / glibc, but that doesn't seem to be the issue. Instead I seem to be seeing missing / incompatible header issues. Specifically, I get:

g++ -o build/src/release/linux/4.18/64/x86/gcc/8/python/core/scoring/cryst/PhenixInterface.os -c -std=c++0x -ffor-scope -isystem external/boost_submod/ -isystem external/ -isystem external/include/ -isystem external/dbio/ -isystem external/libxml2/include -isystem external/rdkit -pipe -Wall -Wextra -pedantic -Wno-long-long -Wno-strict-aliasing -march=core2 -mtune=generic -O3 -ffast-math -fno-finite-math-only -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -Wno-unused-parameter -fPIC -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_DISABLE_THREADS -DPTR_STD -DNDEBUG -DWITH_PYTHON=1 -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc/8 -Isrc/platform/linux/64/gcc -Isrc/platform/linux/64 -Isrc/platform/linux -Iexternal/include/python2.7 src/core/scoring/cryst/PhenixInterface.cc
src/core/scoring/cryst/PhenixInterface.cc: In constructor 'core::scoring::cryst::PhenixInterface::PhenixInterface()':
src/core/scoring/cryst/PhenixInterface.cc:66:20: error: 'basic::options' has not been declared
  mtzfile_ = basic::options::option[ basic::options::OptionKeys::cryst::mtzfile ]();
                    ^~~~~~~
src/core/scoring/cryst/PhenixInterface.cc:66:44: error: 'basic::options' has not been declared

followed by many more errors all indicative of missing namespaces-names or incomplete / incorrect declarations, and ultimately terminating in a sizeof failure due to application to an incomplete type. (I've attached the complete error log). I tried explicitly including src/basic/basic.hh from PhenixInterface.cc, but that doesn't seem to help. Suggestions would be greatly appreciated.

Thanks!

-jh-

 

AttachmentSize
error.log63.79 KB
Category: 
Post Situation: 
Tue, 2024-04-16 15:54
jmheumann