- 主题:YTHTBBS配置文件的修改
下面是我的bbsconfig文件,可是在./configure时,不能通过。请问如修改?谢谢
LAST_BBS_HOME=/home/bbs
LAST_BBS_UID=9999
LAST_BBS_GID=999
LAST_BBS_USER=bbs
LAST_BBS_ID=MY_BBS
LAST_BBS_CNAME="zeroBBS"
LAST_BBS_DOMAIN=xztu.3322.org
LAST_BBS_IP=219.141.123.114
LAST_BBS_LOC=互联网
LAST_ADMIN_EMAIL=sysop@xztu.3322.org
LAST_MAXUSERS=20000
LAST_MAXBOARD=256
LAST_MAXACTIVE=1024
LAST_MAXACTIVERUN=512
LAST_BBS_PORT=23
LAST_BBS_BIG5_PORT=2300
LAST_BBS_SQLDB=test
LAST_BBS_SQLUSER=test
LAST_BBS_SQLPASSWD=test
LAST_CGIPATH=/var/www/cgi-bin
LAST_HTMPATH=/var/www/html
LAST_SMAGIC=mybbs
--
FROM 219.141.123.114
是呀,对的呀。我改了的呀
现在提示错误是这样:
ERROR: unable to find no such site configuration!
checked in the following places
site/bbsconfig.sample
请问应该如何解决呀?谢谢
【 在 拖泥带水.bbs@ytht.net (tnds) 的大作中提到: 】
: uid和gid要改成bbs用户的uid,gid
: 用
: cat /etc/passwd命令看
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 下面是我的bbsconfig文件,可是在./configure时,不能通过。请问如修改?谢谢
: : LAST_BBS_HOME=/home/bbs
: ...................
--
FROM 219.141.123.114
我没有呀
我就只有一个bbsdev
然后也要./configure --with-site=xztu吗?
【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: 如果你有这样的配置文件site/bbsconfig.qxntc
: 那么要写./configure --with-site=qxntc
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 是呀,对的呀。我改了的呀
: : 现在提示错误是这样:
: : ERROR: unable to find no such site configuration!
: ...................
--
FROM 219.141.123.114
现在我倒是完成了这一步./configure
可是现在make了
又出现错误了
make -C ythtlib install
make[1]: Entering directory `/home/bbssrc/ythtlib'
make[1]: *** Warning: File `Makefile' has modification time in the future (2004-05-25 21:05:54 > 2002-02-11 15:38:53.669378)
../configure is older than ../configure.in or ../makedist.sh, run ../makedist.sh first.
make[1]: *** [../configure] Error 1
make[1]: Leaving directory `/home/bbssrc/ythtlib'
make: *** [all] Error 2
还就忘记用bbs身分安装了,现在再用./configure执行一次,行吗?
【 在 yaomaohua (缘起缘灭) 的大作中提到: 】
: 我没有呀
: 我就只有一个bbsdev
: 然后也要./configure --with-site=xztu吗?
: 【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: : 如果你有这样的配置文件site/bbsconfig.qxntc
: : 那么要写./configure --with-site=qxntc
: : ...................
: ...................
--
FROM 219.141.123.114
那一步我倒是通过了,可是接下来的make又出现错
make -C ythtlib install
make[1]: Entering directory `/home/bbssrc/ythtlib'
make[1]: *** Warning: File `Makefile' has modification time in the future (2004-05-25 21:05:54 > 2002-02-11 15:54:49.628232)
../configure is older than ../configure.in or ../makedist.sh, run ../makedist.sh first.
make[1]: *** [../configure] Error 1
make[1]: Leaving directory `/home/bbssrc/ythtlib'
make: *** [all] Error 2
【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: 看看site里面的bbsconfig.xxx
: 点后面是什么? 就写--with-site=xxx
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 我没有呀
: : 我就只有一个bbsdev
: : 然后也要./configure --with-site=xztu吗?
: : ...................
: ...................
--
FROM 219.141.123.114
我又做了一次
先./makedist.sh
然后./configure --with-site=xztu
再make
还是同样的错误
【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: chown
: 它好像说要先makedist.sh一下才configure。。
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 现在我倒是完成了这一步./configure
: : 可是现在make了
: : 又出现错误了
: : make -C ythtlib install
: ...................
--
FROM 219.141.123.114
我现在把系统时间和日期都改了,可是还是这样的错误呀
【 在 ylsdd.bbs@ytht.net (看paper) 的大作中提到: 】
: make[1]: *** Warning: File `Makefile' has modification time in the future
: 你得系统时间有问题吧?
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 现在我倒是完成了这一步./configure
: : 可是现在make了
: : 又出现错误了
: ...................
--
FROM 219.141.123.114
什么意思?
【 在 朱雀.bbs@wusetu.cn (无家可归|流浪......) 的大作中提到: 】
: touch *
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 那一步我倒是通过了,可是接下来的make又出现错
: : make -C ythtlib install
: : make[1]: Entering directory `/home/bbssrc/ythtlib'
: : make[1]: *** Warning: File `Makefile' has modification time in the future (2004-05-25 21:05:54 > 2002-02-11 15:54:49.628232)
: ...................
--
FROM 219.141.123.114
时间问题倒是解决了,可是还在有错呀
make -C ythtlib install
make[1]: Entering directory `/home/bbssrc/ythtlib'
../configure is older than ../configure.in or ../makedist.sh, run ../makedist.sh first.
make[1]: *** [../configure] Error 1
make[1]: Leaving directory `/home/bbssrc/ythtlib'
【 在 ylsdd.bbs@ytht.net (看paper) 的大作中提到: 】
: make[1]: *** Warning: File `Makefile' has modification time in the future
: 你得系统时间有问题吧?
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 现在我倒是完成了这一步./configure
: : 可是现在make了
: : 又出现错误了
: ...................
--
FROM 219.141.123.114
现在我先make -C ythtlib install
再./makedist.sh
再./congure --with-site=*
再make
这时候又出现别的错误提示了:
make -C ythtlib install
make[1]: Entering directory `/home/bbssrc/ythtlib'
mkdir -p /home/bbs/bin
cp libytht.a /home/bbs/bin
make[1]: Leaving directory `/home/bbssrc/ythtlib'
make -C libythtbbs install
make[1]: Entering directory `/home/bbssrc/libythtbbs'
gcc -c boardrc.c -D_GNU_SOURCE -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -g
gcc -c misc.c -D_GNU_SOURCE -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -g
gcc -c record.c -D_GNU_SOURCE -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -g
gcc -c user.c -D_GNU_SOURCE -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -g
下面还有很多,最后一行是
make[1]: Leaving directory `/home/bbssrc/src'
这是怎么回事呀?
【 在 ylsdd.bbs@ytht.net (看paper) 的大作中提到: 】
: make[1]: *** Warning: File `Makefile' has modification time in the future
: 你得系统时间有问题吧?
: 【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: : 现在我倒是完成了这一步./configure
: : 可是现在make了
: : 又出现错误了
: ...................
--
FROM 219.141.123.114