Обсуждение: Compile Error
Hi! I've downloaded the recent version of Postgres (7.2.2) and tried compiling in my linux box (slackware 8.1). I've used the --with-perl option to configure postgres. And after issuing the command "gmake" it shows an error: CPP='gcc -E' AWK='' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h Gen_fmgrtab.sh: BEGIN { raw = 0; } /^DATA/ { print; next; } /^BKI_BEGIN/ { raw = 1; next; } /^BKI_END/ { raw = 0; next; } raw == 1 { print; next; }: No such file or directory Gen_fmgrtab.sh: /^#/ { print; next; } $4 == "12" { print; next; }: No such file or directory Gen_fmgrtab.sh failed make[3]: *** [fmgroids.h] Error 1 make[3]: Leaving directory `/home/george/Install/postgresql-7.2.2/src/backend/utils' make[2]: *** [utils/fmgroids.h] Error 2 make[2]: Leaving directory `/home/george/Install/postgresql-7.2.2/src/backend' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/george/Install/postgresql-7.2.2/src' make: *** [all] Error 2 Can somebody please explain what this means. Thanks George __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com
George Esperanza <george_esperanza@yahoo.com> writes: > CPP='gcc -E' AWK='' /bin/sh Gen_fmgrtab.sh ^^^^^^ Hm. It looks like configure failed to find awk or any substitute (gawk, mawk, nawk, maybe others I've not heard of). This is surprising; I've never seen a Unix machine without some flavor of awk. Did you install an especially trimmed-down package set? regards, tom lane