crigroup / openrave-installation

Bash scripts to install OpenRAVE from source
164 stars 77 forks source link

Installation issue on Ubuntu 20.04 #26

Open Jayden9912 opened 2 years ago

Jayden9912 commented 2 years ago

./install-openrave.sh SyntaxError: invalid syntax File "", line 1 from distutils.sysconfig import get_python_lib; from myrelpath import relpath; print relpath(get_python_lib(1,prefix='/usr/local'),'/usr/local') ^ SyntaxError: invalid syntax -- failed to get python site-package directories via get_python_lib -- CMAKE_INSTALL_PREFIX = /usr/local -- PYTHON_EXECUTABLE = /home/jayden99/Desktop/eureka/bin/python -- OPENRAVE_PYTHON_INSTALL_DIR = -- OPENRAVE_BIN_SUFFIX = 0.53 -- OPENRAVE_INCLUDE_LOCAL_DIRS = /home/jayden99/git/openrave/include -- OPENRAVEPY_INCLUDE_LOCAL_DIRS = /home/jayden99/git/openrave/build/python/bindings/include;/home/jayden99/git/openrave/python/bindings/include -- found boost version: 107100 -- Targetting Unix Makefiles -- Using /usr/bin/c++ compiler. -- Found MPFI: /usr/lib/x86_64-linux-gnu/libmpfi.so -- Using local crlibm -- compiling with double extended (long double) floating point CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimpTargets.cmake:54 (if): if given arguments:

"ON"

An argument named "ON" appears in a conditional statement. Policy CMP0012 is not set: if() recognizes numbers and boolean constants. Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimp-config.cmake:1 (include) CMakeLists.txt:496 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

-- assimp version 5.0.0, , /usr/include CMake Warning (dev) at modules-cmake/CheckCXXSourceRuns.cmake:16 (IF): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Quoted variables like "IS_X86_64" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMakeLists.txt:522 (check_cxx_source_runs) This warning is for project developers. Use -Wno-dev to suppress it.

-- Found RAPIDJSON: /usr/local/include -- Found components for RapidJSON -- RAPIDJSON_ROOT_DIR = /usr/local -- RAPIDJSON_INCLUDES = /usr/local/include -- Checking for module 'msgpack' -- No package 'msgpack' found -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig -- libxml2 found -- collada version 2.4.4 does not support write to memory -- Use reentrant qhull -- Found ANN headers but not library! -- compiling local ann library -- Checking for one of the modules 'fparser' -- compiling local fparser library -- compiling local convexdecomposition library CMake Warning (dev) at src/libopenrave/CMakeLists.txt:34 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "libopenrave". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at src/libopenrave/CMakeLists.txt:52 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "libopenrave_c". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

-- Geometry Parsing: Collada DOM 2.4.4 -- Geometry Parsing: Using Open Asset Import Library 5.0.0 -- Geometry Parsing: Using ivcon CMake Warning (dev) at src/libopenrave-core/CMakeLists.txt:81 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "libopenrave-core". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at src/libopenrave-core/CMakeLists.txt:100 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "libopenrave-core_c". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at src/CMakeLists.txt:103 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "openrave". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

-- extracting models to /home/jayden99/git/openrave/src -- MATLAB installation not found, is mex in the system path? File "", line 1 import sympy; print sympy.version ^ SyntaxError: invalid syntax -- failed to find python sympy system installation -- System sympy (v=) is not right version, using local sympy CMake Error at CMakeLists.txt:866 (install): install DIRECTORY given no DESTINATION!

CMake Warning (dev) at modules-cmake/CheckCXXSourceRuns.cmake:16 (IF): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Quoted variables like "HAVE_ALL_PYTHON_HEADERS" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): python/bindings/CMakeLists.txt:32 (check_cxx_source_runs) This warning is for project developers. Use -Wno-dev to suppress it.

-- Can successfully build OpenRAVE python bindings; will install headers for python bindings of other modules CMake Error at python/CMakeLists.txt:7 (install): install FILES given no DESTINATION!

-- A library with LAPACK API found. CMake Warning (dev) at plugins/basecontrollers/CMakeLists.txt:6 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "basecontrollers". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/baserobots/CMakeLists.txt:6 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "baserobots". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/basesamplers/CMakeLists.txt:6 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "basesamplers". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/basesensors/CMakeLists.txt:6 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "basesensors". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

-- unsupported bullet version 2.88 -- FindMoby: Could not find EventDrivenSimulator.h -- Could not find Moby Physics engine. Please install from https://github.com/PositronicsLab/Moby CMake Warning (dev) at plugins/configurationcache/CMakeLists.txt:6 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "configurationcache". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

-- Build openravepy_configurationcache with pybind11 CMake Warning (dev) at plugins/grasper/CMakeLists.txt:15 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The keyword signature for target_link_libraries has already been used with the target "grasper". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the keyword signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/ikfastsolvers/CMakeLists.txt:20 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "ikfastsolvers". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

-- enabling FFMPEG support CMake Warning (dev) at plugins/logging/CMakeLists.txt:77 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "logging". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/pqprave/CMakeLists.txt:7 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "pqprave". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

-- boost regex found CMake Warning (dev) at plugins/rmanipulation/CMakeLists.txt:15 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "rmanipulation". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/rplanners/ParabolicPathSmooth/CMakeLists.txt:6 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "ParabolicPathSmooth". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/rplanners/CMakeLists.txt:9 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "rplanners". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/textserver/CMakeLists.txt:11 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "textserver". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.16/Modules/FindOpenGL.cmake:275 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

FindOpenGL found both a legacy GL library:

OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so

and GLVND libraries for OpenGL and GLX:

OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so

OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): plugins/qtosgrave/CMakeLists.txt:8 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

-- Detected Qt/OSG GUI, making plugin -- QTOPENGL library NOT FOUND!!! -- Link libraries: /usr/lib/x86_64-linux-gnu/libxml2.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libGLU.so;Qt5::Core;Qt5::Gui;Qt5::Widgets;Qt5::OpenGL;/usr/local/lib64/libosgDB.so;/usr/local/lib64/libosgGA.so;/usr/local/lib64/libosgFX.so;/usr/local/lib64/libosgText.so;/usr/local/lib64/libosgViewer.so;/usr/local/lib64/libosgManipulator.so;/usr/local/lib64/libosg.so;/usr/local/lib64/libOpenThreads.so CMake Warning (dev) at plugins/qtosgrave/CMakeLists.txt:60 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "qtosgrave". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

-- WARNING: SoQt4 not found, disabling QtCoin GUI plugin. Please install SoQt (http://www.coin3d.org) CMake Warning (dev) at /usr/share/cmake-3.16/Modules/FindOpenGL.cmake:275 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

FindOpenGL found both a legacy GL library:

OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so

and GLVND libraries for OpenGL and GLX:

OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so

OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): plugins/qtcoinrave/CMakeLists.txt:10 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

-- Found unsuitable Qt version "5.12.8" from /usr/bin/qmake -- WARNING: Qt4 not found, is your QTDIR enviornment variable set? -- WARNING: Could not find Coin3D/SoQt/Qt libraries, will not compile qtcoinrave viewer. -- ODE found, building oderave plugin, precision=SINGLE CMake Warning (dev) at plugins/oderave/CMakeLists.txt:54 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "oderave". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at plugins/fclrave/CMakeLists.txt:73 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The plain signature for target_link_libraries has already been used with the target "fclrave". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the plain signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred! See also "/home/jayden99/git/openrave/build/CMakeFiles/CMakeOutput.log". See also "/home/jayden99/git/openrave/build/CMakeFiles/CMakeError.log". make: No targets specified and no makefile found. Stop. make: No rule to make target 'install'. Stop.