This is how I managed to compile postgresql 6.5.2 on NT
I have installed Cygwin-B20, Andy Piper Tools and Cygin32 IPC Package
(as recommended in http://www.postgresql.org/docs/pgsql/doc/README.NT)
but still some things did not work out for me so this is the problems
that I encountered and how I solved them on my system.
Note that some things I did are really hackish, at least I think so.
1. Download the current version of PostgreSQL.
2. Untar the package.
3. Copy the files from \pgsql\src\win32 according to the readme file.
3. Edit \pgsql\src\template\cygwin32 if needed (I had to adjust the
My hackish workaround:
4. export CONFIG_SHELL=/cygnus/cygwin-b20/H-i586-cygwin32/bin/sh
5. touch backend/port/tas/dummy.s
6. sh ./configure --with-mb=UNICODE
Now I needed to do step 5 since otherwise the configure script returned
with the following output:
linking ./backend/port/tas/dummy.s to backend/port/tas.s
configure: error: ./backend/port/tas/dummy.s: File not found
And I assumed (heh) that the file dummy.s was noting else but a dummy
Here it should normally work but the makefiles didn't work out
For me it returned with this output:
../../include/catalog/pg_shadow.h ../../include/catalog/pg_group.h \
../../include/catalog/pg_log.h > global1.bki.source
make: *** [global1.bki.source] Error 127
make: *** [catalog.dir] Error 2
make: *** [all] Error 2
This is how I "fixed" it
8. cd backend/catalog
make: *** [local1_template1.bki.source] Error 127
make: Nothing to be done for `all'.
Now everything worked for me after the commands:
11. cd ../..
13. mkdir /usr/local/pgsql
14. make install
I hope you won't dislike my solutions too much but it worked for me and
I thought others might have problems with it too.
pgsql-ports by date
|Next:||From: Horak Daniel||Date: 1999-09-22 12:43:03|
|Subject: RE: [PORTS] postgresql 6.5.2 for WinNT and how I made it compile...|
|Previous:||From: David Löfstrand||Date: 1999-09-22 10:57:43|
|Subject: postgresql 6.5.2 for WinNT and how I made it compile...|