Re: mingw64

From: Xiaobo Gu <guxiaobo1982(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: mingw64
Date: 2011-01-28 03:37:13
Message-ID: AANLkTikQFP0vHAKFs8etdciaNiYc7DWvs7pthdC0dGF-@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jan 28, 2011 at 8:12 AM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
> With the attached patch I have managed to get Postgres built and running a
> clean set of regression tests using the Mingw64 toolset on my 64bit
> Windows7Pro machine.
>
> There's lots of work still to do (lots of warnings to make go away, for
> example), but this is a pretty encouraging start.
>
> It should also answer most of the questions XiaoboGu had about how to build
> the client libraries, since this falls out along the way.
>
> NB: on Windows 7 you really need to build and run as a non-admin user.
> Windows blows away the PATH for your app otherwise. This took me a while to
> get to the bottom of.
>

Hi
I am on my 32bit Windows XP SP3 now, using a non-admin user named postgres,
configure and make pass, but make install failed,

configure --without-zlib --host=x86_64-w64-mingw32
--with-system-tzdata=/usr/share/zoneinfo --prefix=D:/psqlbin
.....

$make

......

$ make install
D:/Amber/Devtool/MinGW64-1.0-20100913/bin/make -C src install
make[1]: Entering directory `d:/amber/devproj/postgresql-9.0.2/src'
/bin/mkdir -p 'D:/psqlbin/lib/postgresql/pgxs/src'
process_begin: CreateProcess(NULL, /bin/mkdir -p D:/psqlbin/lib/postgresql/pgxs/
src, ...) failed.
make (e=3): System can't find the specified path (translated from Chinese by me)
make[1]: *** [installdirs-local] Error 3
make[1]: Leaving directory `d:/amber/devproj/postgresql-9.0.2/src'
make: *** [install] Error 2

User postgres has full access previlige on D:/psqlbin directory

I'll try on my 64bit Win7 home basic later.

Xiaobo Gu

In response to

  • mingw64 at 2011-01-28 00:12:10 from Andrew Dunstan

Responses

  • Re: mingw64 at 2011-01-28 03:44:42 from Andrew Dunstan

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-01-28 03:44:42 Re: mingw64
Previous Message Andrew Dunstan 2011-01-28 01:35:58 Re: mingw64