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

From: Vitaly Belman <vitalib(at)012(dot)net(dot)il>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can't compile a contrib util: dbsize (probably simply though)
Date: 2004-06-10 22:18:05
Message-ID: 187536424609.20040611011805@012.net.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello Tom,

Thanks, that worked.

Regards,
Vitaly Belman

ICQ: 1912453
AIM: VitalyB1984
MSN: tmdagent(at)hotmail(dot)com
Yahoo!: VitalyBe

Friday, June 11, 2004, 12:55:53 AM, you wrote:

TL> Vitaly Belman <vitalib(at)012(dot)net(dot)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 =(.

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

TL> regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mark Striebeck 2004-06-11 01:14:32 out of memory error
Previous Message Tom Lane 2004-06-10 21:55:53 Re: Can't compile a contrib util: dbsize (probably simply though)