Eclipse无法删除文件夹:权限被拒绝错误

时间:2014-11-16 21:50:16

标签: eclipse ubuntu permissions

我正在尝试在Ubuntu中的Eclipse(helios)中构建PostgreSQL。 我按照https://wiki.postgresql.org/wiki/Working_with_Eclipse

中的说明操作

我在构建代码时得到了“所有PostgreSQL成功制作,准备安装”的消息。 但是,当我尝试制作目标并构建它时,会出现以下错误。

make install 
make -C src install
make[1]: Entering directory `/home/ubuntu/git/postgresql2/src'
make -C common install
make[2]: Entering directory `/home/ubuntu/git/postgresql2/src/common'
make -C ../backend submake-errcodes
make[3]: Entering directory `/home/ubuntu/git/postgresql2/src/backend'
make[3]: Nothing to be done for `submake-errcodes'.
make[3]: Leaving directory `/home/ubuntu/git/postgresql2/src/backend'
/bin/mkdir -p '/usr/local/pgsql/lib'
/usr/bin/install -c -m 644  libpgcommon.a '/usr/local/pgsql/lib/libpgcommon.a'
/usr/bin/install: cannot remove `/usr/local/pgsql/lib/libpgcommon.a': Permission denied
make[2]: Leaving directory `/home/ubuntu/git/postgresql2/src/common'
make[1]: Leaving directory `/home/ubuntu/git/postgresql2/src'
make[2]: *** [install] Error 1
make[1]: *** [install-common-recurse] Error 2
make: *** [install-src-recurse] Error 2

存在权限错误。我该如何解决?

0 个答案:

没有答案