From: | "Uwe C(dot) Schroeder" <uwe(at)oss4u(dot)com> |
---|---|
To: | Vitaly Belman <vitalib(at)012(dot)net(dot)il>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Can't compile a contrib util: dbsize (probably simply though) |
Date: | 2004-06-10 21:39:05 |
Message-ID: | 200406101439.05392.uwe@oss4u.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'd say you need to install the postgresql-devel package if you're on a rpm
based system.
On Thursday 10 June 2004 02:20 pm, 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 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
- --
UC
- --
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAyNT5jqGXBvRToM4RAncQAJ4myr6GNUScZR10QWS2pjDsdO1EYACgyZZn
k+sqawEng6cPYzRd7xizYgg=
=3I45
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2004-06-10 21:45:57 | Re: Can't compile a contrib util: dbsize (probably simply though) |
Previous Message | Vitaly Belman | 2004-06-10 21:20:00 | Can't compile a contrib util: dbsize (probably simply though) |