Saturday, June 21, 2008

Re: [HACKERS] -head build error report

Joshua D. Drake wrote:
> Linux jd-laptop 2.6.24-19-generic #1 SMP Wed Jun 4 16:35:01 UTC 2008
> i686 GNU/Linux
>
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --enable-languages=c,c
> ++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --enable-nls
> --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
> --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
> --enable-mpfr --enable-targets=all --enable-checking=release
> --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
> Thread model: posix
> gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
>
>
>
> de -D_GNU_SOURCE -c -o gistget.o gistget.c
> In file included from gistget.c:21:
> ../../../../src/include/pgstat.h:15:36: error: portability/instr_time.h:
> No such file or directory
> In file included from gistget.c:21:
> ../../../../src/include/pgstat.h:326: error: expected
> specifier-qualifier-list before 'instr_time'
> ../../../../src/include/pgstat.h:566: error: expected
> specifier-qualifier-list before 'instr_time'
> make[4]: *** [gistget.o] Error 1
> make[4]: Leaving directory
> `/home/jd/repos/pgsql/src/backend/access/gist'
> make[3]: *** [gist-recursive] Error 2
> make[3]: Leaving directory `/home/jd/repos/pgsql/src/backend/access'
> make[2]: *** [access-recursive] Error 2
> make[2]: Leaving directory `/home/jd/repos/pgsql/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/jd/repos/pgsql/src'
> make: *** [all] Error 2
>
>


Looks like you do not have the right CVS flags set. You need to use -d
when you do a cvs update or you won't pick up new directories.

You should really have this set in your .cvsrc file.

cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

No comments: