Thread: Problems compiling source on Windows XP

Problems compiling source on Windows XP

From
Elissa Newman
Date:
Hi- I followed your directions (in FAQ_MSWIN and INSTALL) to install PostgreSQL with Cygwin on my Windows XP machine. I
madesure 
that the Cygwin path was first on my PATH variable. I even uninstalled MS Visual Studio completely. I keep getting an
error(output 
appended below) that GEN_fmgrtab.sh fails because ../../../src/include/catalog/pg_proc.h can't be found while trying to
create
fmgroids.h. I ran ./configure again to see if that was what was wrong.
Please let me know what could be wrong, or if there is other info I need to send you for you to be able to diagnose the
problem.
Thanks, Elissa

--------------------------------

make -C doc all
make[1]: Entering directory `/d/pgsql7.4/postgresql-7.4/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/d/pgsql7.4/postgresql-7.4/doc'
make -C src all
make[1]: Entering directory `/d/pgsql7.4/postgresql-7.4/src'
make -C port all
make[2]: Entering directory `/d/pgsql7.4/postgresql-7.4/src/port'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/pgsql7.4/postgresql-7.4/src/port'
make -C backend all
make[2]: Entering directory `/d/pgsql7.4/postgresql-7.4/src/backend'
make -C ../../src/port all
make[3]: Entering directory `/d/pgsql7.4/postgresql-7.4/src/port'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/d/pgsql7.4/postgresql-7.4/src/port'
make -C utils fmgroids.h
make[3]: Entering directory `/d/pgsql7.4/postgresql-7.4/src/backend/utils'
CPP='gcc -E' AWK='gawk' /bin/sh.exe Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
Gen_fmgrtab.sh failed
make[3]: Leaving directory `/d/pgsql7.4/postgresql-7.4/src/backend/utils'
make[2]: Leaving directory `/d/pgsql7.4/postgresql-7.4/src/backend'
make[1]: Leaving directory `/d/pgsql7.4/postgresql-7.4/src'


Re: Problems compiling source on Windows XP

From
Jason Tishler
Date:
Elissa,

On Sun, Feb 01, 2004 at 06:12:06PM -0500, Elissa Newman wrote:
> I keep getting an error (output appended below) that GEN_fmgrtab.sh
> fails because ../../../src/include/catalog/pg_proc.h can't be found
> while trying to create fmgroids.h.

Huh?

    $ tar -tjf postgresql-7.4.tar.bz2 | fgrep pg_proc.h
    postgresql-7.4/src/include/catalog/pg_proc.h

> Please let me know what could be wrong, or if there is other info I
> need to send you for you to be able to diagnose the problem.

Why don't you just use the pre-built version that is part of the
standard Cygwin distribution?

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6