cvs update, configure, make, error in bootstrap.* ?...
cvs update, configure, make, error in bootstrap.* ?...
От:
Jean-Paul ARGUDO <jean-paul.argudo@idealx.com>
Дата:
Hi, Tried to compile PG from CVS today, my platform is: $ uname -a Linux pastis 2.4.17-686 #2 Sat Dec 22 21:58:49 EST 2001 i686 unknown $ gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) I do a simple ./configure then a simple make And the error is: " [...] make[3]: Entering directory `/home/jpargudo/etudes/postgresql-cvs/pgsql-cvs-snapshot-20020423/src/backend/bootstrap' gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../../src/include -c -o bootparse.o bootparse.c bootparse.y: In function `Int_yyparse': bootparse.y:276: structure has no member named `class' make[3]: *** [bootparse.o] Erreur 1 make[3]: Leaving directory `/home/jpargudo/etudes/postgresql-cvs/pgsql-cvs-snapshot-20020423/src/backend/bootstrap' make[2]: *** [bootstrap-recursive] Erreur 2 make[2]: Leaving directory `/home/jpargudo/etudes/postgresql-cvs/pgsql-cvs-snapshot-20020423/src/backend' make[1]: *** [all] Erreur 2 make[1]: Leaving directory `/home/jpargudo/etudes/postgresql-cvs/pgsql-cvs-snapshot-20020423/src' make: *** [all] Erreur 2 " I can't find anywhere such already notifyied bug :-( What am I doing wrong?... I'll watch the source and try to guess what's wrong in bootstrap.* ... Cheers, -- Jean-Paul ARGUDO IDEALX S.A.S Consultant bases de données 15-17, av. de Ségur http://www.idealx.com F-75007 PARIS
Re: cvs update, configure, make, error in bootstrap.* ?...
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Jean-Paul ARGUDO writes: > make[3]: Entering directory > `/home/jpargudo/etudes/postgresql-cvs/pgsql-cvs-snapshot-20020423/src/backend/bootstrap' > gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I. > -I../../../src/include -c -o bootparse.o bootparse.c > bootparse.y: In function `Int_yyparse': > bootparse.y:276: structure has no member named `class' > make[3]: *** [bootparse.o] Erreur 1 > make[3]: Leaving directory You seem to have an out-of-date bootparse.c. Perhaps a timestamp skew problem? Try removing bootstrap_tokens.h and bootparse.c, then try again. regards, tom lane
Re: cvs update, configure, make, error in bootstrap.* ?...
От:
Jean-Paul ARGUDO <jean-paul.argudo@idealx.com>
Дата:
> You seem to have an out-of-date bootparse.c. Perhaps a timestamp skew > problem? Try removing bootstrap_tokens.h and bootparse.c, then try > again. Yup. Works. I had to do it many times to make it work... strange :) I noticed many .cvsignore in many folders (there is one in src/backend/bootstrap for example), is that ok? Thanks for the right help :) -- Jean-Paul ARGUDO IDEALX S.A.S Consultant bases de données 15-17, av. de Ségur http://www.idealx.com F-75007 PARIS