ecpg_config.h doesn't get installed -- should it be? ecpg_informix.h
and pgtypes_timestamp.h include pgtypes_interval.h, which includes
ecpg_config.h, which doesn't exist.
% echo 'int main(void) {return 0;}' > foo.pgc
% ecpg -C INFORMIX foo.pgc
% gcc -I`pg_config --includedir` -c foo.c
In file included from /usr/local/pgsql82/include/pgtypes_timestamp.h:7, from
/usr/local/pgsql82/include/pgtypes_date.h:6, from /usr/local/pgsql82/include/ecpg_informix.h:9,
from foo.c:8:
/usr/local/pgsql82/include/pgtypes_interval.h:6:25: ecpg_config.h: No such file or directory
Looks like this is the relevant commit:
http://archives.postgresql.org/pgsql-committers/2006-08/msg00401.php
--
Michael Fuhr