Skip site navigation (1) Skip section navigation (2)

Re: problem install postgres7.03 on win2000!!!!

From: "james" <james(at)autotools(dot)com(dot)tw>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: Re: problem install postgres7.03 on win2000!!!!
Date: 2001-03-22 10:20:18
Message-ID: 002d01c0b2ba$981cf670$333211ac@james (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
i try to do as you recommend but still doesn't work.
new error message;
../../../src/include/libpq/pqcomm.h:45: field `un' has incomplete type
In file included from async.c:89:
../../../src/include/miscadmin.h:204: conflicting types for `GetUserNameA'
/usr/include/w32api/winbase.h:1260: previous declaration of `GetUserNameA'
make[3]: *** [async.o] Error 1
make[3]: Leaving directory
make[2]: *** [commands-recursive] Error 2
make[2]: Leaving directory `/usr/src/postgresql-7.1beta6/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.1beta6/src'
make: *** [all] Error 2

<I presume from the above that your version of Cygwin gcc is 2.95.2-7 or
<later.  You can execute "gcc --version" to verify.

yes my gcc version is  gcc-2.95.2-9

<Anyway, there has
<been a change to Cygwin gcc that stops it from automatically looking in
</usr/include/w32api.  This is why you are getting the "windows.h: No
<such file or directory" error above.
<You can try reconfiguring (after removing config.cache), using the
<   $ CC='gcc -mwin32' configure
<I believe that this should work but you may get other problems due to the
<"-mwin32" option.
<Alternatively, I strongly recommend using PostgreSQL 7.1beta6 since it
<builds OOTB under Cygwin (and for other reasons too).
<Additionally, you should replace the Cygwin 1.1.8-2 DLL (i.e.,
<cygwin1.dll) with one from a recent snapshot to avoid the following


In response to


pgsql-ports by date

Next:From: Jason TishlerDate: 2001-03-22 15:59:55
Subject: Re: Re: problem install postgres7.03 on win2000!!!!
Previous:From: JHopkinsDate: 2001-03-22 01:32:01
Subject: help setting shared memory in Windows 2000

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group