免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 803 | 回复: 1
打印 上一主题 下一主题

请高人帮忙看看freeraduis [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-31 11:44 |只看该作者 |倒序浏览
安装时找不到db_mysql.sql文件,
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for mysql_config... yes
checking for pthread_create in -lpthread... yes
checking for mysql_init in -lmysqlclient_r (using mysql_config)... yes
checking for mysql.h (using mysql_config)... no
checking for mysql/mysql.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
这个是编译src/src/modules/rlm_sql/drivers/rlm_sql_mysql
config.log 里为
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:591: checking for gcc
configure:704: checking whether the C compiler (gcc  ) works
configure:720: gcc -o conftest    conftest.c  1>&5
configure:746: checking whether the C compiler (gcc  ) is a cross-compiler
configure:751: checking whether we are using GNU C
configure:760: gcc -E conftest.c
configure:779: checking whether gcc accepts -g
configure:813: checking for mysql_config
configure:844: checking for pthread_create in -lpthread
configure:863: gcc -o conftest -g -O2   conftest.c -lpthread   1>&5
configure:934: checking for mysql_init in -lmysqlclient_r (using mysql_config)
configure:947: gcc -o conftest -g -O2   conftest.c -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -L/usr/lib -lssl -lcrypto -lpthread  1>&5
configure:1320: checking for mysql.h (using mysql_config)
configure:1329: gcc -c -g -O2 -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing  conftest.c 1>&5
cc1: invalid option `tune=pentium4'
configure: failed program was:
#line 1322 "configure"
#include "confdefs.h"
#include <mysql.h>
int main() {
int a = 1;
; return 0; }
configure:1356: checking for mysql/mysql.h
configure:1374: gcc -c -g -O2 -I/usr/local/include  conftest.c 1>&5

论坛徽章:
0
2 [报告]
发表于 2006-09-07 15:27 |只看该作者

这个就是最后的错误

gmake[4]: Leaving directory `/freeradius-1.1.2/doc/rfc'
gmake[3]: Leaving directory `/freeradius-1.1.2/doc'
gmake[2]: Leaving directory `/freeradius-1.1.2/doc'
gmake[1]: Leaving directory `/freeradius-1.1.2'
Installing dictionary files in /usr/radius/share/freeradius
/freeradius-1.1.2/libtool --finish /usr/radius/lib
PATH="$PATH:/sbin" ldconfig -n /usr/radius/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/radius/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so( manual pages.
---------------------------------------------------------------------
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP