- 主题:装ytht的telnet部分时怎么处理这个东西!
依ytht安装手册安装telnet部分时,前面四步(如下):
$ cd /home/bbs/bbssrc
$ ./makedist.sh
$ ./configure --with-site=mybbs
$ make
都好像没有什么问题,
执行第五步$ make install后,系统提示说
This script will install the whole BBS to /home/bbs
我输入回车确定后,系统提示说
Warning:/home/bbs already exists, overwrite whole bbs [N]?
请问我这一步应该怎么办呢?
--
FROM 222.16.57.112
如果我以前试着用过make和make install命令,那我应该怎么办?
我输入y以后,系统提示如下:
Installing new bbs to /home/bbs
Setup bbs directory tree....
mkdir: cannot create directore 'vote': File exists
mkdir: cannot create directore 'tmp': File exists
mkdir: cannot create directore 'reclog': File exists
mkdir: cannot create directore 'bm': File exists
mkdir: cannot create directore 'bin': File exists
mkdir: cannot create directore 'newtrace': File exists
mkdir: cannot create directore 'inndlog': File exists
mkdir: cannot create directore 'scanregister_tmp': File exists
tar: BOARDS: cannot open: File exists
tar: Error exit delayed from previous errors
mv: cannot overwrite non-directory '/home/bbs/.BOARDS' with directore '/home/bbs/BOARDS'
EXEEXT:not found
/usr/bin/install: cannot stat 'src/bbs': No such file or directory
EXEEXT; not found
/usr/bin/install: cannot stat 'src/bbsd': No such file or directory
/usr/bin/install: cannot stat 'src/bbs.chatd': No such file or directory
Install is over.....
用
$ ipc-daemon2&
$ /home/bbs/bin/shminit
(如果成功会提示 everything is just fine)
$ /home/bbs/bin/bbsd
测试系统,提示没有装好
请问有可能是什么问题!
【 在 lepton 的大作中提到: 】
: 以前没有安装过 就输入Y
: 【 在 earplugs (刘忙) 的大作中提到: 】
: : 依ytht安装手册安装telnet部分时,前面四步(如下):
: : $ cd /home/bbs/bbssrc
: : $ ./makedist.sh
: : $ ./configure --with-site=mybbs
: (以下引言省略...)
--
FROM 222.16.57.112
最后几行提示信息为
main.c:27:20 mcheck.h: No such file or directory
main.c: In function 'main':
main.c:958: warning: implicit declaration of function 'mtrace'
make[1]: *** [main.0] Error 1
make[1]: Leaving directory '/home/bbs/bbssrc/src'
make: *** [install] Error 2
【 在 dinger 的大作中提到: 】
: 【 在 earplugs (刘忙) 的大作中提到: 】
: : 标 题: Re: 装ytht的telnet部分时怎么处理这个东西!
: : 发信站: 一塌糊涂 BBS (Thu Jul 15 00:20:02 2004), 转信(ytht.net)
: :
: : 如果我以前试着用过make和make install命令,那我应
: (以下引言省略...)
--
FROM 222.16.57.112
这两个东西是干什么用的?
为什么我这里会出这样的错误呢?
【 在 dinger 的大作中提到: 】
: 注释掉那两行就行了 src/main.c出错的那两行
: //#include <mcheck.h>
: 和
: //mtrace();
: 【 在 earplugs (刘忙) 的大作中提到: 】
: : 最后几行提示信息为
: : main.c:27:20 mcheck.h: No such file or directory
: (以下引言省略...)
--
FROM 222.16.57.112
呵呵 强烈建议加到ytht的安装说明书中去
多谢了,我再试试
【 在 dinger 的大作中提到: 】
: 是为了测试内存泄漏的调试代码
: cygwin里没这东西..
: 【 在 earplugs (刘忙) 的大作中提到: 】
: : 这两个东西是干什么用的?
: : 为什么我这里会出这样的错误呢?
: : ...................
--
FROM 222.16.57.112
还是不行
一样的错误提示
我在make install之前用不用先把以前make install留下来的东西去掉或是怎么样
我仅仅是按照说明书修改了源程序后make clean
这样行吗?
【 在 earplugs 的大作中提到: 】
: 呵呵 强烈建议加到ytht的安装说明书中去
: 多谢了,我再试试
: 【 在 dinger 的大作中提到: 】
: : 是为了测试内存泄漏的调试代码
: : cygwin里没这东西..
--
FROM 222.16.57.112
我照你这么做的,现在行了
测试后,显示
signal 12
clear old shm...ok
creating bcache shm...ok
creating ucachehash shm...ok
creating utmp shm...ok
creating uindex shm...ok
check passwd file size...ok
attaching shm...ok
check for uhash...ok
building ucachehash shm...ok
building utmp shm...ok
everything is just fine
[1]+ Done ipc-daemon2
没有问题了,不过我想问问这些东西是什么意思!
【 在 dinger 的大作中提到: 】
: 改了以后再make
: make clean只是清除以前的make的结果
: 【 在 earplugs (刘忙) 的大作中提到: 】
: : 还是不行
: : 一样的错误提示
: : 我在make install之前用不用先把以前make install留下来的东西去掉或是怎么样
: (以下引言省略...)
--
FROM 222.16.57.112