[EMAIL PROTECTED] wrote: > > Has anyone sucessfully built sqlite 3.2.7 on a SunOS 5.6 (Solaris > sparc 6) box? > > I had no problems with sqlite 2, but can't seem to get sqlite3 to > build. > > Using the ./configure ; make route, it dies with: > > ./lemon -DSQLITE_OMIT_CURSOR parse.y > cat parse.h ./src/vdbe.c | awk -f ./mkopcodeh.awk >opcodes.h > awk: syntax error near line 36 > awk: illegal statement near line 36 > awk: syntax error near line 37 > awk: illegal statement near line 37 > awk: syntax error near line 42 > awk: illegal statement near line 42 > awk: syntax error near line 103 > awk: illegal statement near line 103 > make: *** [opcodes.h] Error 2 > > Trying to use the generic Makefile, I get the same results. >
I get the very same result, apparently awk on Sun does not like the mkopcodeh.awk script. It does not like the sub command and it does not like: nopush[i] = nopush[i] + (2^j) I tried with "nawk" instead: this works without any problem! Regards, Arjen