Thread: make failure: Gen_fmgrtab.sh
Hi everybody, I encounter problems to make PostgreSQL version 7.1.3 on my Windows 2000 computer. I use Cygwin 1.3.5 and GNU make version 3.79.1. While processing the makefile I receive the following error message: $ make . . . make[3]: Entering directory `/usr/src/postgresql-7.1.3/src/backend/utils' CPP='gcc -E' AWK='' /bin/sh.exe Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h BEGIN { raw = 0; } /^DATA/ { print; next; } /^BKI_BEGIN/ { raw = 1; next; } /^BKI_END/ { raw = 0; next; } raw == 1 { print; next; }: not found /^#/ { print; next; } $4 == "12" { print; next; }: not found Gen_fmgrtab.sh failed make[3]: *** [fmgroids.h] Error 1 make[3]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend/utils' make[2]: *** [utils/fmgroids.h] Error 2 make[2]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/postgresql-7.1.3/src' make: *** [all] Error 2 I am at loss what to do now. Any help would be greatly appreciated. Thank you, Carsten ------------------------------------------------- Carsten Piepel Diplom-Landschaftsoekologe Institut fuer Geoinformatik der Westfaelischen Wilhelms-Universitaet Muenster Robert-Koch-Str. 26-28 48149 Muenster Tel.: +49 (0)251 83-39762 Fax: +49 (0)251 83-39763 Email: piepel@ifgi.uni-muenster.de Visit us at http://wwwifgi.uni-muenster.de ------------------------------------------------- Two wrongs do not make a right.
If you're not after a specific config option there is a pre-built with the cygwin distribution. -----Original Message----- From: Carsten Piepel [mailto:piepel@ifgi.uni-muenster.de] Sent: 06 December 2001 16:47 To: pgsql-cygwin@postgresql.org Subject: [CYGWIN] make failure: Gen_fmgrtab.sh Hi everybody, I encounter problems to make PostgreSQL version 7.1.3 on my Windows 2000 computer. I use Cygwin 1.3.5 and GNU make version 3.79.1. While processing the makefile I receive the following error message: $ make . . . make[3]: Entering directory `/usr/src/postgresql-7.1.3/src/backend/utils' CPP='gcc -E' AWK='' /bin/sh.exe Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h BEGIN { raw = 0; } /^DATA/ { print; next; } /^BKI_BEGIN/ { raw = 1; next; } /^BKI_END/ { raw = 0; next; } raw == 1 { print; next; }: not found /^#/ { print; next; } $4 == "12" { print; next; }: not found Gen_fmgrtab.sh failed make[3]: *** [fmgroids.h] Error 1 make[3]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend/utils' make[2]: *** [utils/fmgroids.h] Error 2 make[2]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/postgresql-7.1.3/src' make: *** [all] Error 2 I am at loss what to do now. Any help would be greatly appreciated. Thank you, Carsten ------------------------------------------------- Carsten Piepel Diplom-Landschaftsoekologe Institut fuer Geoinformatik der Westfaelischen Wilhelms-Universitaet Muenster Robert-Koch-Str. 26-28 48149 Muenster Tel.: +49 (0)251 83-39762 Fax: +49 (0)251 83-39763 Email: piepel@ifgi.uni-muenster.de Visit us at http://wwwifgi.uni-muenster.de ------------------------------------------------- Two wrongs do not make a right. ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html
Carsten, On Thu, Dec 06, 2001 at 05:47:13PM +0100, Carsten Piepel wrote: > make[3]: Entering directory `/usr/src/postgresql-7.1.3/src/backend/utils' > CPP='gcc -E' AWK='' /bin/sh.exe Gen_fmgrtab.sh ^^ Did you forget to install the gawk package? And possibly, others? But please try to use the pre-built package, if it meets your needs. Jason
Jason, many thanks. Works great, now. It seems, I did not install all the packages from cygwin that are required to build postgresql. I just used the standard cygwin installation options. Maybe the required packages should be mentioned in the MSWIN FAQ? Carsten -----Ursprungliche Nachricht----- Von: Jason Tishler [mailto:jason@tishler.net] Gesendet: Donnerstag, 6. Dezember 2001 18:48 An: Carsten Piepel Cc: pgsql-cygwin@postgresql.org Betreff: Re: [CYGWIN] make failure: Gen_fmgrtab.sh Carsten, On Thu, Dec 06, 2001 at 05:47:13PM +0100, Carsten Piepel wrote: > make[3]: Entering directory `/usr/src/postgresql-7.1.3/src/backend/utils' > CPP='gcc -E' AWK='' /bin/sh.exe Gen_fmgrtab.sh ^^ Did you forget to install the gawk package? And possibly, others? But please try to use the pre-built package, if it meets your needs. Jason
Carsten, On Thu, Dec 06, 2001 at 07:14:14PM +0100, Carsten Piepel wrote: > many thanks. Works great, now. You are welcome. > It seems, I did not install all the packages from cygwin that are required > to build postgresql. I just used the standard cygwin installation options. > Maybe the required packages should be mentioned in the MSWIN FAQ? Up until very recently, one was "required" to install all Cygwin packages if they expected to get support on the Cygwin mailing list. Also, I have been running with all standard Cygwin packages (and then some) installed for years. Hence, you it would be easier for you than me to determine the minimal required packages since you just went through this exercise. Would you be willing to contribute this information to the FAQ? Thanks, Jason