Sorry, I forget to cc this mail to the list.
Thanks!

Yujie

On Mar 12, 2015, at 10:08 PM, Yujie Tian <yujie...@buffalo.edu> wrote:

> No, it’s for 2.3.1. And you advised me to install a recent version. So I 
> tried 2.3.90 after that.
> 
> Here is the output.
> 
> Using included inchi library.
> checking for module 'cairo'
> package 'cairo' not found
> Cairo found. PNG output will be supported.
> GUI will not be built
> CMake Warning (dev) at cmake/modules/UsePythonTest.cmake:37 (FILE):
> Policy CMP0053 is not set: Simplify variable reference and escape sequence
> evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
> cmake_policy command to set the policy and suppress this warning.
> 
> For input:
> 
> '
> SET(ENV{PYTHONPATH} ${pyenv})
> SET(ENV{LD_LIBRARY_PATH} ${pyenv}:\$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} ${ob_libdir})
> SET(ENV{BABEL_DATADIR} ${ob_datadir})
> MESSAGE(\"${pyenv}\")
> EXECUTE_PROCESS(
> COMMAND ${PYTHON_EXECUTABLE} ${loc} ${wo_semicolumn}
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(\${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR \${import_res})
> ENDIF(import_res)
> '
> 
> the old evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testbabel.py 
> #WORKING_DIRECTORY 
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> but the new evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testbabel.py 
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> Using the old result for compatibility since the policy is not set.
> Call Stack (most recent call first):
> test/CMakeLists.txt:221 (ADD_PYTHON_TEST)
> This warning is for project developers. Use -Wno-dev to suppress it.
> CMake Warning (dev) at cmake/modules/UsePythonTest.cmake:37 (FILE):
> Policy CMP0053 is not set: Simplify variable reference and escape sequence
> evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
> cmake_policy command to set the policy and suppress this warning.
> 
> For input:
> 
> '
> SET(ENV{PYTHONPATH} ${pyenv})
> SET(ENV{LD_LIBRARY_PATH} ${pyenv}:\$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} ${ob_libdir})
> SET(ENV{BABEL_DATADIR} ${ob_datadir})
> MESSAGE(\"${pyenv}\")
> EXECUTE_PROCESS(
> COMMAND ${PYTHON_EXECUTABLE} ${loc} ${wo_semicolumn}
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(\${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR \${import_res})
> ENDIF(import_res)
> '
> 
> the old evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python /Users/YujieTian/Downloads/openbabel/test/testsym.py 
> #WORKING_DIRECTORY 
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> but the new evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python /Users/YujieTian/Downloads/openbabel/test/testsym.py 
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> Using the old result for compatibility since the policy is not set.
> Call Stack (most recent call first):
> test/CMakeLists.txt:221 (ADD_PYTHON_TEST)
> This warning is for project developers. Use -Wno-dev to suppress it.
> CMake Warning (dev) at cmake/modules/UsePythonTest.cmake:37 (FILE):
> Policy CMP0053 is not set: Simplify variable reference and escape sequence
> evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
> cmake_policy command to set the policy and suppress this warning.
> 
> For input:
> 
> '
> SET(ENV{PYTHONPATH} ${pyenv})
> SET(ENV{LD_LIBRARY_PATH} ${pyenv}:\$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} ${ob_libdir})
> SET(ENV{BABEL_DATADIR} ${ob_datadir})
> MESSAGE(\"${pyenv}\")
> EXECUTE_PROCESS(
> COMMAND ${PYTHON_EXECUTABLE} ${loc} ${wo_semicolumn}
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(\${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR \${import_res})
> ENDIF(import_res)
> '
> 
> the old evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testsmartssym.py 
> #WORKING_DIRECTORY 
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> but the new evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testsmartssym.py 
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> Using the old result for compatibility since the policy is not set.
> Call Stack (most recent call first):
> test/CMakeLists.txt:221 (ADD_PYTHON_TEST)
> This warning is for project developers. Use -Wno-dev to suppress it.
> CMake Warning (dev) at cmake/modules/UsePythonTest.cmake:37 (FILE):
> Policy CMP0053 is not set: Simplify variable reference and escape sequence
> evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
> cmake_policy command to set the policy and suppress this warning.
> 
> For input:
> 
> '
> SET(ENV{PYTHONPATH} ${pyenv})
> SET(ENV{LD_LIBRARY_PATH} ${pyenv}:\$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} ${ob_libdir})
> SET(ENV{BABEL_DATADIR} ${ob_datadir})
> MESSAGE(\"${pyenv}\")
> EXECUTE_PROCESS(
> COMMAND ${PYTHON_EXECUTABLE} ${loc} ${wo_semicolumn}
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(\${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR \${import_res})
> ENDIF(import_res)
> '
> 
> the old evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testfastsearch.py 
> #WORKING_DIRECTORY 
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> but the new evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testfastsearch.py 
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> Using the old result for compatibility since the policy is not set.
> Call Stack (most recent call first):
> test/CMakeLists.txt:221 (ADD_PYTHON_TEST)
> This warning is for project developers. Use -Wno-dev to suppress it.
> CMake Warning (dev) at cmake/modules/UsePythonTest.cmake:37 (FILE):
> Policy CMP0053 is not set: Simplify variable reference and escape sequence
> evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
> cmake_policy command to set the policy and suppress this warning.
> 
> For input:
> 
> '
> SET(ENV{PYTHONPATH} ${pyenv})
> SET(ENV{LD_LIBRARY_PATH} ${pyenv}:\$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} ${ob_libdir})
> SET(ENV{BABEL_DATADIR} ${ob_datadir})
> MESSAGE(\"${pyenv}\")
> EXECUTE_PROCESS(
> COMMAND ${PYTHON_EXECUTABLE} ${loc} ${wo_semicolumn}
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(\${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR \${import_res})
> ENDIF(import_res)
> '
> 
> the old evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testunique.py 
> #WORKING_DIRECTORY 
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> but the new evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testunique.py 
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> Using the old result for compatibility since the policy is not set.
> Call Stack (most recent call first):
> test/CMakeLists.txt:221 (ADD_PYTHON_TEST)
> This warning is for project developers. Use -Wno-dev to suppress it.
> CMake Warning (dev) at cmake/modules/UsePythonTest.cmake:37 (FILE):
> Policy CMP0053 is not set: Simplify variable reference and escape sequence
> evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
> cmake_policy command to set the policy and suppress this warning.
> 
> For input:
> 
> '
> SET(ENV{PYTHONPATH} ${pyenv})
> SET(ENV{LD_LIBRARY_PATH} ${pyenv}:\$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} ${ob_libdir})
> SET(ENV{BABEL_DATADIR} ${ob_datadir})
> MESSAGE(\"${pyenv}\")
> EXECUTE_PROCESS(
> COMMAND ${PYTHON_EXECUTABLE} ${loc} ${wo_semicolumn}
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(\${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR \${import_res})
> ENDIF(import_res)
> '
> 
> the old evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testkekule.py 
> #WORKING_DIRECTORY 
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> but the new evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testkekule.py 
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> Using the old result for compatibility since the policy is not set.
> Call Stack (most recent call first):
> test/CMakeLists.txt:221 (ADD_PYTHON_TEST)
> This warning is for project developers. Use -Wno-dev to suppress it.
> CMake Warning (dev) at cmake/modules/UsePythonTest.cmake:37 (FILE):
> Policy CMP0053 is not set: Simplify variable reference and escape sequence
> evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
> cmake_policy command to set the policy and suppress this warning.
> 
> For input:
> 
> '
> SET(ENV{PYTHONPATH} ${pyenv})
> SET(ENV{LD_LIBRARY_PATH} ${pyenv}:\$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} ${ob_libdir})
> SET(ENV{BABEL_DATADIR} ${ob_datadir})
> MESSAGE(\"${pyenv}\")
> EXECUTE_PROCESS(
> COMMAND ${PYTHON_EXECUTABLE} ${loc} ${wo_semicolumn}
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(\${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR \${import_res})
> ENDIF(import_res)
> '
> 
> the old evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testbindings.py 
> #WORKING_DIRECTORY 
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> but the new evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testbindings.py 
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> Using the old result for compatibility since the policy is not set.
> Call Stack (most recent call first):
> test/CMakeLists.txt:248 (ADD_PYTHON_TEST)
> This warning is for project developers. Use -Wno-dev to suppress it.
> CMake Warning (dev) at cmake/modules/UsePythonTest.cmake:37 (FILE):
> Policy CMP0053 is not set: Simplify variable reference and escape sequence
> evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
> cmake_policy command to set the policy and suppress this warning.
> 
> For input:
> 
> '
> SET(ENV{PYTHONPATH} ${pyenv})
> SET(ENV{LD_LIBRARY_PATH} ${pyenv}:\$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} ${ob_libdir})
> SET(ENV{BABEL_DATADIR} ${ob_datadir})
> MESSAGE(\"${pyenv}\")
> EXECUTE_PROCESS(
> COMMAND ${PYTHON_EXECUTABLE} ${loc} ${wo_semicolumn}
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(\${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR \${import_res})
> ENDIF(import_res)
> '
> 
> the old evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/test_pybel.py 
> #WORKING_DIRECTORY 
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> but the new evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/test_pybel.py 
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> Using the old result for compatibility since the policy is not set.
> Call Stack (most recent call first):
> test/CMakeLists.txt:248 (ADD_PYTHON_TEST)
> This warning is for project developers. Use -Wno-dev to suppress it.
> CMake Warning (dev) at cmake/modules/UsePythonTest.cmake:37 (FILE):
> Policy CMP0053 is not set: Simplify variable reference and escape sequence
> evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
> cmake_policy command to set the policy and suppress this warning.
> 
> For input:
> 
> '
> SET(ENV{PYTHONPATH} ${pyenv})
> SET(ENV{LD_LIBRARY_PATH} ${pyenv}:\$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} ${ob_libdir})
> SET(ENV{BABEL_DATADIR} ${ob_datadir})
> MESSAGE(\"${pyenv}\")
> EXECUTE_PROCESS(
> COMMAND ${PYTHON_EXECUTABLE} ${loc} ${wo_semicolumn}
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(\${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR \${import_res})
> ENDIF(import_res)
> '
> 
> the old evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testexample.py 
> #WORKING_DIRECTORY 
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> but the new evaluation rules produce:
> 
> '
> SET(ENV{PYTHONPATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib)
> SET(ENV{LD_LIBRARY_PATH} 
> /Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib:$ENV{LD_LIBRARY_PATH})
> SET(ENV{BABEL_LIBDIR} /Users/YujieTian/Downloads/openbabel/build/lib/)
> SET(ENV{BABEL_DATADIR} /Users/YujieTian/Downloads/openbabel/data)
> MESSAGE("/Users/YujieTian/Downloads/openbabel/scripts/python:/Users/YujieTian/Downloads/openbabel/build/lib")
> EXECUTE_PROCESS(
> COMMAND /usr/bin/python 
> /Users/YujieTian/Downloads/openbabel/test/testexample.py 
> #WORKING_DIRECTORY @LIBRARY_OUTPUT_PATH@
> RESULT_VARIABLE import_res
> OUTPUT_VARIABLE import_output
> ERROR_VARIABLE import_output
> )
> 
> # Pass the output back to ctest
> IF(import_output)
> MESSAGE(${import_output})
> ENDIF(import_output)
> IF(import_res)
> MESSAGE(SEND_ERROR ${import_res})
> ENDIF(import_res)
> '
> 
> Using the old result for compatibility since the policy is not set.
> Call Stack (most recent call first):
> test/CMakeLists.txt:248 (ADD_PYTHON_TEST)
> This warning is for project developers. Use -Wno-dev to suppress it.
> Warning: Python bindings NOT found. Generate using -DRUN_SWIG.
> Configuring done
> Generating done
> 
> 
> Thanks a lot!
> 
> Best,
> 
> Yujie
> 
> On Mar 12, 2015, at 4:32 PM, Noel O'Boyle <baoille...@gmail.com> wrote:
> 
>> What was the output of running CMake (the log on github #131 is not for 
>> 2.3.90)?
>> 
>> - Noel
>> 
>> On 12 March 2015 at 18:37, Yujie Tian <yujie...@buffalo.edu> wrote:
>>> Hi everyone,
>>> 
>>> I installed open babel 2.3.90, but I still can't import pybel. (You can 
>>> check my log on github #131.)
>>> I followed Geoff’s advice and I used git clone he gave me. But it didn’t 
>>> work.
>>> Any idea? Thanks a lot
>>> 
>>> Yujie
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming The Go Parallel Website, 
>>> sponsored
>>> by Intel and developed in partnership with Slashdot Media, is your hub for 
>>> all
>>> things parallel software development, from weekly thought leadership blogs 
>>> to
>>> news, videos, case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net/
>>> _______________________________________________
>>> OpenBabel-Devel mailing list
>>> OpenBabel-Devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/openbabel-devel
> 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to