question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

slambased/install deps.sh failing

See original GitHub issue

Steps to reproduce

  1. On a server with no sudo access, run install_deps.sh after uncommenting line 8

Observed Results

  • ` (HandcraftedAgents) kthopalli@ubuntu:~/habitat-api/habitat_baselines/slambased/3rdparty/ORB_SLAM2-PythonBindings/build$ make install Build type: Release – Using flag -std=c++11. – Boost version: 1.58.0 – Found the following Boost libraries: – python-py35 – Configuring done – Generating done – Build files have been written to: /home/kthopalli/habitat-api/habitat_baselines/slambased/3rdparty/ORB_SLAM2-PythonBindings/build [100%] Built target orbslam2 Install the project… – Install configuration: “Release” CMake Error at cmake_install.cmake:50 (file): file cannot create directory: /opt/anaconda3/envs/HandcraftedAgents/lib/python3.6/site-packages. Maybe need administrative privileges.

Makefile:61: recipe for target ‘install’ failed make: *** [install] Error 1 ` Can you please let me know how to resolve this.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
xiaotawcommented, Nov 15, 2019

After modifying CMakeListst.txt(L31-33), the installation succeeded. Thank you @mcimpoi !

2reactions
mcimpoicommented, Nov 14, 2019
> ldconfig -p | grep boost_python

	libboost_python-py35.so.1.58.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py35.so.1.58.0
	libboost_python-py35.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py35.so
	libboost_python-py27.so.1.58.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0
	libboost_python-py27.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libboost_python-py27.so

Can you try and change the CMakeListst.txt file from habitat_baselines/slambased/3rdparty/ORB_SLAM2-PythonBindings, lines 31-33 to match your version?

31 │ find_package(PythonLibs 3.5 REQUIRED)
32 │ find_package(NumPy)
33 │ find_package(Boost 1.45.0 REQUIRED COMPONENTS python-py35)

(also maybe ask here: the https://github.com/ducha-aiki/ORB_SLAM2-PythonBindings, or on the original repository)

Read more comments on GitHub >

github_iconTop Results From Across the Web

deps.sh failing on Kali 2021.1 #537 - ReFirmLabs/binwalk
Trying to install on fresh Kali virtual image, but it fails with E: Unable to locate package qt5base-dev. I tried removing that from...
Read more >
Failed to build dependencies with install-build-deps.sh
I have reached a stage where the package dependencies are to be installed with the `install-build-deps.sh` file.
Read more >
build/install-build-deps.sh - chromium/src - Git at Google
install-build-deps.sh ... echo "--quick-check: quickly try to determine if dependencies are installed ... echo "The following command failed: " ${query_cmd}.
Read more >
Bug #23981: install-deps.sh fails with "No such file or directory ...
When running install-deps.sh from withing my Tumbleweed-based Docker container, it fails with the following error message: metis:/ceph # cat /etc/os-release ...
Read more >
How to run "install-build-deps.sh" for Chromium Building
I try sudo apt-get install libc6-dev:armhf , but it isn't working. How can I fix this problem? debian · chromium-os · Share.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found