Re: Installing to pfsense

2011-04-01 Thread Brian Candler
On Wed, Mar 30, 2011 at 06:37:59PM -0400, Franz wrote: /usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module sql /usr/local/etc/raddb/sites-enabled/inner-tunnel[131]: Failed to load module sql. /usr/local/etc/raddb/sites-enabled/inner-tunnel[47]: Errors parsing

Installing to pfsense

2011-03-30 Thread Franz
Hi, I have currently installed freeradius 2.1.10 and Mysql 5..5.10 on a pfsense box which is freebsd. I want this to work with mysql however I was wondering how to install freeradius with mysql support as I am unable to do it via ports or try any commands or flags with ./configure via tarball.

Re: Installing to pfsense

2011-03-30 Thread Alan DeKok
Franz wrote: I have currently installed freeradius 2.1.10 and Mysql 5..5.10 on a pfsense box which is freebsd. I want this to work with mysql however I was wondering how to install freeradius with mysql support as I am unable to do it via ports or try any commands or flags with ./configure

Re: Installing to pfsense

2011-03-30 Thread Franz
Well since when doing pkg_add I am unable to specify --with-PACKAGE[=ARG] or --with-mysql-include-dir=DIR etc... The shared lib files never get created so when enabling SQL I get Could not link driver rlm_sql_mysql. Now, when I try to do ./configure I get lib/pcc sanity check error thanks On

Re: Installing to pfsense

2011-03-30 Thread Alan DeKok
Franz wrote: Well since when doing pkg_add I am unable to specify --with-PACKAGE[=ARG] or --with-mysql-include-dir=DIR etc... The shared lib files never get created so when enabling SQL I get Could not link driver rlm_sql_mysql. Now, when I try to do ./configure I get lib/pcc sanity check

Re: Installing to pfsense

2011-03-30 Thread Franz
I have installed gcc-4.4.5.20100706 and gmake-3.81_4 however when I do a gcc --version I get: gcc (GCC) 4.2.1 20070719 [FreeBSD] What is wrong is that I am unable to build freeradius with mysql support, when I do ./configure | grep mysql_config I get: configure: error: C preprocessor /lib/cpp

Re: Installing to pfsense

2011-03-30 Thread Alan DeKok
Franz wrote: What is wrong is that I am unable to build freeradius with mysql support, when I do ./configure | grep mysql_config I get: configure: error: C preprocessor /lib/cpp fails sanity check I am unable to solve this myself, by far, this is why I am asking for help to this great

Re: Installing to pfsense

2011-03-30 Thread David Wood
Hi Franz, In message aanlktikh+a1yjdgu5n-tyf-8xo8_tde23eqo2v7k+...@mail.gmail.com, Franz flam...@gmail.com writes I have currently installed freeradius 2.1.10 and Mysql 5..5.10 on a pfsense box which is freebsd. I want this to work with mysql however I was wondering how to install freeradius

Re: Installing to pfsense

2011-03-30 Thread Franz
Hi, Thanks David and Alan for this great advise, I will try it and post back. Thanks! On Wed, Mar 30, 2011 at 8:56 AM, David Wood da...@wood2.org.uk wrote: Hi Franz, In message aanlktikh+a1yjdgu5n-tyf-8xo8_tde23eqo2v7k+...@mail.gmail.com, Franz flam...@gmail.com writes I have currently

Re: Installing to pfsense

2011-03-30 Thread Franz
Ok, So Installed freeradius2 from ports on another system, and which is working, then I did pkg_create -Rjb freeradius-2.1.10_2 and got all needed files, transported all to the pfsense machine, did a pkg_add and all installed ok, however when enabling sql I still see error: Could not link driver

Re: Installing to pfsense

2011-03-30 Thread Franz
Got it working, if anyone else is interested what needed to be done is run ldconfig -m /usr/local/lib/mysql and ldconfig -m /usr/local/lib/freeradius-2.1.10 to add these directories to ldconfig_paths. Thanks On Wed, Mar 30, 2011 at 6:37 PM, Franz flam...@gmail.com wrote: Ok, So Installed