On Tue, Jul 23, 2013 at 2:24 PM, <floripa...@gmail.com> wrote:
> The following bug has been logged on the website: > > Bug reference: 8325 > Logged by: Robert Stone > Email address: floripa...@gmail.com > PostgreSQL version: 9.2.4 > Operating system: Linux roblaptop 3.9-1-amd64 #1 SMP Debian 3.9.8-1 > Description: > > Since my previous report discovered pg_upgrade sitting in a directory named > "contrib". Tried to compile it but the following errors occurred:- > > > root@roblaptop:/home/postgres/v9.2/postgresql-9.2.4/contrib/pg_upgrade# > make > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute > -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard > -DFRONTEND -DDLSUFFIX=\".so\" -I. -I../../src/interfaces/libpq -I. -I. > -I../../src/include -D_GNU_SOURCE -c -o check.o check.c > In file included from ../../src/include/postgres.h:48:0, > from check.c:10: > ../../src/include/utils/elog.h:69:28: fatal error: utils/errcodes.h: No > such > file or directory > compilation terminated. > make: *** [check.o] Error 1 > root@roblaptop:/home/postgres/v9.2/postgresql-9.2.4/contrib/pg_upgrade# > You should compile first the main code tree in src/. This will help ;) -- Michael