首先,我做了./configure
然后,我确实安装了,终端显示了这个:
make [2]:进入目录`/ home / lucas /ÁreadeTrabalho / gdbm-1.10 / src'
test -z“/ usr / local / lib”|| / bin / mkdir -p“/ usr / local / lib” / bin / bash ../libtool --mode = install / usr / bin / install -c libgdbm.la'/ usr / local / lib' libtool:install:/ usr / bin / install -c .libs / libgdbm.so.4.0.0 /usr/local/lib/libgdbm.so.4.0.0 / usr / bin / install:无法创建常规文件'/usr/local/lib/libgdbm.so.4.0.0':权限被拒绝
make [2]: * [install-libLTLIBRARIES]错误1
make [2]:离开目录`/ home / lucas /ÁreadeTrabalho / gdbm-1.10 / src'
make [1]: * [install-am]错误2
make [1]:离开目录`/ home / lucas /ÁreadeTrabalho / gdbm-1.10 / src'
make: * [install-recursive]错误1
任何帮助?
答案 0 :(得分:0)
您无权写入/ usr / local / lib
sudo make install
或成为root并运行make install