Discussion:
[PORTS] Compile error: command not found
(too old to reply)
Nathan Garlington
2008-05-02 13:51:49 UTC
Permalink
Hi all!

I downloaded 8.3.1 and ./configure and gmake went smoothly during the
installation process. But when I ran gmake install, I had these
errors:

**********
gmake[3]: Entering directory `/root/postgresql-8.3.1/src/backend/utils'
AWK='' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
Gen_fmgrtab.sh: line 84: $5 == "12" { print }: command not found
Gen_fmgrtab.sh: line 142:
BEGIN { OFS = ""; }
{ if (seenit[$(NF-3)]++ == 0) print "#define F_", $(NF-3), "
", $1; }: command not found
Gen_fmgrtab.sh failed
gmake[3]: *** [fmgroids.h] Error 1
gmake[3]: Leaving directory `/root/postgresql-8.3.1/src/backend/utils'
gmake[2]: *** [utils/fmgroids.h] Error 2
gmake[2]: Leaving directory `/root/postgresql-8.3.1/src/backend'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/root/postgresql-8.3.1/src'
gmake: *** [install] Error 2

***********
and gmake stopped. Any ideas as to what I can do to fix this?

I'm running a recently installed Slackware Linux 12.0 on a linux-only box.
--
Regards,
Nathan Garlington
--
Sent via pgsql-ports mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports
Peter Eisentraut
2008-05-02 14:08:15 UTC
Permalink
Post by Nathan Garlington
I downloaded 8.3.1 and ./configure and gmake went smoothly during the
installation process. But when I ran gmake install, I had these
**********
gmake[3]: Entering directory `/root/postgresql-8.3.1/src/backend/utils'
AWK='' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
Gen_fmgrtab.sh: line 84: $5 == "12" { print }: command not found
Install awk?
--
Sent via pgsql-ports mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports
Nathan Garlington
2008-05-02 14:56:40 UTC
Permalink
Peter,

Thanks for the promdt reply. I installed awk as per your suggestion,
and verified it's installation from the command line. But I am still
getting the exact same error shown below. Any other ideas?
Post by Peter Eisentraut
Post by Nathan Garlington
I downloaded 8.3.1 and ./configure and gmake went smoothly during the
installation process. But when I ran gmake install, I had these
**********
gmake[3]: Entering directory `/root/postgresql-8.3.1/src/backend/utils'
AWK='' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
Gen_fmgrtab.sh: line 84: $5 == "12" { print }: command not found
Install awk?
--
Regards,
Nathan Garlington
--
Sent via pgsql-ports mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports
Peter Eisentraut
2008-05-02 15:22:31 UTC
Permalink
Post by Nathan Garlington
Thanks for the promdt reply. I installed awk as per your suggestion,
and verified it's installation from the command line. But I am still
getting the exact same error shown below. Any other ideas?
make distclean and rerun configure.
--
Sent via pgsql-ports mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports
Loading...