Thread: -head build error report

-head build error report

From
"Joshua D. Drake"
Date:
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




Re: -head build error report

From
Andrew Dunstan
Date:


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


Re: -head build error report

From
"Joshua D. Drake"
Date:

On Sat, 2008-06-21 at 07:53 -0400, Andrew Dunstan wrote:
>    
> 
> 
> 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.

Sorry, this is the only project I use dead software for :P (I didn't
even know there was such a thing as a .cvsrc). 

Thanks for the tip :)

Joshua D. Drake

> 
> cheers
> 
> andrew
> 



Re: -head build error report

From
Stefan Kaltenbrunner
Date:
Joshua D. Drake wrote:
> 
> On Sat, 2008-06-21 at 07:53 -0400, Andrew Dunstan wrote:
>>    
>>
>>
>> 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.
> 
> Sorry, this is the only project I use dead software for :P (I didn't
> even know there was such a thing as a .cvsrc). 
> 
> Thanks for the tip :)

http://wiki.postgresql.org/wiki/Working_with_CVS has even more :P


Stefan