Closed mcaniot closed 5 years ago
It is strange... In prepare_requirements_ros1.sh you build a docker image from docker/Dockerfile_ros1, that actually install everything to configure and build....
Did you obtained any error when building the docker image?
Best
Yes I had errors on the apt-get install
. I had to remove all apt-get install
of the file Dockerfile_ros1. When the docker tried to perform an apt-get install I had error like this one :
RUN apt-get install -y --no-install-recommends locales
---> Running in db1d3acb34c4
Reading package lists...
Building dependency tree...
Reading state information...
Package locales is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'locales' has no installation candidate
The command '/bin/sh -c apt-get install -y --no-install-recommends locales' returned a non-zero code: 100
Or
RUN apt-get install -y --no-install-recommends lsb-release software-properties-common
---> Running in 3b9161746565
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package lsb-release
E: Unable to locate package software-properties-common
Moreover, all the packages are already installed on my laptop
Hi !
I finally fixed my issue by replacing in the Dockerfile_ros1 the apt key server by:
RUN apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
I tried to compile ros 1 for Pepper and I had some issues. Indeed, in the first docker run, I had an error when the code tried to run the configure command :
You can find all the config.log here.
I didn't understand why you need to build for the host so I tried to move on by removing the first docker run and I get a new error with the second after the creation of the makefile:
bash: make: command not found
I find out that a few command is not found by the bash (like make, wget or vcs) when I launched
./prepare_requirements_ros1.sh
. How can I fix that ?