An error occurred while compiling in the following way:
git clone http://git.code.sf.net/p/pharmit/code pharmit
cd pharmit/src
mkdir build
cmake .. -DCMAKE_CXX_FLAGS=-std=c++0x -DSMINA_DIR=$HOME/smina
The ERRORS:
CMake Error at CMakeLists.txt:65 (find_package):
Found package configuration file:
/usr/local/lib64/cmake/openbabel3/OpenBabel3Config.cmake
but it set OpenBabel3_FOUND to FALSE so package "OpenBabel3" is considered
to be NOT FOUND. Reason given by package:
The following imported targets are referenced, but are missing: maeparser
coordgen
-- Configuring incomplete, errors occurred!
See also "/home/aidrug/pharmit/pharmit/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/aidrug/pharmit/pharmit/src/build/CMakeFiles/CMakeError.log".
Please help me, thank you!!
Your openbabel installation is missing maeparser and coordgen, which are notorious both in their absence and presence for causing build problems. Try configuring cmake with
-DWITH_MAEPARSER=0 -DWITH_COORDGEN=0or otherwise modifying cmake to not require these superfluous libraries.thank you,I will try to reinstall other dependent components, and continue to give feedback later