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 for
  Advanced Search

Re: Building PostgreSQL 8.1.3 on Windows with MinGW



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(at)rm(dot)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(dot)voglozin(at)univ-nantes(dot)fr]
Sent: Mon 27/03/06 08:43
To: Simon Dale; pgsql-ports(at)postgresql(dot)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(at)rm(dot)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.




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group