0

首先,我做了 ./configure

然后,我做了安装和终端显示:

make[2]: 进入目录`/home/lucas/Área de Trabalho/gdbm-1.10/src'

测试 -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: 安装: /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/Área de Trabalho/gdbm-1.10/src'

make[1]: * [install-am] 错误 2

make[1]: 离开目录`/home/lucas/Área de Trabalho/gdbm-1.10/src'

make: * [安装递归] 错误 1

有什么帮助吗?

4

1 回答 1

0

您无权写入 /usr/local/lib

sudo make install

或成为root并运行make install

于 2013-12-02T17:29:47.817 回答