Can't install on Ubuntu 12.04.
Closed this issue · 7 comments
For some reason I can build ecto. I can run the test and all pass but when I try running:
sudo make install
I get the following error:
-- Up-to-date: /home/xamox/Code/ecto/build/.../.catkin
CMake Error at cmake_install.cmake:38 (FILE):
file INSTALL cannot set permissions on
"/home/xamox/Code/ecto/build/.../.catkin"
make: *** [install] Error 1
hmm, if you do sudo, you can do anything so if that fails, that is probably either because:
- your files are on NFS and you don't have rights there
- your partition does not allow that (maybe some weird fat32 stuff).
But that is unrelated to ecto/catkin
can you try installing in /tmp ?
I tried installing in /tmp but getting the same error.
Here is a complete dump, let me know if you need lib versions (although most should be from standard repos on 12.04).
xamox@sightmachine:/tmp/ecto$ mkdir -p build
xamox@sightmachine:/tmp/ecto$ cd build/
xamox@sightmachine:/tmp/ecto/build$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /tmp/ecto/build/devel
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.54
-- Boost version: 1.46.1
WARNING: ecto/setup.py: catkin_pkg.package.parse_package_for_distutils() is deprecated. Please use catkin_pkg.python_setup.generate_distutils_setup(**kwargs) instead.
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- python
-- thread
-- regex
-- system
-- serialization
-- Boost version 1.46.1
-- ECTO_EXCEPTION_SHARED_POINTERS_ARE_CONST: FALSE
-- ECTO_EXCEPTION_DIAGNOSTIC_IMPL_TAKES_CHARSTAR: TRUE
-- ECTO_EXCEPTION_RELEASE_RETURNS_VOID: FALSE
-- ECTO_EXCEPTION_TAG_TYPE_NAME_RETURNS_STRING: TRUE
-- ECTO_EXCEPTION_TYPE_INFO_NESTED: FALSE
-- ECTO_EXCEPTION_CONTAINER_WITHOUT_CLONE: FALSE
-- Found PythonLibs: /usr/lib/libpython2.7.so
-- Found Git: /usr/bin/git
-- ecto commit: 63fe324910ce613d6b509fe4b1c85e4a5e64cde7
-- ecto tag (long): 0.4.16-7-g63fe324
-- ecto tag (short): 0.4.16
-- ecto last_mod: Tue, 27 Nov 2012 13:34:56 -0800
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_MAIN_LIBRARY)
-- Disabling testing since gtest was not found.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/ecto/build
xamox@sightmachine:/tmp/ecto/build$ make
Scanning dependencies of target ecto
[ 1%] Building CXX object src/lib/CMakeFiles/ecto.dir/abi.cpp.o
[ 2%] Building CXX object src/lib/CMakeFiles/ecto.dir/cell.cpp.o
[ 3%] Building CXX object src/lib/CMakeFiles/ecto.dir/edge.cpp.o
[ 4%] Building CXX object src/lib/CMakeFiles/ecto.dir/tendril.cpp.o
[ 5%] Building CXX object src/lib/CMakeFiles/ecto.dir/tendrils.cpp.o
[ 6%] Building CXX object src/lib/CMakeFiles/ecto.dir/plasm.cpp.o
[ 7%] Building CXX object src/lib/CMakeFiles/ecto.dir/plasm/impl.cpp.o
[ 8%] Building CXX object src/lib/CMakeFiles/ecto.dir/util.cpp.o
[ 9%] Building CXX object src/lib/CMakeFiles/ecto.dir/log.cpp.o
[ 10%] Building CXX object src/lib/CMakeFiles/ecto.dir/except.cpp.o
[ 11%] Building CXX object src/lib/CMakeFiles/ecto.dir/parameters.cpp.o
[ 12%] Building CXX object src/lib/CMakeFiles/ecto.dir/profile.cpp.o
[ 13%] Building CXX object src/lib/CMakeFiles/ecto.dir/python.cpp.o
[ 15%] Building CXX object src/lib/CMakeFiles/ecto.dir/registry.cpp.o
[ 16%] Building CXX object src/lib/CMakeFiles/ecto.dir/rethrow.cpp.o
[ 17%] Building CXX object src/lib/CMakeFiles/ecto.dir/serialization.cpp.o
[ 18%] Building CXX object src/lib/CMakeFiles/ecto.dir/scheduler.cpp.o
[ 19%] Building CXX object src/lib/CMakeFiles/ecto.dir/schedulers/invoke.cpp.o
[ 20%] Building CXX object src/lib/CMakeFiles/ecto.dir/schedulers/singlethreaded.cpp.o
[ 21%] Building CXX object src/lib/CMakeFiles/ecto.dir/schedulers/multithreaded.cpp.o
[ 22%] Building CXX object src/lib/CMakeFiles/ecto.dir/strand.cpp.o
[ 23%] Building CXX object src/lib/CMakeFiles/ecto.dir/test.cpp.o
Linking CXX shared library ../../devel/lib/libecto.so
[ 23%] Built target ecto
Scanning dependencies of target ecto_main_ectomodule
[ 24%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/cell.cpp.o
[ 25%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/cells/BlackBox.cpp.o
[ 26%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/cells/ether.cpp.o
[ 27%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/ecto.cpp.o
[ 29%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/except.cpp.o
[ 30%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/plasm.cpp.o
[ 31%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/parameters.cpp.o
[ 32%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/registry.cpp.o
[ 33%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/schedulers.cpp.o
[ 34%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/strand.cpp.o
[ 35%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/streambuf.cpp.o
[ 36%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/tendril.cpp.o
[ 37%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/tendrils.cpp.o
Linking CXX shared library ../../devel/lib/python2.7/dist-packages/ecto/ecto_main.so
[ 37%] Built target ecto_main_ectomodule
Scanning dependencies of target cells_ectomodule
[ 38%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/And.cpp.o
[ 39%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/Constant.cpp.o
[ 40%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/Counter.cpp.o
[ 41%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/Dealer.cpp.o
[ 43%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/If.cpp.o
[ 44%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/Passthrough.cpp.o
[ 45%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/PassthroughN.cpp.o
[ 46%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/TrueEveryN.cpp.o
[ 47%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/module.cpp.o
Linking CXX shared library ../../../devel/lib/python2.7/dist-packages/ecto/cells.so
[ 47%] Built target cells_ectomodule
Scanning dependencies of target ecto_examples_ectomodule
[ 48%] Building CXX object doc/doc_errata/src/CMakeFiles/ecto_examples_ectomodule.dir/module.cpp.o
[ 49%] Building CXX object doc/doc_errata/src/CMakeFiles/ecto_examples_ectomodule.dir/Example01.cpp.o
[ 50%] Building CXX object doc/doc_errata/src/CMakeFiles/ecto_examples_ectomodule.dir/EnumAsInt.cpp.o
[ 51%] Building CXX object doc/doc_errata/src/CMakeFiles/ecto_examples_ectomodule.dir/EnumAsEnum.cpp.o
Linking CXX shared library ../../../devel/lib/python2.7/dist-packages/ecto/ecto_examples.so
[ 51%] Built target ecto_examples_ectomodule
Scanning dependencies of target ecto_overview_ectomodule
[ 52%] Building CXX object doc/doc_errata/overview/CMakeFiles/ecto_overview_ectomodule.dir/module.cpp.o
[ 53%] Building CXX object doc/doc_errata/overview/CMakeFiles/ecto_overview_ectomodule.dir/cell.cpp.o
[ 54%] Building CXX object doc/doc_errata/overview/CMakeFiles/ecto_overview_ectomodule.dir/nop.cpp.o
[ 55%] Building CXX object doc/doc_errata/overview/CMakeFiles/ecto_overview_ectomodule.dir/interface.cpp.o
Linking CXX shared library ../../../devel/lib/python2.7/dist-packages/ecto/ecto_overview.so
[ 55%] Built target ecto_overview_ectomodule
Scanning dependencies of target ecto_lifecycle_ectomodule
[ 56%] Building CXX object doc/doc_errata/usage/tutorials/srcs/CMakeFiles/ecto_lifecycle_ectomodule.dir/LifeCycle.cpp.o
Linking CXX shared library ../../../../../devel/lib/python2.7/dist-packages/ecto/ecto_lifecycle.so
[ 56%] Built target ecto_lifecycle_ectomodule
Scanning dependencies of target tutorial_ectomodule
[ 58%] Building CXX object doc/doc_errata/usage/tutorials/srcs/CMakeFiles/tutorial_ectomodule.dir/tutorial.cpp.o
[ 59%] Building CXX object doc/doc_errata/usage/tutorials/srcs/CMakeFiles/tutorial_ectomodule.dir/Hello.cpp.o
[ 60%] Building CXX object doc/doc_errata/usage/tutorials/srcs/CMakeFiles/tutorial_ectomodule.dir/Increment.cpp.o
[ 61%] Building CXX object doc/doc_errata/usage/tutorials/srcs/CMakeFiles/tutorial_ectomodule.dir/Add.cpp.o
Linking CXX shared library ../../../../../devel/lib/python2.7/dist-packages/ecto/tutorial.so
[ 61%] Built target tutorial_ectomodule
Scanning dependencies of target ecto_test_ectomodule
[ 62%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Add.cpp.o
[ 63%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/BpObjectToCellPtr.cpp.o
[ 64%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/CantCallMeFromTwoThreads.cpp.o
[ 65%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/ConfigureCalledOnce.cpp.o
[ 66%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/DontCallMeFromTwoThreads.cpp.o
[ 67%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/EmitAndAccept.cpp.o
[ 68%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/ExceptInConstructor.cpp.o
[ 69%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/FileIO.cpp.o
[ 70%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Multiply.cpp.o
[ 72%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Quitter.cpp.o
[ 73%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/QuitAfter.cpp.o
[ 74%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Increment.cpp.o
[ 75%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/LatticeSleep.cpp.o
[ 76%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Printer.cpp.o
[ 77%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Ping.cpp.o
[ 78%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Metrics.cpp.o
[ 79%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Gather.cpp.o
[ 80%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Generate.cpp.o
[ 81%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/RequiredInput.cpp.o
[ 82%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/RequiredParam.cpp.o
[ 83%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/RequiredIO.cpp.o
[ 84%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Passthrough.cpp.o
[ 86%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/ParameterWatcher.cpp.o
[ 87%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Sleep.cpp.o
[ 88%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/SleepPyObjectAbuser.cpp.o
[ 89%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/StartStopCounter.cpp.o
[ 90%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Throttle.cpp.o
[ 91%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/ThrowAfter.cpp.o
[ 92%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/TickCheck.cpp.o
[ 93%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Uniform01.cpp.o
[ 94%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/throws_in_handler.cpp.o
[ 95%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/gil_exercise.cpp.o
[ 96%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/ecto_test.cpp.o
Linking CXX shared library ../../devel/lib/python2.7/dist-packages/ecto/ecto_test.so
[ 96%] Built target ecto_test_ectomodule
Scanning dependencies of target hello_ecto_ectomodule
[ 97%] Building CXX object samples/CMakeFiles/hello_ecto_ectomodule.dir/hello_ecto.cpp.o
Linking CXX shared library ../devel/lib/python2.7/dist-packages/ecto/hello_ecto.so
[ 97%] Built target hello_ecto_ectomodule
Scanning dependencies of target ecto_X_ectomodule
[ 98%] Building CXX object samples/experimental/CMakeFiles/ecto_X_ectomodule.dir/executioner.cpp.o
[100%] Building CXX object samples/experimental/CMakeFiles/ecto_X_ectomodule.dir/necto.cpp.o
Linking CXX shared library ../../devel/lib/python2.7/dist-packages/ecto/ecto_X.so
[100%] Built target ecto_X_ectomodule
xamox@sightmachine:/tmp/ecto/build$ make install
[ 23%] Built target ecto
[ 37%] Built target ecto_main_ectomodule
[ 47%] Built target cells_ectomodule
[ 51%] Built target ecto_examples_ectomodule
[ 55%] Built target ecto_overview_ectomodule
[ 56%] Built target ecto_lifecycle_ectomodule
[ 61%] Built target tutorial_ectomodule
[ 96%] Built target ecto_test_ectomodule
[ 97%] Built target hello_ecto_ectomodule
[100%] Built target ecto_X_ectomodule
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/.catkin
CMake Error at cmake_install.cmake:38 (FILE):
file INSTALL cannot copy file
"/tmp/ecto/build/catkin_generated/installspace/.catkin" to
"/usr/local/.catkin".
make: *** [install] Error 1
xamox@sightmachine:/tmp/ecto/build$ sudo make install
[ 23%] Built target ecto
[ 37%] Built target ecto_main_ectomodule
[ 47%] Built target cells_ectomodule
[ 51%] Built target ecto_examples_ectomodule
[ 55%] Built target ecto_overview_ectomodule
[ 56%] Built target ecto_lifecycle_ectomodule
[ 61%] Built target tutorial_ectomodule
[ 96%] Built target ecto_test_ectomodule
[ 97%] Built target hello_ecto_ectomodule
[100%] Built target ecto_X_ectomodule
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/.catkin
-- Up-to-date: /usr/local/_setup_util.py
-- Installing: /usr/local/env.sh
-- Installing: /usr/local/setup.sh
-- Installing: /usr/local/setup.bash
-- Installing: /usr/local/setup.zsh
-- Installing: /usr/local/.rosinstall
-- Installing: /usr/local/lib/pkgconfig/ecto.pc
-- Installing: /usr/local/share/ecto/cmake/ecto-extras.cmake
-- Installing: /usr/local/share/ecto/cmake/ectoConfig.cmake
-- Installing: /usr/local/share/ecto/cmake/ectoConfig-version.cmake
-- Installing: /usr/local/share/ecto/package.xml
+ [ -n ]
+ cd /tmp/ecto
+ /usr/bin/env PYTHONPATH=/usr/local/lib/python2.7/dist-packages:/tmp/ecto/build/lib/python2.7/dist-packages: CATKIN_BINARY_DIR=/tmp/ecto/build /usr/bin/python /tmp/ecto/setup.py build --build-base /tmp/ecto/build install --install-layout=deb --prefix=/usr/local --install-scripts=/usr/local/bin
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
WARNING: ecto/setup.py: catkin_pkg.package.parse_package_for_distutils() is deprecated. Please use catkin_pkg.python_setup.generate_distutils_setup(**kwargs) instead.
running build
running build_py
creating /tmp/ecto/build/lib.linux-x86_64-2.7
creating /tmp/ecto/build/lib.linux-x86_64-2.7/ecto
copying python/ecto/xdot.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto
copying python/ecto/state.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto
copying python/ecto/cell.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto
copying python/ecto/gui.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto
copying python/ecto/blackbox.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto
copying python/ecto/test.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto
copying python/ecto/opts.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto
copying python/ecto/__init__.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto
copying python/ecto/doc.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto
creating /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx
copying python/ecto/sphinx/programoutput.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx
copying python/ecto/sphinx/EctoCellDirective.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx
copying python/ecto/sphinx/EctoShLexer.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx
copying python/ecto/sphinx/ToggleDirective.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx
copying python/ecto/sphinx/__init__.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx
copying python/ecto/sphinx/EctoModuleDirective.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx
copying python/ecto/sphinx/EctoPlotDirective.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx
creating /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe
copying python/ecto/sphinx/breathe/__init__.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe
creating /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/finder
copying python/ecto/sphinx/breathe/finder/__init__.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/finder
creating /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/finder/doxygen
copying python/ecto/sphinx/breathe/finder/doxygen/base.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/finder/doxygen
copying python/ecto/sphinx/breathe/finder/doxygen/index.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/finder/doxygen
copying python/ecto/sphinx/breathe/finder/doxygen/__init__.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/finder/doxygen
copying python/ecto/sphinx/breathe/finder/doxygen/compound.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/finder/doxygen
creating /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/parser
copying python/ecto/sphinx/breathe/parser/__init__.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/parser
creating /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/parser/doxygen
copying python/ecto/sphinx/breathe/parser/doxygen/compoundsuper.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/parser/doxygen
copying python/ecto/sphinx/breathe/parser/doxygen/index.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/parser/doxygen
copying python/ecto/sphinx/breathe/parser/doxygen/__init__.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/parser/doxygen
copying python/ecto/sphinx/breathe/parser/doxygen/compound.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/parser/doxygen
copying python/ecto/sphinx/breathe/parser/doxygen/indexsuper.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/parser/doxygen
creating /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer
copying python/ecto/sphinx/breathe/renderer/__init__.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer
creating /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer/rst
copying python/ecto/sphinx/breathe/renderer/rst/__init__.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer/rst
creating /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer/rst/doxygen
copying python/ecto/sphinx/breathe/renderer/rst/doxygen/domain.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer/rst/doxygen
copying python/ecto/sphinx/breathe/renderer/rst/doxygen/base.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer/rst/doxygen
copying python/ecto/sphinx/breathe/renderer/rst/doxygen/target.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer/rst/doxygen
copying python/ecto/sphinx/breathe/renderer/rst/doxygen/index.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer/rst/doxygen
copying python/ecto/sphinx/breathe/renderer/rst/doxygen/filter.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer/rst/doxygen
copying python/ecto/sphinx/breathe/renderer/rst/doxygen/__init__.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer/rst/doxygen
copying python/ecto/sphinx/breathe/renderer/rst/doxygen/compound.py -> /tmp/ecto/build/lib.linux-x86_64-2.7/ecto/sphinx/breathe/renderer/rst/doxygen
error: package directory 'python/ecto_catkin' does not exist
CMake Error at catkin_generated/safe_execute_install.cmake:4 (message):
execute_process(/tmp/ecto/build/catkin_generated/python_distutils_install.sh)
returned error code
Call Stack (most recent call first):
cmake_install.cmake:97 (INCLUDE)
make: *** [install] Error 1
well, you are not calling sudo with "make install"
Also, by installing to tmp, I meant: do a
cmake your_source_path -DCMAKE_INSTALL_PREFIX=/tmp
Still a no go:
xamox@sightmachine:~/Code/ecto/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/tmp
-- Using CATKIN_DEVEL_PREFIX: /home/xamox/Code/ecto/build/devel
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.54
WARNING: ecto/setup.py: catkin_pkg.package.parse_package_for_distutils() is deprecated. Please use catkin_pkg.python_setup.generate_distutils_setup(**kwargs) instead.
-- Boost version 1.46.1
-- ecto commit: 63fe324910ce613d6b509fe4b1c85e4a5e64cde7
-- ecto tag (long): 0.4.16-7-g63fe324
-- ecto tag (short): 0.4.16
-- ecto last_mod: Tue, 27 Nov 2012 13:34:56 -0800
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_MAIN_LIBRARY)
-- Disabling testing since gtest was not found.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xamox/Code/ecto/build
xamox@sightmachine:~/Code/ecto/build$ make
[ 1%] Building CXX object src/lib/CMakeFiles/ecto.dir/abi.cpp.o
[ 2%] Building CXX object src/lib/CMakeFiles/ecto.dir/cell.cpp.o
[ 3%] Building CXX object src/lib/CMakeFiles/ecto.dir/edge.cpp.o
[ 4%] Building CXX object src/lib/CMakeFiles/ecto.dir/tendril.cpp.o
[ 5%] Building CXX object src/lib/CMakeFiles/ecto.dir/tendrils.cpp.o
[ 6%] Building CXX object src/lib/CMakeFiles/ecto.dir/plasm.cpp.o
[ 7%] Building CXX object src/lib/CMakeFiles/ecto.dir/plasm/impl.cpp.o
[ 8%] Building CXX object src/lib/CMakeFiles/ecto.dir/util.cpp.o
[ 9%] Building CXX object src/lib/CMakeFiles/ecto.dir/log.cpp.o
[ 10%] Building CXX object src/lib/CMakeFiles/ecto.dir/except.cpp.o
[ 11%] Building CXX object src/lib/CMakeFiles/ecto.dir/parameters.cpp.o
[ 12%] Building CXX object src/lib/CMakeFiles/ecto.dir/profile.cpp.o
[ 13%] Building CXX object src/lib/CMakeFiles/ecto.dir/python.cpp.o
[ 15%] Building CXX object src/lib/CMakeFiles/ecto.dir/registry.cpp.o
[ 16%] Building CXX object src/lib/CMakeFiles/ecto.dir/rethrow.cpp.o
[ 17%] Building CXX object src/lib/CMakeFiles/ecto.dir/serialization.cpp.o
[ 18%] Building CXX object src/lib/CMakeFiles/ecto.dir/scheduler.cpp.o
[ 19%] Building CXX object src/lib/CMakeFiles/ecto.dir/schedulers/invoke.cpp.o
[ 20%] Building CXX object src/lib/CMakeFiles/ecto.dir/schedulers/singlethreaded.cpp.o
[ 21%] Building CXX object src/lib/CMakeFiles/ecto.dir/schedulers/multithreaded.cpp.o
[ 22%] Building CXX object src/lib/CMakeFiles/ecto.dir/strand.cpp.o
[ 23%] Building CXX object src/lib/CMakeFiles/ecto.dir/test.cpp.o
Linking CXX shared library ../../devel/lib/libecto.so
[ 23%] Built target ecto
[ 24%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/cell.cpp.o
[ 25%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/cells/BlackBox.cpp.o
[ 26%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/cells/ether.cpp.o
[ 27%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/ecto.cpp.o
[ 29%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/except.cpp.o
[ 30%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/plasm.cpp.o
[ 31%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/parameters.cpp.o
[ 32%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/registry.cpp.o
[ 33%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/schedulers.cpp.o
[ 34%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/strand.cpp.o
[ 35%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/streambuf.cpp.o
[ 36%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/tendril.cpp.o
[ 37%] Building CXX object src/pybindings/CMakeFiles/ecto_main_ectomodule.dir/tendrils.cpp.o
Linking CXX shared library ../../devel/lib/python2.7/dist-packages/ecto/ecto_main.so
[ 37%] Built target ecto_main_ectomodule
[ 38%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/And.cpp.o
[ 39%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/Constant.cpp.o
[ 40%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/Counter.cpp.o
[ 41%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/Dealer.cpp.o
[ 43%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/If.cpp.o
[ 44%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/Passthrough.cpp.o
[ 45%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/PassthroughN.cpp.o
[ 46%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/TrueEveryN.cpp.o
[ 47%] Building CXX object src/pybindings/cells/CMakeFiles/cells_ectomodule.dir/module.cpp.o
Linking CXX shared library ../../../devel/lib/python2.7/dist-packages/ecto/cells.so
[ 47%] Built target cells_ectomodule
[ 48%] Building CXX object doc/doc_errata/src/CMakeFiles/ecto_examples_ectomodule.dir/module.cpp.o
[ 49%] Building CXX object doc/doc_errata/src/CMakeFiles/ecto_examples_ectomodule.dir/Example01.cpp.o
[ 50%] Building CXX object doc/doc_errata/src/CMakeFiles/ecto_examples_ectomodule.dir/EnumAsInt.cpp.o
[ 51%] Building CXX object doc/doc_errata/src/CMakeFiles/ecto_examples_ectomodule.dir/EnumAsEnum.cpp.o
Linking CXX shared library ../../../devel/lib/python2.7/dist-packages/ecto/ecto_examples.so
[ 51%] Built target ecto_examples_ectomodule
[ 52%] Building CXX object doc/doc_errata/overview/CMakeFiles/ecto_overview_ectomodule.dir/module.cpp.o
[ 53%] Building CXX object doc/doc_errata/overview/CMakeFiles/ecto_overview_ectomodule.dir/cell.cpp.o
[ 54%] Building CXX object doc/doc_errata/overview/CMakeFiles/ecto_overview_ectomodule.dir/nop.cpp.o
[ 55%] Building CXX object doc/doc_errata/overview/CMakeFiles/ecto_overview_ectomodule.dir/interface.cpp.o
Linking CXX shared library ../../../devel/lib/python2.7/dist-packages/ecto/ecto_overview.so
[ 55%] Built target ecto_overview_ectomodule
[ 56%] Building CXX object doc/doc_errata/usage/tutorials/srcs/CMakeFiles/ecto_lifecycle_ectomodule.dir/LifeCycle.cpp.o
Linking CXX shared library ../../../../../devel/lib/python2.7/dist-packages/ecto/ecto_lifecycle.so
[ 56%] Built target ecto_lifecycle_ectomodule
[ 58%] Building CXX object doc/doc_errata/usage/tutorials/srcs/CMakeFiles/tutorial_ectomodule.dir/tutorial.cpp.o
[ 59%] Building CXX object doc/doc_errata/usage/tutorials/srcs/CMakeFiles/tutorial_ectomodule.dir/Hello.cpp.o
[ 60%] Building CXX object doc/doc_errata/usage/tutorials/srcs/CMakeFiles/tutorial_ectomodule.dir/Increment.cpp.o
[ 61%] Building CXX object doc/doc_errata/usage/tutorials/srcs/CMakeFiles/tutorial_ectomodule.dir/Add.cpp.o
Linking CXX shared library ../../../../../devel/lib/python2.7/dist-packages/ecto/tutorial.so
[ 61%] Built target tutorial_ectomodule
[ 62%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Add.cpp.o
[ 63%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/BpObjectToCellPtr.cpp.o
[ 64%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/CantCallMeFromTwoThreads.cpp.o
[ 65%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/ConfigureCalledOnce.cpp.o
[ 66%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/DontCallMeFromTwoThreads.cpp.o
[ 67%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/EmitAndAccept.cpp.o
[ 68%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/ExceptInConstructor.cpp.o
[ 69%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/FileIO.cpp.o
[ 70%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Multiply.cpp.o
[ 72%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Quitter.cpp.o
[ 73%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/QuitAfter.cpp.o
[ 74%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Increment.cpp.o
[ 75%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/LatticeSleep.cpp.o
[ 76%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Printer.cpp.o
[ 77%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Ping.cpp.o
[ 78%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Metrics.cpp.o
[ 79%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Gather.cpp.o
[ 80%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Generate.cpp.o
[ 81%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/RequiredInput.cpp.o
[ 82%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/RequiredParam.cpp.o
[ 83%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/RequiredIO.cpp.o
[ 84%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Passthrough.cpp.o
[ 86%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/ParameterWatcher.cpp.o
[ 87%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Sleep.cpp.o
[ 88%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/SleepPyObjectAbuser.cpp.o
[ 89%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/StartStopCounter.cpp.o
[ 90%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Throttle.cpp.o
[ 91%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/ThrowAfter.cpp.o
[ 92%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/TickCheck.cpp.o
[ 93%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/Uniform01.cpp.o
[ 94%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/throws_in_handler.cpp.o
[ 95%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/gil_exercise.cpp.o
[ 96%] Building CXX object test/cells/CMakeFiles/ecto_test_ectomodule.dir/ecto_test.cpp.o
Linking CXX shared library ../../devel/lib/python2.7/dist-packages/ecto/ecto_test.so
[ 96%] Built target ecto_test_ectomodule
[ 97%] Building CXX object samples/CMakeFiles/hello_ecto_ectomodule.dir/hello_ecto.cpp.o
Linking CXX shared library ../devel/lib/python2.7/dist-packages/ecto/hello_ecto.so
[ 97%] Built target hello_ecto_ectomodule
[ 98%] Building CXX object samples/experimental/CMakeFiles/ecto_X_ectomodule.dir/executioner.cpp.o
[100%] Building CXX object samples/experimental/CMakeFiles/ecto_X_ectomodule.dir/necto.cpp.o
Linking CXX shared library ../../devel/lib/python2.7/dist-packages/ecto/ecto_X.so
[100%] Built target ecto_X_ectomodule
xamox@sightmachine:~/Code/ecto/build$ sudo make install
[ 23%] Built target ecto
[ 37%] Built target ecto_main_ectomodule
[ 47%] Built target cells_ectomodule
[ 51%] Built target ecto_examples_ectomodule
[ 55%] Built target ecto_overview_ectomodule
[ 56%] Built target ecto_lifecycle_ectomodule
[ 61%] Built target tutorial_ectomodule
[ 96%] Built target ecto_test_ectomodule
[ 97%] Built target hello_ecto_ectomodule
[100%] Built target ecto_X_ectomodule
Install the project...
-- Install configuration: ""
-- Installing: /tmp/.catkin
-- Up-to-date: /tmp/_setup_util.py
-- Up-to-date: /tmp/env.sh
-- Installing: /tmp/setup.sh
-- Up-to-date: /tmp/setup.bash
-- Up-to-date: /tmp/setup.zsh
-- Up-to-date: /tmp/.rosinstall
-- Installing: /tmp/lib/pkgconfig/ecto.pc
-- Up-to-date: /tmp/share/ecto/cmake/ecto-extras.cmake
-- Up-to-date: /tmp/share/ecto/cmake/ectoConfig.cmake
-- Up-to-date: /tmp/share/ecto/cmake/ectoConfig-version.cmake
-- Up-to-date: /tmp/share/ecto/package.xml
+ [ -n ]
+ cd /home/xamox/Code/ecto
+ /usr/bin/env PYTHONPATH=/tmp/lib/python2.7/dist-packages:/home/xamox/Code/ecto/build/lib/python2.7/dist-packages: CATKIN_BINARY_DIR=/home/xamox/Code/ecto/build /usr/bin/python /home/xamox/Code/ecto/setup.py build --build-base /home/xamox/Code/ecto/build install --install-layout=deb --prefix=/tmp --install-scripts=/tmp/bin
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
WARNING: ecto/setup.py: catkin_pkg.package.parse_package_for_distutils() is deprecated. Please use catkin_pkg.python_setup.generate_distutils_setup(**kwargs) instead.
running build
running build_py
error: package directory 'python/ecto_catkin' does not exist
CMake Error at catkin_generated/safe_execute_install.cmake:4 (message):
execute_process(/home/xamox/Code/ecto/build/catkin_generated/python_distutils_install.sh)
returned error code
Call Stack (most recent call first):
cmake_install.cmake:97 (INCLUDE)
make: *** [install] Error 1
xamox@sightmachine:~/Code/ecto/build$
ok, to setup your environment properly, you need to source the setup.sh in build/devel. I'll update the docs on that.
Then do make install.
Still getting the same error sadly.
xamox@sightmachine:~/Code/ecto/build$ sudo make install
[ 23%] Built target ecto
[ 37%] Built target ecto_main_ectomodule
[ 47%] Built target cells_ectomodule
[ 51%] Built target ecto_examples_ectomodule
[ 55%] Built target ecto_overview_ectomodule
[ 56%] Built target ecto_lifecycle_ectomodule
[ 61%] Built target tutorial_ectomodule
[ 96%] Built target ecto_test_ectomodule
[ 97%] Built target hello_ecto_ectomodule
[100%] Built target ecto_X_ectomodule
Install the project...
-- Install configuration: ""
-- Up-to-date: /tmp/.catkin
-- Up-to-date: /tmp/_setup_util.py
-- Up-to-date: /tmp/env.sh
-- Up-to-date: /tmp/setup.sh
-- Up-to-date: /tmp/setup.bash
-- Up-to-date: /tmp/setup.zsh
-- Up-to-date: /tmp/.rosinstall
-- Up-to-date: /tmp/lib/pkgconfig/ecto.pc
-- Up-to-date: /tmp/share/ecto/cmake/ecto-extras.cmake
-- Up-to-date: /tmp/share/ecto/cmake/ectoConfig.cmake
-- Up-to-date: /tmp/share/ecto/cmake/ectoConfig-version.cmake
-- Up-to-date: /tmp/share/ecto/package.xml
+ [ -n ]
+ cd /home/xamox/Code/ecto
+ /usr/bin/env PYTHONPATH=/tmp/lib/python2.7/dist-packages:/home/xamox/Code/ecto/build/lib/python2.7/dist-packages: CATKIN_BINARY_DIR=/home/xamox/Code/ecto/build /usr/bin/python /home/xamox/Code/ecto/setup.py build --build-base /home/xamox/Code/ecto/build install --install-layout=deb --prefix=/tmp --install-scripts=/tmp/bin
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
WARNING: ecto/setup.py: catkin_pkg.package.parse_package_for_distutils() is deprecated. Please use catkin_pkg.python_setup.generate_distutils_setup(**kwargs) instead.
running build
running build_py
error: package directory 'python/ecto_catkin' does not exist
CMake Error at catkin_generated/safe_execute_install.cmake:4 (message):
execute_process(/home/xamox/Code/ecto/build/catkin_generated/python_distutils_install.sh)
returned error code
Call Stack (most recent call first):
cmake_install.cmake:97 (INCLUDE)
make: *** [install] Error 1