Re: Compilation failed

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Compilation failed
Дата
Msg-id AANLkTik=AkNAU6+L1PnUuqjeByqbqAnAGDZjLfGeqTey@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Compilation failed  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Compilation failed  (Robert Haas <robertmhaas@gmail.com>)
Re: Compilation failed  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Thu, Feb 3, 2011 at 11:42 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Thu, Feb 3, 2011 at 11:02 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> Hi,
>>
>> When I run "git pull" from the git master and "make", I encountered
>> the following compilation error.
>>
>> gcc -Wall -Wmissing-prototypes -Wpointer-arith
>> -Wdeclaration-after-statement -Wendif-labels -Wformat-security
>> -fno-strict-aliasing -fwrapv -g  -I../../src/port  -I../../src/include
>> -D_GNU_SOURCE  -c chklocale.c -o chklocale_srv.o
>> In file included from ../../src/include/postgres.h:48,
>>                 from chklocale.c:17:
>> ../../src/include/utils/elog.h:69:28: error: utils/errcodes.h: No such
>> file or directory
>> make[2]: *** [chklocale_srv.o] Error 1
>> make[2]: Leaving directory `/home/postgres/head/src/port'
>> make[1]: *** [install-port-recurse] Error 2
>> make[1]: Leaving directory `/home/postgres/head/src'
>> make: *** [install-src-recurse] Error 2
>>
>>
>> I guess the following commit causes a problem.
>>
>> -------------
>>    Avoid maintaining three separate copies of the error codes list.
>>
>>    src/pl/plpgsql/src/plerrcodes.h, src/include/utils/errcodes.h, and a
>>    big chunk of errcodes.sgml are now automatically generated from a single
>>    file, src/backend/utils/errcodes.txt.
>> -------------
>
> The build farm doesn't look too happy with it either, but of course it
> worked for me here.  I guess there's a missing dependency somewhere.
>
> *goes off to look*

I just pushed some fixes to unbreak the VPATH build (I hope) but I
don't see exactly what's going wrong to cause you the problem shown
above.  Can you try with a completely fresh tree and send the whole
build log if it's still failing?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Itagaki Takahiro
Дата:
Сообщение: Re: pg_dump directory archive format / parallel pg_dump
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Compilation failed