I'm trying to compile postgres 6.3.2 on 10.20 hp-Ux 715 workstation and I've some trouble with it. In particular, I've error messages when it comes to the following: lex -t pgc.l > pgc.c "pgc.l" line 162: warning 22: Executable statements should occur right after %% "pgc.l" line 234: warning 48: Undefined start condition <EOF 1142/2000 nodes(%e), 5472/6000 positions(%p), 510/600 (%n), 53300 transitions, 1321/2000 packed char classes(%k), 1898/2000 packed transitions(%a), 1603/2000 output slots(%o) cc -I../../../include -I../../../backend -W l,-E -Ae -I../include -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\" -c pgc.c -o pgc.o cc: "pgc.c", line 74: error 1000: Unexpected symbol: "YY_BUFFER_STATE". cc: "pgc.c", line 186: error 1000: Unexpected symbol: "<". cc: "pgc.c", line 186: error 1000: Unexpected symbol: "[". cc: "pgc.c", line 186: error 1000: Unexpected symbol: "\". cc: "pgc.c", line 186: error 1000: Unexpected symbol: "\". cc: "pgc.c", line 186: error 1000: Unexpected symbol: "]". cc: "pgc.c", line 186: error 1000: Unexpected symbol: "{". cc: error 2017: Cannot recover from earlier errors, terminating. gmake[3]: *** [pgc.o] Error 1 rm pgc.c gmake[3]: Leaving directory `/usr/src/pgsql/src/interfaces/ecpg/preproc' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/src/pgsql/src/interfaces/ecpg' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/src/pgsql/src/interfaces' gmake: *** [all] Error 2 Any idea how I can get by ? Franck Sgard LASH/DGCB URA CNRS 1652 ENTPE, Rue Maurice Audin 69518 Vaulx-en-Velin Cedex France tel: 0472047740 FAX: 0472047241