Re: BUG #8325: Missing script II - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #8325: Missing script II
Date
Msg-id CAB7nPqRgNg82D0YepCSJOYeojm+Le828-emkd=5_em9X1gnagQ@mail.gmail.com
Whole thread Raw
In response to BUG #8325: Missing script II  (floriparob@gmail.com)
List pgsql-bugs
On Tue, Jul 23, 2013 at 2:24 PM, <floriparob@gmail.com> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      8325
> Logged by:          Robert Stone
> Email address:      floriparob@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

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #8324: Missing script
Next
From: Tom Lane
Date:
Subject: Re: BUG #8274: Wildly insane boolean selectivity estimates