config.log:configure:3082: WARNING: FAILURE: rlm_sql_unixodbc requires: sql.h. ----- Original Message ----- From: "Fajar A. Nugraha" <list@fajar.net> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Thursday, April 07, 2011 07:30 PM Subject: Re: rlm_sql_unixodbc ?
On Fri, Apr 8, 2011 at 8:13 AM, Jim Rice <jmrice6640@yahoo.com> wrote:
After installing mysql-connector-odbc, running ./configure within rlm_sql_unixodbc it was then able to find: checking for SQLConnect in -lodbc... yes
But not: checking for sql.h... no configure: WARNING: silently not building rlm_sql_unixodbc. configure: WARNING: FAILURE: rlm_sql_unixodbc requires: sql.h.
I ran a find for sql.h and it is not in /usr.
And neither pkg exists for mysql-connector-odbc-devel nor mysql-connector-odbc-dev.
There is this: /usr/local/src/freeradius-server-2.1.10/src/modules/rlm_sql/rlm_sql.h
Still not sure how to resolve this.
Ask your distro list/forum/support, the package name can be distro-specific. Or build unixodbc from source.
For example, on Ubuntu, it should be unixodbc-dev http://packages.ubuntu.com/search?searchon=contents&keywords=sql.h&mode=exac...
-- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html