请高人帮忙看看freeraduis

发布于 2022-07-24 21:05:20 字数 2554 浏览 24 评论 1

安装时找不到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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不可一世的女人 2022-07-25 15:07: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.
---------------------------------------------------------------------

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文