efabless / caravel_user_mini

Apache License 2.0
2 stars 1 forks source link

make setup docker.sock error #3

Open philiprbrenan opened 3 months ago

philiprbrenan commented 3 months ago

I am trying to install caravel mini on Ubuntu 22, but I get the following error messages when running make setup

make[2]: Entering directory '/home/phil/zz/zeasal/caravel_user_mini/dependencies/openlane_src'
Makefile:23: warning: undefined variable 'DOCKER_SWAP'
Makefile:26: warning: undefined variable 'DOCKER_MEMORY'
Makefile:42: warning: undefined variable 'ROUTING_CORES'
Makefile:84: warning: undefined variable 'STD_CELL_LIBRARY'
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=efabless%2Fopenlane&tag=2023.07.19-1": dial unix /var/run/docker.sock: connect: permission denied
make[2]: *** [Makefile:115: pull-openlane] Error 1
make[2]: Leaving directory '/home/phil/zz/zeasal/caravel_user_mini/dependencies/openlane_src'
make[1]: *** [Makefile:94: openlane] Error 2
make[1]: Leaving directory '/home/phil/zz/zeasal/caravel_user_mini/openlane'
make: *** [Makefile:215: openlane] Error 2
vijayank88 commented 3 months ago

@philiprbrenan after docker installation make that as rootless by following instruction from here and run make setup again to resolve above error.