- 主题:[请教]ythtbbs安装中的"shminit: 没有那个文件或目录"?
第四步:编译源代码并安装telnet服务
......
......
......
到 /home/src/local_utl 目录下运行([bbs]$ /home/src/local_utl ):
[bbs]$ make install
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
这一步结束时,总是提示:"make: *** [bbslogd.o] Error 1"的错误,(注意是"bbslogd.o"而不是"bbslogd.c")
相应地,在倒数第二步:
[bbs]$ /home/bbs/bin/shminit
时候,就会提示"-bash: /home/bbs/bin/shminit: 没有那个文件或目录"这样的错误.
请问,这到底是怎么一回事那?
重试了好几次了,每次都是这样.
大虾指教!
--
FROM 61.183.82.64
那个error具体是什么error
【 在 whyes (whyes) 的大作中提到: 】
: 第四步:编译源代码并安装telnet服务
: ......
: ......
: ......
: 到 /home/src/local_utl 目录下运行([bbs]$ /home/src/local_utl ):
: [bbs]$ make install
: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: ...................
--
FROM 127.0.0.1
就是在/home/src/local_utl
下运行make install
时出现错误提示:
make: *** [bbslogd.o] Error 1
这到底是怎么回事呢?
btw:我在RH9下,ythtbbs是下载下来拷贝过去的,没有cvs,那个一开始就出错,进行不下去.
--
FROM 61.183.82.64
错误信息贴全
【 在 whyes (whyes) 的大作中提到: 】
: 就是在/home/src/local_utl
: 下运行make install
: 时出现错误提示:
: make: *** [bbslogd.o] Error 1
: 这到底是怎么回事呢?
: btw:我在RH9下,ythtbbs是下载下来拷贝过去的,没有cvs,那个一开始就出错,进行不下去.
--
FROM 220.249.10.10
[root@zxd root]# cd /home/src/local_utl
[root@zxd local_utl]# make install
gcc -Wall -O2 -mmmx -msse -mcpu=pentium3 -march=pentium3 -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
bbslogd.c: In function `bansiteop':
bbslogd.c:145: `ght_iterator_t' undeclared (first use in this function)
bbslogd.c:145: (Each undeclared identifier is reported only once
bbslogd.c:145: for each function it appears in.)
bbslogd.c:145: parse error before "iterator"
bbslogd.c:146: `ght_hash_table_t' undeclared (first use in this function)
bbslogd.c:146: `tmptable' undeclared (first use in this function)
bbslogd.c:152: warning: implicit declaration of function `ght_create'
bbslogd.c:152: warning: assignment makes pointer from integer without a cast
bbslogd.c:156: warning: implicit declaration of function `ght_get'
bbslogd.c:156: warning: assignment makes pointer from integer without a cast
bbslogd.c:165: warning: implicit declaration of function `ght_insert'
bbslogd.c:177: warning: assignment makes pointer from integer without a cast
bbslogd.c:182: warning: implicit declaration of function `ght_first'
bbslogd.c:182: `iterator' undeclared (first use in this function)
bbslogd.c:182: warning: assignment makes pointer from integer without a cast
bbslogd.c:183: warning: implicit declaration of function `ght_next'
bbslogd.c:183: warning: assignment makes pointer from integer without a cast
bbslogd.c:193: warning: implicit declaration of function `ght_finalize'
bbslogd.c: In function `filter_passerr':
bbslogd.c:207: warning: assignment makes pointer from integer without a cast
bbslogd.c:215: warning: assignment makes pointer from integer without a cast
bbslogd.c: In function `expireevent':
bbslogd.c:257: warning: assignment makes pointer from integer without a cast
bbslogd.c:260: warning: implicit declaration of function `ght_remove'
make: *** [bbslogd.o] Error 1
【 在 yuhuan 的大作中提到: 】
: 错误信息贴全
--
FROM 61.183.82.64
software目录make installghthash
【 在 whyes (whyes) 的大作中提到: 】
: [root@zxd root]# cd /home/src/local_utl
: [root@zxd local_utl]# make install
: gcc -Wall -O2 -mmmx -msse -mcpu=pentium3 -march=pentium3 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g bbslogd.c
: bbslogd.c:4:28: ght_hash_table.h: 没有那个文件或目录
: ...................
--
FROM 211.155.251.247
楼上的意思是?
先进入software编译installghthash?
【 在 dinger (test) 的大作中提到: 】
: software目录make installghthash
: 【 在 whyes (whyes) 的大作中提到: 】
: : [root@zxd root]# cd /home/src/local_utl
: : [root@zxd local_utl]# make install
: : gcc -Wall -O2 -mmmx -msse -mcpu=pentium3 -march=pentium3 -pipe -DCONF_HAVE_OPENPTY -I../include -I../ythtlib -I../libythtbbs -g -DLINUX -c -g bbslogd.c
: ...................
--
FROM 202.119.32.102
没人理我吗?
【 在 whyes (whyes) 的大作中提到: 】
: 楼上的意思是?
: 先进入software编译installghthash?
: 【 在 dinger (test) 的大作中提到: 】
: : software目录make installghthash
: : ...................
--
FROM 202.119.32.102
到local_utl目录下编译
【 在 whyes (whyes) 的大作中提到: 】
: 没人理我吗?
: 【 在 whyes (whyes) 的大作中提到: 】
: : 楼上的意思是?
: : 先进入software编译installghthash?
--
FROM 202.113.16.117
谢谢dinger先,
按照你所提供的方法的确顺利的编译出了shninit
可是,我运行 [bbs]$ /home/bbs/bin/shminit
还是出现了错误,错误代码如下
______________________
[bbs@zxd bbs]$ /home/bbs/bin/shminit
resource(s) deleted
resource(s) deleted
clear old shm...ok
creating bcache shm...ok
creating ucachehash shm...ok
creating utmp shm ...oops, shminit failed, please clear all shm and retry
_______________________
再次请教,这是怎么回事呢?
我现在该怎么办呢?
还请大虾们不吝再次指教!谢谢!
【 在 whyes 的大作中提到: 】
: 楼上的意思是?
: 先进入software编译installghthash?
: 【 在 dinger (test) 的大作中提到: 】
: : software目录make installghthash
: : ...................
--
FROM 61.183.89.42