NVIDIA / enroot

A simple yet powerful tool to turn traditional container/OS images into unprivileged sandboxes.
Apache License 2.0
649 stars 95 forks source link

Error when installing from source #89

Closed LSC527 closed 3 years ago

LSC527 commented 3 years ago

root@:~/gitclone/enroot# sudo make install sed -e 's;@sysconfdir@;/usr/local/etc/enroot;' \ -e 's;@libdir@;/usr/local/lib/enroot;' \ -e 's;@version@;3.3.0;' enroot.in > enroot sed -e 's;@sysconfdir@;/usr/local/etc/enroot;' \ -e 's;@libdir@;/usr/local/lib/enroot;' \ -e 's;@version@;3.3.0;' conf/enroot.conf.in > conf/enroot.conf git submodule update --init make -C deps make[1]: Entering directory '/root/gitclone/enroot/deps' echo 0.9.1 > libbsd/.dist-version cd libbsd && ./autogen && ./configure --prefix=/root/gitclone/enroot/deps/dist/libbsd --disable-shared /bin/sh: 1: ./autogen: Permission denied Makefile:30: recipe for target 'libbsd/.stamp' failed make[1]: [libbsd/.stamp] Error 126 make[1]: Leaving directory '/root/gitclone/enroot/deps' Makefile:120: recipe for target 'deps' failed make: [deps] Error 2

LSC527 commented 3 years ago

I have tried "chmod +x autogen" but got another error:

root@:~/gitclone/enroot# sudo make install git submodule update --init make -C deps make[1]: Entering directory '/root/gitclone/enroot/deps' echo 0.9.1 > libbsd/.dist-version cd libbsd && ./autogen && ./configure --prefix=/root/gitclone/enroot/deps/dist/libbsd --disable-shared /bin/sh: 1: ./autogen: not found Makefile:30: recipe for target 'libbsd/.stamp' failed make[1]: [libbsd/.stamp] Error 127 make[1]: Leaving directory '/root/gitclone/enroot/deps' Makefile:120: recipe for target 'deps' failed make: [deps] Error 2

LSC527 commented 3 years ago

sry, it seems that this error is caused by cp the source from windows to linux.