Skip to content

Compilation on Ubuntu 18.04 #1

@ivan-marroquin

Description

@ivan-marroquin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions