Asterisk 1.4.4 - cdr_pgsql not compiling


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:


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:


run ./configure then
make menuselect
option: 2. Call Detail Recording
if there is [*] in front of cdr_pgsql then
running make should compile
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