我正在尝试在我的机器上安装 Glog 0.3.4 https://github.com/google/glog/releases,即使我没有 sudo 访问权限。我运行了以下命令:
./configure --prefix=/usr/local
make
make install
这导致以下错误
$ make install
make[1]: Entering directory `/glog-0.3.4'
/bin/mkdir -p '/usr/local/lib'
/bin/bash ./libtool --mode=install /usr/bin/install -c libglog.la
'/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libglog.so.0.0.0
/usr/local/lib/libglog.so.0.0.0
/usr/bin/install: cannot create regular file
'/usr/local/lib/libglog.so.0.0.0': Permission denied
make[1]: *** [install-libLTLIBRARIES] Error 1
如何克服这个错误并完成我的安装?我对这台机器没有任何 sudo 访问权限。谢谢!