Re: problem install postgres7.03 on win2000!!!! - Mailing list pgsql-ports

From james
Subject Re: problem install postgres7.03 on win2000!!!!
Date
Msg-id 002d01c0b2ba$981cf670$333211ac@james
Whole thread Raw
In response to Re: problem install postgres7.03 on win2000!!!!  (Jason Tishler <Jason.Tishler@dothill.com>)
Responses Re: Re: problem install postgres7.03 on win2000!!!!
List 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



pgsql-ports by date:

Previous
From: "JHopkins"
Date:
Subject: help setting shared memory in Windows 2000
Next
From: Jason Tishler
Date:
Subject: Re: Re: problem install postgres7.03 on win2000!!!!