Asterisk 1.4.1 fails to build postgresql module

I’m running Ubuntu Server 6.06 LTS and I just downloaded * 1.4.1. I installed the postgresql-dev package so * will build the pg module. When I run the config script everything looks great. pg_config and the postgresql library are recognized. However, after I run make and finished building, I check the cdr directory and the module is nowhere to be found. says that the MODS line in the cdr/Makefile may have to be modifed but it seems as if the Makefile has changed since this tip was written.

Any ideas?