Installing to pfsense

Franz flamana at
Wed Mar 30 14:25:21 CEST 2011

I have installed gcc- 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" fails sanity check

I am unable to solve this myself, by far, this is why I am asking for help
to this great community, and what better to get it directly from the
developer :)


On Wed, Mar 30, 2011 at 8:07 AM, Alan DeKok <aland at>wrote:

> 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 error
>   As I said, you need to use gcc.
>  I also asked *what* was going on, and you haven't said.
>  I guess you're interested in solving it yourself.
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list