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

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Can't compile a contrib util: dbsize (probably simply though)
Дата
Msg-id 20040610214553.GA25053@svana.org
обсуждение исходный текст
Ответ на Can't compile a contrib util: dbsize (probably simply though)  (Vitaly Belman <vitalib@012.net.il>)
Список pgsql-general
On Fri, Jun 11, 2004 at 12:20:00AM +0300, Vitaly Belman wrote:
> Hello pgsql-general,
>
>   When I am running "make" I get the following:
>
> > 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 

Make doesn't expand ~ for you, that's a shell thing. Replace it with
$(HOME). This is assumeing you edited the makefile to add that
directory.

Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: "Uwe C. Schroeder"
Дата:
Сообщение: Re: Can't compile a contrib util: dbsize (probably simply though)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Can't compile a contrib util: dbsize (probably simply though)