Thread: Bug #946: Problem to make version 7.3.2 with cygwin

Bug #946: Problem to make version 7.3.2 with cygwin

From
pgsql-bugs@postgresql.org
Date:
Fernando Alexandre Parra Garoso (fgaroso@ig.com.br) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Problem to make version 7.3.2 with cygwin

Long Description
> make -C ../../../src/interfaces/libpq all
> make[1]: Entering directory `/src/interfaces/libpq'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/src/interfaces/libpq'
> make -C ../../../src/port all
> make[1]: Entering directory `/src/port'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/src/port'
> make -C ../../../src/backend/parser
> make[1]: Entering directory `/src/backend/parser'
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I.
> -I../../../src/inc
> lude  -DBUILDING_DLL  -c -o analyze.o analyze.c
> analyze.c:41:28: utils/fmgroids.h: No such file or directory
> make[1]: *** [analyze.o] Error 1
> make[1]: Leaving directory `/src/backend/parser'
> make: *** [submake-backend] Error 2
>
> Not foun file fmgroids.h?
> Please, help me!!!!
> My country is Brazil
> :)


Sample Code


No file was uploaded with this report

Re: Bug #946: Problem to make version 7.3.2 with cygwin

From
Tom Lane
Date:
pgsql-bugs@postgresql.org writes:
>> make[1]: Entering directory `/src/backend/parser'
>> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I.
>> -I../../../src/inc
>> lude  -DBUILDING_DLL  -c -o analyze.o analyze.c
>> analyze.c:41:28: utils/fmgroids.h: No such file or directory
>> make[1]: *** [analyze.o] Error 1

That can't be the first failure --- it must have failed to build
fmgroids.h earlier.  Look at the invocation of
src/backend/utils/Gen_fmgrtab.sh and see what went wrong.

Perhaps you are missing awk or sed.

            regards, tom lane