Обсуждение: Building PostgreSQL 8.1.3 on Windows with MinGW
Hi,
I’m trying to build PostgreSQL on Windows XP SP2 with MinGW but keep getting the same error in this post:
http://archives.postgresql.org/pgsql-ports/2005-06/msg00031.php
I was wondering if there ever was an answer about how to build PostgreSQL on Windows?
Thanks,
Simon
Visit our Website at www.rm.com
This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information for the intended purpose only. Internet communications are not secure; therefore, RM does not accept legal responsibility for the contents of this message. Any views or opinions presented are those of the author only and not of RM. If this email has come to you in error, please delete it, along with any attachments. Please note that RM may intercept incoming and outgoing email communications.
Freedom of Information Act 2000
This email and any attachments may contain confidential information belonging to RM. Where the email and any attachments do contain information of a confidential nature, including without limitation information relating to trade secrets, special terms or prices these shall be deemed for the purpose of the Freedom of Information Act 2000 as information provided in confidence by RM and the disclosure of which would be prejudicial to RM's commercial interests.
This email has been scanned for viruses by Trend ScanMail.
On Thu, 23 Mar 2006 17:11:24 +0100, Simon Dale <sdale@rm.com> wrote: > Hi, > > > I'm trying to build PostgreSQL on Windows XP SP2 with MinGW but keep > getting the same error in this post: > > > http://archives.postgresql.org/pgsql-ports/2005-06/msg00031.php > > > I was wondering if there ever was an answer about how to build > PostgreSQL on Windows? > > > Thanks, > > > Simon > Visit our Website at http://www.rm.com It may sound silly, but did you try an uninstall & reinstall of MingW and Msys ? I had no problem building the source on my laptop, also running WinXP SP2. So I think you shouldn't have any problem. Make sure you install the software in the proper order.
Hi, I downloaded msys (version 1.0.1), didn't for msysdtk (don't even know what it is!). I did the same as you for mingw (installer and current set). The contents of installed.ini in the mingw directory is the following: %%%%% [settings] mirror=http://ovh.dl.sourceforge.net/sourceforge installtype=current [components] runtime=mingw-runtime-3.9.tar.gz w32api=w32api-3.6.tar.gz binutils=binutils-2.15.91-20040904-1.tar.gz core=gcc-core-3.4.2-20040916-1.tar.gz gpp=gcc-g++-3.4.2-20040916-1.tar.gz g77= ada= java= objc= make=mingw32-make-3.80.0-3.tar.gz %%%%% Your problem may come from using mingw-make as you wrote below. I remember that right after the msys install, there's a check or configure script that says something meaning "it's great that you don't have $$$make". Which make was it referring to, I don't remember. Check that. Here is my PATH under msys .:/usr/local/bin:/mingw/bin:/bin:/c/program files/miktek/texmf/miktex/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem::/c/Program Files/Fichiers communs/Adaptec Shared/System:/c/Program Files/QuickTime/QTSystem/:/c/PROGRA~1/XRay:/c/Langages/BC5/BIN:.:/c/Program Files/multiDesk/shortcuts:/usr/local/pgsql/bin:/usr/local/pgsql/lib Note that I did the same installation (for mingw and msys) and compilation procedures on two systems: my laptop w/ WinXP SP2 and my office desktop machine w/ Win2K Professional. They ran perfectly on both machines. On Mon, 27 Mar 2006 12:10:14 +0200, Simon Dale <sdale@rm.com> wrote: > i followed the instructions on the mingw web site. > install mingw (i used the proposed installer and selected to use the > current set of files) > install msys (version 1.0.1) > install msysdtk (version 1.0.1) > i installed these to c:\mingw and c:\msys\1.0 (the default locations) > and added the bin subfolder to my path variable (msys first then mingw). > then i opened cmd and changed directory to the postgres-8.1.3 folder and > did the following: > sh configure --without-zlib > mingw32-make > the mingw32-make causes the error. the same happens if i try to use make > from the msys directory > i've made sure that all the files on the command line exist and that > awk, gawk, sed and egrep all exist too as these look like the tools > being used and they all seem fine. > could you tell me the versions of everything you are using please, and > also the order they appear in your path. > many thanks, > simon > > ________________________________ > > From: VOGLOZIN W. Amenel [mailto:amenel.voglozin@univ-nantes.fr] > Sent: Mon 27/03/06 08:43 > To: Simon Dale; pgsql-ports@postgresql.org > Subject: Re: [PORTS] Building PostgreSQL 8.1.3 on Windows with MinGW > > > > On Thu, 23 Mar 2006 17:11:24 +0100, Simon Dale <sdale@rm.com> wrote: > >> Hi, >> >> >> I'm trying to build PostgreSQL on Windows XP SP2 with MinGW but keep >> getting the same error in this post: >> >> >> http://archives.postgresql.org/pgsql-ports/2005-06/msg00031.php >> >> >> I was wondering if there ever was an answer about how to build >> PostgreSQL on Windows? >> >> >> Thanks, >> >> >> Simon >> Visit our Website at http://www.rm.com > > It may sound silly, but did you try an uninstall & reinstall of MingW and > Msys ? I had no problem building the source on my laptop, also running > WinXP SP2. So I think you shouldn't have any problem. > Make sure you install the software in the proper order. >