Re: problem install postgres7.03 on win2000!!!!
От | james |
---|---|
Тема | Re: problem install postgres7.03 on win2000!!!! |
Дата | |
Msg-id | 002d01c0b2ba$981cf670$333211ac@james обсуждение исходный текст |
Ответ на | Re: problem install postgres7.03 on win2000!!!! (Jason Tishler <Jason.Tishler@dothill.com>) |
Ответы |
Re: Re: problem install postgres7.03 on win2000!!!!
|
Список | 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 по дате отправления: