Need help on installing FR with postgresql.

Fajar A. Nugraha list at fajar.net
Thu Feb 2 10:53:01 CET 2012


On Thu, Feb 2, 2012 at 4:41 PM, artaxerxe <mapandrei at gmail.com> wrote:
> Hello!
>
> I installed FR in my CentOS 6.2 from source.

Why?

The package works just fine. You CAN rebuild it to 2.1.12 (or wait
until 2.2.0), but really, the bundled version should work fine for
most purposes.

> configure: WARNING: FAILURE: rlm_sql_postgresql requires:  libpq-fe.h libpq.

Do you have those two files?

> I also tried to run the following:
> # ./configure --prefix=/my/path/
> --with-postgresql-include-dir=/usr/pgsql-9.1/lib/ | grep -i WARNING
> but with the same WARNING.
>
> Can anybody help me on this?

I don't have access to RH's spec file right now, but here's what's
used on debian/rules:

                --with-rlm_sql_postgresql_lib_dir=`pg_config --libdir` \
                --with-rlm_sql_postgresql_include_dir=`pg_config --includedir` \

-- 
Fajar




More information about the Freeradius-Devel mailing list