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

From: Vitaly Belman <vitalib(at)012(dot)net(dot)il>
To: pgsql-general(at)postgresql(dot)org
Subject: Can't compile a contrib util: dbsize (probably simply though)
Date: 2004-06-10 21:20:00
Message-ID: 114532939531.20040611002000@012.net.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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
> dbsize.c:1: postgres.h: No such file or directory
> dbsize.c:7: access/heapam.h: No such file or directory
> dbsize.c:8: catalog/catalog.h: No such file or directory
> dbsize.c:9: catalog/namespace.h: No such file or directory
> dbsize.c:10: commands/dbcommands.h: No such file or directory
> dbsize.c:11: fmgr.h: No such file or directory
> dbsize.c:12: storage/fd.h: No such file or directory
> dbsize.c:13: utils/builtins.h: No such file or directory
> make: *** [dbsize.o] Error 1

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

Tips will be much appreciated.

Regards,
Vitaly Belman

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Uwe C. Schroeder 2004-06-10 21:39:05 Re: Can't compile a contrib util: dbsize (probably simply though)
Previous Message Steve Wolfe 2004-06-10 21:09:25 Opteron scaling with PostgreSQL