I´ve found a detailed explanation in the poor postgres page on how to compile postgres 7.2. under CYGWIN (emulation of UNIX environment in Windows) but it doesn´t works at all. Ever is reported the same error when compile from source:
make -C ../utils dllinit.o
make[2]: Entering directory `/postgresql-7.0.2/src/utils’
gcc -I../include -I../backend -I/usr/local/include -O2
-I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -c
-o dllinit.o dllinit.c
dllinit.c:49: conflicting types for `DllMain’
dllinit.c:44: previous declaration of `DllMain’
dllinit.c:49: conflicting types for `_cygwin_dll_entry’
dllinit.c:49: previous declaration of `_cygwin_dll_entry’
dllinit.c:81: conflicting types for `DllMain’
dllinit.c:49: previous declaration of `DllMain’
make[2]: *** [dllinit.o] Error 1
make[2]: Leaving directory `/postgresql-7.0.2/src/utils’
make[1]: *** [../utils/dllinit.o] Error 2
make[1]: Leaving directory `/postgresql-7.0.2/src/backend
make: *** [all] Error 2
Does any know how to compile Postgres under CYGWIN?








August 21st, 2002 at 8:25 pm
It will work if you have C++ installed on your windows system.
September 20th, 2002 at 9:50 pm
Here is the url where you could find the file psql.exe wholly compiled with visual C++:
http://www.hokkaido.postgresql.jp/download/pub/binaries/7.1/win32-native/psql/
If you don´t know japanesse is time to learn or buy Microsoft Visual C++ 6.0, my dear donk, is very easy to compile postgres under windows.
October 5th, 2002 at 4:42 pm
If you have already any doubt wether Postgres runs on other windows platforms aside NT or not checkout this article: http://www.phpbuilder.com/mail/php-windows/2001062/0076.php and you will see how runs too on Windows Me.