- 主题:出错信息
先用 root 帐号在 software 目录中 make installghthash 来安装 ghthash.
【 在 yaomaohua (缘起缘灭) 的大作中提到: 】
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g bbslogd.c
: bbslogd.c:4:28: ght_hash_table.h: 没有那个文件或目录
: bbslogd.c:78: parse error before '*' token
: bbslogd.c:78: warning: type defaults to `int' in declaration of `passerrtable'
: bbslogd.c:78: warning: data definition has no type or storage class
: bbslogd.c:79: parse error before '*' token
: bbslogd.c:79: warning: type defaults to `int' in declaration of `bansitetable'
: bbslogd.c:79: warning: data definition has no type or storage class
: ...................
--
FROM 218.194.254.33
先 chmod -R bbs. /home/bbs /home/bbssrc -R
【 在 yaomaohua (缘起缘灭) 的大作中提到: 】
: [bbs@localhost local_utl]$ make install
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g bbslogd.c
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o bbslogd bbslogd.o -L/home/bbs/bin -lythtbbs -lytht -lghthash
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g MakeIndex3.c
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o MakeIndex3 MakeIndex3.o -L/home/bbs/bin -lythtbbs -lytht
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g bm.c
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o bm bm.o -L/home/bbs/bin -lythtbbs -lytht
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o bm2 bm2.c -L/home/bbs/bin -lythtbbs -lytht
: ...................
--
FROM 218.194.254.33
chmod -R bbs. /home/bbs
吧,可能你原来用 root make install 过
【 在 yaomaohua (缘起缘灭) 的大作中提到: 】
: [bbs@localhost local_utl]$ make install
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g bbslogd.c
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o bbslogd bbslogd.o -L/home/bbs/bin -lythtbbs -lytht -lghthash
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g MakeIndex3.c
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o MakeIndex3 MakeIndex3.o -L/home/bbs/bin -lythtbbs -lytht
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g bm.c
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o bm bm.o -L/home/bbs/bin -lythtbbs -lytht
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -o bm2 bm2.c -L/home/bbs/bin -lythtbbs -lytht
: ...................
--
FROM 218.194.254.33
nbstat s 2
人气统计就出来了。
【 在 woodhill.bbs@ytht.net (woodhill) 的大作中提到: 】
: 为什么我的平均负载、访问人次、新增人口、还有人气显示都是0啊
: crontab也架了啊,图也出来了,可是就是数据全是0
: 十大是好的
: 5 00 * * * /bin/cp /home/bbs/0Announce/bbslist/countusr home/bbs/0Announce/bbsl
: ist/countusr.last
: 5 00 * * * /bin/cp /home/bbs/0Announce/bbslist/board2 home/bbs/0Announce/bbslis
: t/board2.last
: 5 00 * * * /bin/cp -af /home/bbs/0Announce/bbslist/today home/bbs/0Announce/bbs
: ...................
--
FROM 218.194.249.77