Обсуждение: git.postgresql.org vs. REL8_1_STABLE

Поиск
Список
Период
Сортировка

git.postgresql.org vs. REL8_1_STABLE

От
Joshua Tolley
Дата:
Am I the only one having problems building 8.1 from git? (Am I the only one
building 8.1 from git?) In a clean repository, I've checked out REL8_1_STABLE,
configured with only one argument, to set --prefix, and make gives me this:

make[4]: Entering directory
`/home/josh/devel/pgsrc/pg81/src/backend/access/common'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
-I../../../../src/include -D_GNU_SOURCE   -c -o indexvalid.o indexvalid.c
In file included from ../../../../src/include/executor/execdesc.h:19,                from
../../../../src/include/executor/executor.h:17,               from ../../../../src/include/executor/execdebug.h:17,
          from indexvalid.c:19: 
../../../../src/include/nodes/execnodes.h:23:29: error: nodes/tidbitmap.h: No
such file or directory
In file included from ../../../../src/include/executor/execdesc.h:19,                from
../../../../src/include/executor/executor.h:17,               from ../../../../src/include/executor/execdebug.h:17,
          from indexvalid.c:19: 
../../../../src/include/nodes/execnodes.h:934: error: expected
specifier-qualifier-list before ‘TIDBitmap’
../../../../src/include/nodes/execnodes.h:959: error: expected
specifier-qualifier-list before ‘TIDBitmap’
make[4]: *** [indexvalid.o] Error 1
make[4]: Leaving directory
`/home/josh/devel/pgsrc/pg81/src/backend/access/common'
make[3]: *** [common-recursive] Error 2
make[3]: Leaving directory `/home/josh/devel/pgsrc/pg81/src/backend/access'
make[2]: *** [access-recursive] Error 2
make[2]: Leaving directory `/home/josh/devel/pgsrc/pg81/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/josh/devel/pgsrc/pg81/src'
make: *** [all] Error 2

Indeed, src/include/nodes has no tidbitmap.h file (it shows up in
REL8_2_STABLE).

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

Re: git.postgresql.org vs. REL8_1_STABLE

От
James Pye
Дата:
On Jul 10, 2009, at 11:03 AM, Joshua Tolley wrote:

> Am I the only one having problems building 8.1 from git? (Am I the  
> only one
> building 8.1 from git?) In a clean repository, I've checked out  
> REL8_1_STABLE,
> configured with only one argument, to set --prefix, and make gives  
> me this:

While not this exact issue, I have had issues compiling older _STABLE  
branches from git.
At the time, I wasn't sure if I somehow borked my clone or not, so I  
just moved on.

[iirc, my problem was with dbcommand.c. the repo seemed to have  
checked out an older header file..]


Re: git.postgresql.org vs. REL8_1_STABLE

От
Sergey Burladyan
Дата:
Joshua Tolley <eggyknap@gmail.com> writes:

> Am I the only one having problems building 8.1 from git? (Am I the only one
> building 8.1 from git?) In a clean repository, I've checked out REL8_1_STABLE,
> configured with only one argument, to set --prefix, and make gives me this:

Still does not compile.

I trying to compile 8.1 from git://git.postgresql.org/git/postgresql.git and can not do this.

git clone git://git.postgresql.org/git/postgresql.git
git checkout -b REL8_1_STABLE origin/REL8_1_STABLE
./configure --prefix=$HOME/inst/pg-dev --enable-nls --enable-debug --enable-depend --enable-cassert
--enable-thread-safety--with-pgport=5433 --with-python --with-perl
 
(configured ok)
make
../../../../src/include/nodes/execnodes.h:23:29: error: nodes/tidbitmap.h: No such file or directory
../../../../src/include/nodes/execnodes.h:934: error: expected specifier-qualifier-list before 'TIDBitmap'
../../../../src/include/nodes/execnodes.h:959: error: expected specifier-qualifier-list before 'TIDBitmap'
make[4]: *** [indexvalid.o] Error 1

postgresql-8.1.18.tar.bz2 from www.postgresql.org/ compiled successful.

-- 
Sergey Burladyan