Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: initdb


  • From: Andrew Dunstan <andrew(at)dunslane(dot)net>
  • To: pgsql-hackers-win32 <pgsql-hackers-win32(at)postgresql(dot)org>
  • Subject: Re: initdb
  • Date: Fri, 03 Oct 2003 14:57:42 -0400
  • Message-id: <3F7DC6A6.90109@dunslane.net> <text/plain>


I posted this on hackers on 15 sept (see http://archives.postgresql.org/pgsql-hackers/2003-09/msg00938.php )
----------------------------

After installing the following into my msys/mingw set:
http://prdownloads.sourceforge.net/mingw/bison-1.875.0-2003.02.10-1.exe?download
and http://www.cs.colorado.edu/~main/mingw32/flex-2_5_4a.zip <http://www.cs.colorado.edu/%7Emain/mingw32/flex-2_5_4a.zip> (Not sure if
this was needed, but I did it anyway) and then running
"configure --without-zlib --without-readline", I  was able to "make" the
branch right through to the stage where it fails to link because of missing
fork/signmask/etc. Bison ran just fine, apparently.

If you do this make sure you install everything in default locations - the
bison binary has a hardcoded location for m4 (yuck).
----------------------

The platform is WindowsXP-HE

cheers

andrew


Merlin Moncure wrote:

Where did you get your flex and bison?  Were there any special steps to
setting up MinGW environment that would be helpful to know?

Merlin

-----Original Message-----
From: Andrew Dunstan [mailto:andrew(at)dunslane(dot)net] Sent: Friday, October 03, 2003 2:33 PM
To: Postgresql Hackers; pgsql-hackers-win32
Subject: [pgsql-hackers-win32] initdb


I now have a C implementation of initdb, which successfully runs with "make check" on my several linux machines, and compiles on Windows/MinGW

too (can't run make check on Windows because we haven't got a native postgres yet - I'm going to create a small dummy Windows postgres that will let me check if this program works there).
<snip>






Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group