warnings under cygwin
Hi,guys.I try to complie freeradius 2.19 under cygwin this afternoon,but i get some warning when i execute "./configure ..." ./configure --without-snmp --disable-shared --with-system-libtool --without-rlm_krb5 --without-rlm_pam --without-rlm_sql_oracle --without-rlm_perl --with-mysql-lib-dir=/usr/lib/mysql --without-rlm_eap_ikev2 --without-rlm_eap_tnc --prefix=C:/123 2>C:/warning ################################################################ configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work configure: WARNING: ****** BSD-style gethostbyaddr might NOT be thread-safe! ****** configure: WARNING: ****** BSD-style gethostbyname might NOT be thread-safe! ****** configure: WARNING: Static linking with libldap will probably result in unresolved symbols. configure: WARNING: silently not building rlm_sql_iodbc. configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h. configure: WARNING: MySQL libraries not found. Use --with-mysql-lib-dir=<path>. configure: WARNING: silently not building rlm_sql_mysql. configure: WARNING: FAILURE: rlm_sql_mysql requires: libmysqlclient_r. configure: WARNING: silently not building rlm_sql_unixodbc. configure: WARNING: FAILURE: rlm_sql_unixodbc requires: libodbc sql.h. ################################################################ I don't have installed net-snmp,but i add "--without-snmp" to configure.I am confused why these warnings about snmp occur. Additionally,iodbc and unixodbc seem merely to support non-windows platform.I always don't get build succeeded. Much to my puzzlement,libmysqlclient_r.a and libmysqlclient_r.la exsit in /lib/mysql,as well as files related to mysql,but warnings don't be removed.Even if i use --with-mysql-lib-dir=<path>,it doesn't work all the same. Any proposal will be appreciated. _________________________________________________________________ 想知道明天天气如何?必应告诉你! http://cn.bing.com/search?q=%E5%A4%A9%E6%B0%94%E9%A2%84%E6%8A%A5&form=MICHJ2
tangfu wrote:
Hi,guys.I try to complie freeradius 2.19 under cygwin this afternoon,but i get some warning when i execute "./configure ..."
Do you understand what the purpose of "configure" is?
I don't have installed net-snmp,but i add "--without-snmp" to configure.I am confused why these warnings about snmp occur.
Because you don't have the *optional* SNMP files installed.
Additionally,iodbc and unixodbc seem merely to support non-windows platform.I always don't get build succeeded.
"configure" is NOT the same as the "build" stage. If configure says that the pre-requisites don't exist, then those files will not be built.
Much to my puzzlement,libmysqlclient_r.a and libmysqlclient_r.la exsit in /lib/mysql,as well as files related to mysql,but warnings don't be removed.Even if i use --with-mysql-lib-dir=<path>,it doesn't work all the same.
Read "config.log" for full description of the reasons why the configure failed. And you can always edit the "Makefile" by hand, to point to the correct library && include directory. That's why the Makefiles are generated. There's not need to give up if the "configure" process doesn't work. Alan DeKok.
Date: Fri, 2 Jul 2010 12:29:34 +0200 From: aland@deployingradius.com To: freeradius-users@lists.freeradius.org Subject: Re: warnings under cygwin
tangfu wrote:
Hi,guys.I try to complie freeradius 2.19 under cygwin this afternoon,but i get some warning when i execute "./configure ..."
Do you understand what the purpose of "configure" is?
I don't have installed net-snmp,but i add "--without-snmp" to configure.I am confused why these warnings about snmp occur.
Because you don't have the *optional* SNMP files installed.
Additionally,iodbc and unixodbc seem merely to support non-windows platform.I always don't get build succeeded.
"configure" is NOT the same as the "build" stage. If configure says that the pre-requisites don't exist, then those files will not be built.
Much to my puzzlement,libmysqlclient_r.a and libmysqlclient_r.la exsit in /lib/mysql,as well as files related to mysql,but warnings don't be removed.Even if i use --with-mysql-lib-dir=<path>,it doesn't work all the same.
Read "config.log" for full description of the reasons why the configure failed.
And you can always edit the "Makefile" by hand, to point to the correct library && include directory. That's why the Makefiles are generated. There's not need to give up if the "configure" process doesn't work.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,Alan DeKok,thanks to your analysis.Ha-ha,it makes sence really. 1. ./configure --without-snmp --disable-shared --with-system-libtool --without-rlm_krb5 --without-rlm_pam --without-rlm_sql_oracle --without-rlm_sql_unixodbc --without-rlm_sql_iodbc --without-rlm_perl --with-mysql-lib-dir=/usr/lib/mysql --without-rlm_eap_ikev2 --without-rlm_eap_tnc --prefix=C:/123 2>C:/warning 2. As you said,some problem has occured in src\rlm_sql\drivers\rlm_sql_mysql\config.log /usr/lib/mysql/libmysqlclient_r.a(my_compress.o):my_compress.c:(.text+0x66): undefined reference to `_compress' /usr/lib/libmysqlclient_r.a(my_compress.o):my_compress.c:(.text+0x187): undefined reference to `_uncompress' In my opinion,maybe some "*.H" file is necessary,but i am not certain.What do you think about this? _________________________________________________________________ 约会说不清地方?来试试微软地图最新msn互动功能! http://ditu.live.com/?form=TL&swm=1
tangfu wrote:
As you said,some problem has occured in src\rlm_sql\drivers\rlm_sql_mysql\config.log
/usr/lib/mysql/libmysqlclient_r.a(my_compress.o):my_compress.c:(.text+0x66): undefined reference to `_compress' /usr/lib/libmysqlclient_r.a(my_compress.o):my_compress.c:(.text+0x187): undefined reference to `_uncompress'
In my opinion,maybe some "*.H" file is necessary,but i am not certain.What do you think about this?
Do: $ export LIBS=-lz $ ./configure .... If that doesn't work, the problem is more complicated, and requires Unix admin skills to fix. Alan DeKok.
Date: Fri, 2 Jul 2010 17:21:27 +0200 From: aland@deployingradius.com To: freeradius-users@lists.freeradius.org Subject: Re: warnings under cygwin
tangfu wrote:
As you said,some problem has occured in src\rlm_sql\drivers\rlm_sql_mysql\config.log
/usr/lib/mysql/libmysqlclient_r.a(my_compress.o):my_compress.c:(.text+0x66): undefined reference to `_compress' /usr/lib/libmysqlclient_r.a(my_compress.o):my_compress.c:(.text+0x187): undefined reference to `_uncompress'
In my opinion,maybe some "*.H" file is necessary,but i am not certain.What do you think about this?
Do:
$ export LIBS=-lz $ ./configure ....
If that doesn't work, the problem is more complicated, and requires Unix admin skills to fix.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Thanks a lot.I will try it immediately _________________________________________________________________ 约会说不清地方?来试试微软地图最新msn互动功能! http://ditu.live.com/?form=TL&swm=1
Hi,
I don't have installed net-snmp,but i add "--without-snmp" to configure.I am confused why these warnings about snmp occur. Additionally,iodbc and unixodbc seem merely to support non-windows platform.I always don't get build succeeded. Much to my puzzlement,libmysqlclient_r.a and libmysqlclient_r.la exsit in /lib/mysql,as well as files related to mysql,but warnings don't be removed.Even if i use --with-mysql-lib-dir=<path>,it doesn't work all the same.
you need development libraries, not just object files. are you planning on using mysql? ignore the other warnings...they are just warnings...not errors... ie if you WANTED to use either of those initial features then you'd have seen the WARNING about no snmp tools.... alan
participants (3)
-
Alan Buxey -
Alan DeKok -
tangfu