Обсуждение: ecpg_config.h not installed

Поиск
Список
Период
Сортировка

ecpg_config.h not installed

От
Michael Fuhr
Дата:
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


Re: ecpg_config.h not installed

От
Michael Meskes
Дата:
On Mon, Nov 27, 2006 at 09:31:29PM -0700, Michael Fuhr wrote:
> 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.

Yes, it should. Seems I missed it. Thanks for the report, patch just
submitted.

Michael

-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!