- 主题:编译的时候用root还是提示权限不足
root@GSE-Ubuntu:/home/bbs/src/kbsbbs-2.0dev# ls
acinclude.m4 bbshome config.sub depcomp lib makedist.sh rzsz
aclocal.m4 ChangeLog configure doc libBBS Makefile.am service
admin compile configure.ac innbbsd libsystem Makefile.in site
AUTHORS config.guess contrib INSTALL local_utl missing src
bbs2www config.icc COPYING install-sh ltmain.sh NEWS sshbbsd
bbs2www.in config.lib daemon kbs_config.h.in mail2bbs README wrapper.sh.in
root@GSE-Ubuntu:/home/bbs/src/kbsbbs-2.0dev# ./configure --prefix=/home/bbs/bbs --enable-site=fb2k-v2 -
with-www=/home/www --with-php --with-mysql --enable-ssh --enable-ssl
bash: ./configure: Permission denied
root@GSE-Ubuntu:/home/bbs/src/kbsbbs-2.0dev#
--
FROM 211.99.222.*
sudo 出现这个提示:
dayboy@GSE-Ubuntu:/home/bbs/src/kbsbbs-2.0dev$ sudo ./configure --prefix=/home/bbs/bbs --enable-site=fb2
k-v2 --with-www=/home/www --with-php --with-mysql --enable-ssh --enable-ssl
sudo: ./configure: command not found
dayboy@GSE-Ubuntu:/home/bbs/src/kbsbbs-2.0dev$
【 在 foxban (长白发了....) 的大作中提到: 】
: 为什么不sudo?
--
FROM 211.99.222.*
好 不是cvs
是下载的snapshot包
【 在 foxban (长白发了....) 的大作中提到: 】
: ll看一下configure的权限,是cvs下的代码吗?
: sudo chmod +x configure试试
--
FROM 211.99.222.*
我再试试
对了 出现这个提示是不是php没设好?
configure: error: "can't find php source in yes"
【 在 foxban (长白发了....) 的大作中提到: 】
: 权限应该是这样的
: -rw-r--r-- 1 bbs bbs 1730 2005-05-27 acinclude.m4
: -rw-rw-r-- 1 bbs bbs 247983 4?? 13 20:57 aclocal.m4
: ...................
--
FROM 211.99.222.*