Обсуждение: Re: initdb
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@dunslane.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>
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@dunslane.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> > > >