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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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
`/usr/src/postgresql-7.1beta6/src/backend/commands'
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
<following:
<
< $ 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
<problem:
< http://www.postgresql.org/mhonarc/pgsql-ports/2001-02/msg00012.html

thanks
james

In response to

Responses

Browse pgsql-ports by date

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