Re: Can't compile a contrib util: dbsize (probably simply though)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can't compile a contrib util: dbsize (probably simply though)
Дата
Msg-id 4311.1086904553@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can't compile a contrib util: dbsize (probably simply though)  (Vitaly Belman <vitalib@012.net.il>)
Ответы Re: Can't compile a contrib util: dbsize (probably simply though)  (Vitaly Belman <vitalib@012.net.il>)
Список pgsql-general
Vitaly Belman <vitalib@012.net.il> writes:
>> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I.
-I~/postgresql-7.4.2/src/include-D_GNU_SOURCE   -c -o dbsize.o dbsize.c 
>> dbsize.c:1: postgres.h: No such file or directory

> I don't understand why it can't find these files.. They are indeed in
> "~/postgresql-7.4.2/src/include" just as the -I points =(.

The shell isn't gonna expand ~ for you when it's within a word like
that.  I think you were lucky that configure succeeded at all with
such a setting...

            regards, tom lane

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Can't compile a contrib util: dbsize (probably simply though)
Следующее
От: Vitaly Belman
Дата:
Сообщение: Re: Can't compile a contrib util: dbsize (probably simply though)