...
(other stuff not worth mentioning)
...
-- Found the following Boost libraries:
-- thread
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find PythonLibs: Found unsuitable version "2.7.6", but required
is at least "2.7.12" (found
/usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:313 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindPythonLibs.cmake:208 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:47 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/home/mf/Toolkits/fblualib/fblualib/python/build/CMakeFiles/CMakeOutput.log".
Error: Build error: Failed building.
libpython2.7.so'"
and found other versions of the same file:/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu/libpython3.4m-pic.a
/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu/libpython3.4.so
/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu/libpython3.4m.a
/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu/libpython3.4m.so
/usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.a
/usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so
/usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7-pic.a
/usr/lib/x86_64-linux-gnu/libpython3.4m.a
/usr/lib/x86_64-linux-gnu/libpython2.7.a
/usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0
/usr/lib/x86_64-linux-gnu/libpython2.7.so
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
/usr/lib/x86_64-linux-gnu/libpython3.4m.so.1
/usr/lib/x86_64-linux-gnu/libpython3.4m.so
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1
/usr/lib/libpeas-1.0/loaders/libpythonloader.so
/usr/lib/libpeas-1.0/loaders/libpython3loader.so
I am trying to install fb-python library -a bridge between Lua and Python:https://github.com/facebookarchive/fblualib/tree/master/fblualib/python
on my Linux machine using the command
cd fblualib/fblualib/python
luarocks make rockspec/fbpython-0.1-1.rockspec
however all my attempts are encountering the error below:
cmake -E make_directory build &&
cd build &&
cmake -DROCKS_PREFIX=/home/current_user/torch/install/lib/luarocks/rocks/fbpython/0.1-1 \
-DROCKS_LUADIR=/home/current_user/torch/install/lib/luarocks/rocks/fbpython/0.1-1/lua \
-DROCKS_LIBDIR=/home/current_user/torch/install/lib/luarocks/rocks/fbpython/0.1-1/lib \
.. &&
make
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
REQUIRED_ARGS (missing: GLOG_INCLUDE_DIR GLOG_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315
(_FPHSA_FAILURE_MESSAGE)
cmake/FindGlog.cmake:21 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:27 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
I have ensured that I install the glog library, however I keep on getting the same error. I am not sure how to overcome this hurdle. Any suggestion is appreciated. Thank you!