- 主题:[求救]smth安装make后出现如下错误
我的系统是RH9.0,smth源代码是cvs到的.
apache和PHP,mysql已经提示正确安装.
configure无错误提示,make后提示如下错误:
.....
[Compiling filter.c]
[Compiling mgrep.c]
[Compiling default.c]
default.c: In function `ModeType':
default.c:355: `MSG' undeclared (first use in this function)
default.c:355: (Each undeclared identifier is reported only once
default.c:355: for each function it appears in.)
make[2]: *** [default.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
------------------------
请问大虾们,我该怎么办呢?
//bow
--
修改:whyes FROM 211.157.101.*
FROM 211.157.101.*
再前面的信息呢?
最重要的丢掉了……
【 在 whyes (badboy) 的大作中提到: 】
: configure时我选择的是"--without-mysql"方式,因为使用with方式总是提示
: "configure: error: The MYSQL library not found 这一步的错误"
: 所以被迫选择without方式.结果configure通过了.
: ...................
--
FROM 202.113.13.*
god
前面一大串没记下来:(
【 在 Gavin (心灰意冷的猫) 的大作中提到: 】
: 再前面的信息呢?
: 最重要的丢掉了……
--
FROM 211.157.101.*
我还是觉得如果你用的是linux的华,安装的时候选择完全安装,就不会出现找不到什么东西了.
【 在 whyes (badboy) 的大作中提到: 】
god
前面一大串没记下来:(
【 在 Gavin (心灰意冷的猫) 的大作中提到: 】
: 再前面的信息呢?
: 最重要的丢掉了……
--
FROM 202.114.12.*
我的确完全安装的RH9.0
而且还额外装了apache和php
【 在 xiongxw (毕不了业,咋办了?) 的大作中提到: 】
: 我还是觉得如果你用的是linux的华,安装的时候选择完全安装,就不会出现找不到什么东西了.
: god
: 前面一大串没记下来:(
--
FROM 211.157.101.*
完全安装的时候用了4g多
【 在 whyes (badboy) 的大作中提到: 】
我的确完全安装的RH9.0
而且还额外装了apache和php
【 在 xiongxw (毕不了业,咋办了?) 的大作中提到: 】
: 我还是觉得如果你用的是linux的华,安装的时候选择完全安装,就不会出现找不到什么东西了.
: god
: 前面一大串没记下来:(
--
FROM 202.114.12.*
是阿,我只有一个分区,不过7G
【 在 xiongxw (毕不了业,咋办了?) 的大作中提到: 】
: 完全安装的时候用了4g多
: 我的确完全安装的RH9.0
: 而且还额外装了apache和php
--
FROM 211.157.101.*
提示内容:
......
[Compiling libann.c]
[Compiling filter.c]
[Compiling mgrep.c]
[Compiling default.c]
default.c: In function `ModeType':
default.c:355: `MSG' undeclared (first use in this function)
default.c:355: (Each undeclared identifier is reported only once
default.c:355: for each function it appears in.)
make[2]: *** [default.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
--------
这样子够了吗?
隐约好像提示msg没有定义什么的.
请大虾继续指教,谢谢!
【 在 Gavin (心灰意冷的猫) 的大作中提到: 】
: 再前面的信息呢?
: 最重要的丢掉了……
--
FROM 211.157.101.*
bug in CVS, fixed
RCS file: /home/cvs/smth_bbs/site/default.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- default.c 5 Jul 2004 17:54:45 -0000 1.35
+++ default.c 24 Aug 2004 15:46:31 -0000 1.36
@@ -352,7 +352,7 @@
// return "4m Chat";
// case ULDL:
// return "UL/DL";
- case MSG:
+ case MSGING:
return "讯息中";
case USERDEF:
return "自订参数";
【 在 whyes (badboy) 的大作中提到: 】
: 我的系统是RH9.0,smth源代码是cvs到的.
: apache和PHP,mysql已经提示正确安装.
: configure无错误提示,make后提示如下错误:
: ...................
--
FROM 128.12.155.*
我也出现了这样的错误
[Compiling default.c]
default.c: In function `ModeType':
default.c:355: `MSG' undeclared (first use in this function)
default.c:355: (Each undeclared identifier is reported only once
default.c:355: for each function it appears in.)
make[2]: *** [default.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
是用这种方式安的:
./configure --prefix=/usr/local/bbs --enable-site=devel \
--with-www=/usr/local/www --with-php=/usr/local/include/php \
--with-mysql --enable-ssh --enable-ssl
make
【 在 whyes (badboy) 的大作中提到: 】
: 我的系统是RH9.0,smth源代码是cvs到的.
: apache和PHP,mysql已经提示正确安装.
: configure无错误提示,make后提示如下错误:
: ...................
--
FROM 202.114.130.*