Problem in

i have installed asterisk 1.4 under fedora core 8, it work normally but the problem that it can’t insert the traffic of the server in the table cdr, i have made many search and i find that the module not found, in the insttalation of asterisk it can’t compile the cdr_pgsql.c because of some dependencies or something else!!??

can any one help me?