I am trying to install RDKit on RedHat 7.1 linux, but I got the following 
errors:

"CMake Error at CMakeLists.txt:12 (install):
     install FILES given no DESTINATION!

CMake Error at CMakeLists.txt: 15 (add_pytest):
  Unknown CMake command "add_pytest"

I was building under the directory 
"/usr/local/src/RDKit_2015_03_1/rdkit/build/".

My environment variables are set as follows:
PATH=$PATH:$HOME/bin
export PATH
export PATH="$PATH:/usr/local/pgsql/bin"
export RDBASE="/usr/local/src/RDKit_2015_03_1"
export LD_LIBRARY_PATH="$RDBASE/lib:/usr/local/pgsql/lib:$LD_LIBRARY_PATH"
export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages/:$RDBASE"
export PGDATA="/usr/local/pgsql/data"

Then I checked the file CMakeLists.txt under the directory 
/usr/local/src/RDKit_2015_03_1/rdkit/, on line#12, it is 
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/RDPaths.py
     DESTINATION ${RDKit_PythonDir}

So I added the following into the file CMakeLists.txt:
set (RDKit_PythonDir  "${CMAKE_SOURCE_DIR}/rdkit")

But I still got the following error:
CMake Error at CMakeLists.txt: 16 (add_pytest):
  Unknown CMake command "add_pytest"

I would appreciate it very much if anyone could help me on this.



------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to