Thread: WG: make failure: Gen_fmgrtab.sh

WG: make failure: Gen_fmgrtab.sh

From
"Carsten Piepel"
Date:
Can't use that, as I want to compile some extensions into postgresql. But I
didn't include them yet, so that I currently just deal with the standard
distribution.

Thanks anyway,
Carsten

-----Original Message-----
From: Henshall, Stuart - WCP
[mailto:SHenshall@westcountrypublications.co.uk]
Sent: Donnerstag, 6. Dezember 2001 18:07
To: 'Carsten Piepel'; pgsql-cygwin@postgresql.org
Subject: RE: [CYGWIN] make failure: Gen_fmgrtab.sh


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


Re: make failure: Gen_fmgrtab.sh

From
"Norman Vine"
Date:
Carsten Piepel writes:
>
>Can't use that, as I want to compile some extensions into
>postgresql. But I
>didn't include them yet, so that I currently just deal with
>the standard distribution.

FYI
I have VERY GOOD luck adding the modules I want to use
to the Cygwin source distribution tree and just modifying
the Makefile in contrib to include my extension directory

I first use the cygwin-patches/build.sh script

When I am only adding something from the contrib directory
I only make postgresql to set up the build enviroment
I only run make install in the directory for the new module that
I have built

Cheers

Norman

>-----Original Message-----
>From: Henshall, Stuart - WCP
>[mailto:SHenshall@westcountrypublications.co.uk]
>Sent: Donnerstag, 6. Dezember 2001 18:07
>To: 'Carsten Piepel'; pgsql-cygwin@postgresql.org
>Subject: RE: [CYGWIN] make failure: Gen_fmgrtab.sh
>
>
>If you're not after a specific config option there is a
>pre-built with the cygwin distribution.
>