PANENE icon indicating copy to clipboard operation
PANENE copied to clipboard

Compilation on Ubuntu 18.04

Open ivan-marroquin opened this issue 6 years ago • 0 comments

Hi,

I have the following system Ubuntu 18.04 Architecture x86_64, with a local installation of Python 3.6.5 on my home account.

In order to proceed with the compilation, I edited the CmakeList.txt file to: a) uncomment this section #find_package(PythonInterp) #if (NOT PYTHON_EXECUTABLE)

set(BUILD_PYTHON_BINDINGS OFF)

#endif()

b) add this line set(BUILDPPYTHON_BINDINGS ON)

before these commands if (BUILD_PYTHON_BINDINGS) add_subdirectory(python) endif()

c) add this line set(PYTHON_EXECUTABLE /home/imarroquin/Python/Python-3.6.5/bin)

before these lines message( STATUS "CMAKE_SYSTEM_PROCESSOR: " ${CMAKE_SYSTEM_PROCESSOR}) .....

The cmake command was successful. Then, I ran the command make which terminated with this error:

/bin/sh: 1: ./setup.py: Permission denied python/CMakeFiles/target.dir/build.make:60: recipe for target 'python/build/timestamp' failed make[2]: *** [python/build/timestamp] Error 126 CMakeFiles/Makefile2:367: recipe for target 'python/CMakeFiles/target.dir/all' failed make[1]: *** [python/CMakeFiles/target.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2

Any suggestions?

I attached a text file with the output of both commands.

Many thanks, Ivan PANENE.zip

ivan-marroquin avatar Oct 10 '18 21:10 ivan-marroquin