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: 2003-10-03 18:57:42
Message-ID: 3F7DC6A6.90109@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32


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>
>
>
>

In response to

  • Re: initdb at 2003-10-03 18:38:10 from Merlin Moncure

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2003-10-04 19:58:35 Re: [HACKERS] initdb
Previous Message Merlin Moncure 2003-10-03 18:38:10 Re: initdb