蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 应用编程


    

蓝森林 http://www.lslnet.com 2006年8月11日 19:58

MYSQL安装求救!

..................................
configure:6405: checking for off_t
configure:6438: checking for st_rdev in struct stat
configure:6451: gcc -c -O3 -DDBUG_OFF conftest.c 1>&5
configure:6472: checking whether time.h and sys/time.h may both be included
configure:6486: gcc -c -O3 -DDBUG_OFF conftest.c 1>&5
configure:6507: checking whether struct tm is in sys/time.h or time.h
configure:6520: gcc -c -O3 -DDBUG_OFF conftest.c 1>&5
configure:6543: checking size of char
configure:6562: gcc -o conftest -O3 -DDBUG_OFF -rdynamic conftest.c -lpthread -lz -lcrypt -lnsl -lm -lpthread 1>&5
configure: failed program was:
#line 6551 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
fprintf(f, "%d\n", sizeof(char));
exit(0)
}
...................................

以下为configur文件的6551行后内容
#line 6551 "configure"
#include "confdefs.h" ---本行为6551行
#include <stdio.h>
main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
fprintf(f, "%d\n", sizeof(char));
exit(0);
}

..................................

我编译不成功的原因是什么哪?是不是缺少confdefs.h文件?或是其他原因?
系统提示的文件libm.a我使用locate命令查找在/usr/lib下面是有的,我做了一个copy到/lib下面
再试还是提示不行!
请大侠指教//3x







Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com