- 主题:YTHTBBS配置文件的修改
如果你有这样的配置文件site/bbsconfig.qxntc
那么要写./configure --with-site=qxntc
【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: 是呀,对的呀。我改了的呀
: 现在提示错误是这样:
: ERROR: unable to find no such site configuration!
: checked in the following places
: site/bbsconfig.sample
: 请问应该如何解决呀?谢谢
: 【 在 拖泥带水.bbs@ytht.net (tnds) 的大作中提到: 】
: ...................
--
FROM 211.155.251.247
看看site里面的bbsconfig.xxx
点后面是什么? 就写--with-site=xxx
【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: 我没有呀
: 我就只有一个bbsdev
: 然后也要./configure --with-site=xztu吗?
: 【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: : 如果你有这样的配置文件site/bbsconfig.qxntc
: : 那么要写./configure --with-site=qxntc
: : ...................
: ...................
--
FROM 211.155.251.247
chown
它好像说要先makedist.sh一下才configure。。
【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: 现在我倒是完成了这一步./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)
: ...................
--
FROM 211.155.251.247
cmft..
留备份了么?
【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: 现在我在安装shminit
: 完成后再$make install
: 又出现错误了
: make -C src install
: make[1]: Entering directory `/home/bbssrc/src'
: ( cd ..; ./Install.sh)
: This script will install the whole BBS to /home/bbs...
: ...................
--
FROM 211.155.251.247
就是说如果不是全新安装 就最好别再bbssrc或bbssrc/src里make install
会覆盖掉.BOARDS
【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: 什么备份?
: 我一直安装来的。现在就差shminit了
: 因为我是第二次安装bbs,所以不会备份。呵呵,不好意思
: 你能帮我解答这个问题吗?
: 【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: : cmft..
: ...................
--
FROM 211.155.251.247
它说权限不够
是不是要chown一下?
【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: 那现在我该怎么做呢?
: 现在我在/home/bbssrc/local_utl里make
: 出现echo "#include <mysql/mysql.h>" > usesql.h
: /bin/sh: line 1: usesql.h: 权限不够
: make: *** [usesql.h] Error 1
: 现在我到底应该怎么做呢?
: 【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: ...................
--
FROM 211.155.251.247
usesql.h类似这样就行:
#include <mysql/mysql.h>
#define SQLDB "test"
#define SQLUSER "test"
#define SQLPASSWD "test"
【 在 sdymhua (毛毛) 的大作中提到: 】
: 我chown完了,再make,又出错了。麻烦dinger再帮我看看
: echo "#include <mysql/mysql.h>" > usesql.h
: cat /home/bbs/etc/sysconf.ini|grep SQL|sed -e 's/^/#define /;s/=//g' >> usesql.h
: gcc -D_GNU_SOURCE -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -I/usr/include/mysql -DENABLE_MYSQL -c -g bbsevad.c
: ...................
--
FROM 211.155.251.247
然后不能编译么? 提示什么错误
【 在 sdymhua (毛毛) 的大作中提到: 】
: 对,我的usesql.h就是这样。
: 现在我该怎么做呢?
: 【 在 dinger (test) 的大作中提到: 】
: : usesql.h类似这样就行:
: : #include <mysql/mysql.h>
: : #define SQLDB "test"
: : #define SQLUSER "test"
: : #define SQLPASSWD "test"
: ...................
--
FROM 211.155.251.247
看他从你那边转信过来的 呵呵:)
【 在 dgwang.bbs@bbs.qxntc.edu.cn (DG大哥) 的大作中提到: 】
: 我上班忙了一整天烦人的工作,一上来看,结果dinger兄把我的站点做例子来讲解了。
: :)
: 【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: : 如果你有这样的配置文件site/bbsconfig.qxntc
: : 那么要写./configure --with-site=qxntc
: : ...................
: ...................
--
FROM 211.155.251.247
啊 dgwang是老师! admire~
【 在 yaomaohua.bbs@bbs.qxntc.edu.cn (缘起缘灭) 的大作中提到: 】
: 呵呵,我是他的学生。
: 他是我这辈子最尊重的老师,我一直在向他学东西
: 如果我要开机就执行BBS
: 直接在/etc/rc.local里加入:
: /home/bbs/bin/bbsd就行了吗?
: 谢谢
: 【 在 dinger.bbs@ytht.net (test) 的大作中提到: 】
: ...................
--
FROM 211.155.251.247