469,270 Members | 1,129 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

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

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.

Vitaly Belman

ICQ: 1912453
AIM: VitalyB1984
MSN: tm******@hotmail.com
Yahoo!: VitalyBe
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #1
0 1137

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by mark | last post: by
6 posts views Thread by Jeff Davis | last post: by
4 posts views Thread by Chronologic | last post: by
15 posts views Thread by steve yee | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.