- 主题:编译的时候用root还是提示权限不足
为什么不sudo?
【 在 whe (kaka) 的大作中提到: 】
: 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
: ...................
--
FROM 221.192.237.*
ll看一下configure的权限,是cvs下的代码吗?
sudo chmod +x configure试试
【 在 whe (kaka) 的大作中提到: 】
: 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
: ...................
--
FROM 221.192.237.*
权限应该是这样的
-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
drwxrwxr-x 2 bbs bbs 4096 4?? 13 20:57 admin
-rw-r--r-- 1 bbs bbs 258 2006-11-06 AUTHORS
-rwxr-xr-x 1 bbs bbs 260 2006-03-13 autogen.sh
drwxr-xr-x 2 bbs bbs 4096 4?? 13 20:57 autom4te.cache
drwxr-xr-x 9 bbs bbs 4096 4?? 24 10:06 bbs2www
-rw-r--r-- 1 bbs bbs 1787 2005-11-26 bbs2www.in
drwxrwxr-x 8 bbs bbs 4096 4?? 24 10:06 bbshome
-rw-r--r-- 1 bbs bbs 0 2002-05-24 ChangeLog
-rw-r--r-- 1 bbs bbs 2774 2002-05-24 compile
-rwxr-xr-x 1 bbs bbs 42037 4?? 13 20:57 config.guess
-rw-r--r-- 1 bbs bbs 729 2003-08-06 config.icc
-rw-r--r-- 1 bbs bbs 6072 2005-11-09 config.lib
-rw-rw-r-- 1 bbs bbs 115392 4?? 13 21:32 config.log
-rwxrwxr-x 1 bbs bbs 58669 4?? 13 21:32 config.status
-rwxr-xr-x 1 bbs bbs 30221 4?? 13 20:57 config.sub
-rwxrwxr-x 1 bbs bbs 1003489 4?? 13 20:58 configure
-rw-r--r-- 1 bbs bbs 6781 11?? 17 04:25 configure.ac
drwxr-xr-x 10 bbs bbs 4096 4?? 24 10:06 contrib
-rw-r--r-- 1 bbs bbs 251 2005-05-09 COPYING
-rwxr-xr-- 1 bbs bbs 17992 2005-05-09 COPYING.GPL
drwxr-xr-x 2 bbs bbs 4096 4?? 24 10:05 CVS
drwxr-xr-x 5 bbs bbs 4096 4?? 23 09:23 daemon
lrwxrwxrwx 1 bbs bbs 16 4?? 13 21:32 default.h -> ./site/default.h
lrwxrwxrwx 1 bbs bbs 31 4?? 13 20:57 depcomp -> /usr/share/automake-1.9/depcomp
-rw-rw-r-- 1 bbs bbs 18286 5?? 11 15:19 diff
drwxr-xr-x 3 bbs bbs 4096 4?? 13 20:41 doc
-rw-r--r-- 1 bbs bbs 703 2003-12-22 filter.sh
drwxrwxr-x 2 bbs bbs 4096 4?? 13 20:57 innbbsd
-rw-r--r-- 1 bbs bbs 25 2005-06-04 INSTALL
lrwxrwxrwx 1 bbs bbs 34 4?? 13 20:57 install-sh -> /usr/share/automake-1.9/install-sh
-rw-rw-r-- 1 bbs bbs 12947 4?? 13 21:32 kbs_config.h
-rw-rw-r-- 1 bbs bbs 12241 4?? 13 20:57 kbs_config.h.in
drwxr-xr-x 3 bbs bbs 4096 4?? 13 20:41 lib
drwxr-xr-x 5 bbs bbs 4096 4?? 23 09:22 libBBS
drwxr-xr-x 5 bbs bbs 4096 4?? 23 09:21 libsystem
-rwxrwxr-x 1 bbs bbs 213322 4?? 13 21:32 libtool
-rw-rw-r-- 1 bbs bbs 0 5?? 18 13:59 ll
drwxr-xr-x 5 bbs bbs 4096 4?? 24 10:06 local_utl
-rw-r--r-- 1 bbs bbs 183730 4?? 13 20:57 ltmain.sh
drwxr-xr-x 5 bbs bbs 4096 4?? 24 10:06 mail2bbs
-rwxr-xr-x 1 bbs bbs 795 2006-10-17 makedist.sh
-rw-rw-r-- 1 bbs bbs 21531 4?? 13 21:32 Makefile
-rw-r--r-- 1 bbs bbs 824 2006-04-07 Makefile.am
-rw-rw-r-- 1 bbs bbs 21593 4?? 13 20:58 Makefile.in
lrwxrwxrwx 1 bbs bbs 31 4?? 13 20:57 missing -> /usr/share/automake-1.9/missing
-rw-r--r-- 1 bbs bbs 4 2006-04-07 NEWS
-rw-r--r-- 1 bbs bbs 18 2005-09-29 README
drwxr-xr-x 5 bbs bbs 4096 4?? 23 09:22 rzsz
drwxr-xr-x 9 bbs bbs 4096 5?? 8 16:23 service
drwxr-xr-x 3 bbs bbs 4096 4?? 14 09:32 site
lrwxrwxrwx 1 bbs bbs 16 4?? 13 21:32 site.h -> ./site/fb2k-v2.h
drwxr-xr-x 5 bbs bbs 4096 4?? 24 10:06 src
-rw-rw-r-- 1 bbs bbs 27 4?? 13 21:32 stamp-h1
drwxr-xr-x 3 bbs bbs 4096 4?? 13 20:42 test
-rwxrwxr-x 1 bbs bbs 1266 4?? 13 21:32 wrapper.sh
-rwxr-xr-x 1 bbs bbs 1262 2006-05-03 wrapper.sh.in
最好还是使用cvs下载代码吧,呵呵
【 在 whe (kaka) 的大作中提到: 】
: 好 不是cvs
: 是下载的snapshot包
--
FROM 221.192.237.*
in yes?
你确定一下php包都装好了,参考pig2532在ubuntu下的安装文档
并且指定好目录
【 在 whe (kaka) 的大作中提到: 】
: 我再试试
: 对了 出现这个提示是不是php没设好?
: configure: error: "can't find php source in yes"
: ...................
--
FROM 221.192.237.*