Asterisk 1.4.4 - cdr_pgsql not compiling

Hi,

I have just download the source for asterisk but cant get cdr_pgsql.o to compile. I have followed This guide but it still does not compile when adding the MODS line as suggested. When running ./configure it seems to find postgres but th object file is still not created in cdr folder

The OS I have installed in CentOS 5. Here are the postgres packages I have installed:

postgresql-8.1.8-1.el5.i386.rpm
postgresql-devel-8.1.8-1.el5.i386.rpm
postgresql-libs-8.1.8-1.el5.i386.rpm
postgresql-server-8.1.8-1.el5.i386.rpm
php-pgsql-5.1.6-11.el5.i386.rpm

I am really not sure why it’s not compiling, am I missing some packages?

Any ideas would be great. If you need more information please just ask :smile:

Thanks!

run ./configure then
make menuselect
option: 2. Call Detail Recording
if there is [*] in front of cdr_pgsql then
running make should compile cdr_pgsql.so
if You installed some new packages, then ./configure again
on Debian box i have:
dpkg --get-selections | grep postg
postgresql-8.1 install
postgresql-client-8.1 install
postgresql-client-common install
postgresql-common install
postgresql-server-dev-8.1 install