2.1.12 potential problem...

James J J Hooper jjj.hooper at bristol.ac.uk
Tue Sep 20 12:56:06 CEST 2011


On 20/09/2011 11:38, denizaydin wrote:
> I can not see its giving this error while starting. Do I have to change
> installation directory or the library dirctory in the radiusd.conf?
>
> [10:15:39.9] gmake[11]: Entering directory
> `/home/network/Downloads/freeradius-server-2.1.12/src/modules/rlm_sql/drivers/rlm_sql_postgresql'
> [10:15:39.9] if [ "x" != "x" ]; then \
> [10:15:39.9]     /home/network/Downloads/freeradius-server-2.1.12/libtool
> --mode=install /home/network/Downloads/freeradius-server-2.1.12/install-sh
> -c -c \
> [10:15:39.9] .la /usr/local/lib/.la || exit $?; \
> [10:15:39.9]     rm -f /usr/local/lib/-2.1.12.la; \
> [10:15:39.9]     ln -s .la /usr/local/lib/-2.1.12.la || exit $?; \
> [10:15:39.9] fi
>
> DETAIL LOG file :
> http://freeradius.1045715.n5.nabble.com/file/n4822062/installtionlog.txt
> installtionlog.txt

You have to read the output of ./configure ...

[10:12:29.8] === configuring in ./drivers/rlm_sql_postgresql 
(/home/network/Downloads/freeradius-server-2.1.12/src/modules/rlm_sql/./drivers/rlm_sql_postgresql)
[10:12:29.8] configure: running /bin/sh ./configure '--prefix=/usr/local' 
  '--enable-ltdl-install' --cache-file=/dev/null --srcdir=.
[10:12:30.0] checking for gcc... gcc
[10:12:30.1] checking for C compiler default output file name... a.out
[10:12:30.2] checking whether the C compiler works... yes
[10:12:30.2] checking whether we are cross compiling... no
[10:12:30.2] checking for suffix of executables...
[10:12:30.3] checking for suffix of object files... o
[10:12:30.3] checking whether we are using the GNU C compiler... yes
[10:12:30.3] checking whether gcc accepts -g... yes
[10:12:30.3] checking for gcc option to accept ISO C89... none needed
[10:12:30.3] checking for libpq-fe.h... no
[10:12:30.8] checking for PQconnectdb in -lpq... no
[10:12:31.2] configure: WARNING: silently not building rlm_sql_postgresql.
[10:12:31.2] configure: WARNING: FAILURE: rlm_sql_postgresql requires: 
libpq-fe.h libpq.

Fix this, and then re-compile it.


-James



More information about the Freeradius-Users mailing list