Problems compiling source on Windows XP

Lists: pgsql-cygwin
From: Elissa Newman <elissa(at)cs(dot)cmu(dot)edu>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Problems compiling source on Windows XP
Date: 2004-02-01 23:12:06
Message-ID: 004701c3e918$cf689390$c5bf0280@scs.ad.cs.cmu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Hi- I followed your directions (in FAQ_MSWIN and INSTALL) to install PostgreSQL with Cygwin on my Windows XP machine. I made sure
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'


From: Jason Tishler <jason(at)tishler(dot)net>
To: Elissa Newman <elissa(at)cs(dot)cmu(dot)edu>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Problems compiling source on Windows XP
Date: 2004-02-03 15:41:51
Message-ID: 20040203154151.GD1376@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

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