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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:55:53
Message-ID: 4311.1086904553@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 =(.

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vitaly Belman 2004-06-10 22:18:05 Re: Can't compile a contrib util: dbsize (probably simply though)
Previous Message Martijn van Oosterhout 2004-06-10 21:45:57 Re: Can't compile a contrib util: dbsize (probably simply though)