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

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Vitaly Belman <vitalib(at)012(dot)net(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can't compile a contrib util: dbsize (probably simply though)
Date: 2004-06-10 21:45:57
Message-ID: 20040610214553.GA25053@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-06-10 21:55:53 Re: Can't compile a contrib util: dbsize (probably simply though)
Previous Message Uwe C. Schroeder 2004-06-10 21:39:05 Re: Can't compile a contrib util: dbsize (probably simply though)