Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aLGtw-0002VO-HP for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jan 2016 20:59:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aLGtv-0003tr-Ak for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jan 2016 20:59:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aLGtt-0003sr-Ot for pgsql-hackers@postgresql.org; Mon, 18 Jan 2016 20:59:45 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aLGtq-0003gd-GS for pgsql-hackers@postgresql.org; Mon, 18 Jan 2016 20:59:44 +0000 Received: by mail-pa0-x232.google.com with SMTP id cy9so439336477pac.0 for ; Mon, 18 Jan 2016 12:59:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lucee-org.20150623.gappssmtp.com; s=20150623; h=subject:references:cc:to:from:message-id:date:user-agent :mime-version:in-reply-to:content-type; bh=+CtQnP2bgxNswaxdQNXZhFImkzlb2Y5H286kv0MaFk0=; b=CwsBCqoFSw3awWIwrJQO7YgySdbkpyCMN6ywxEXT8lPgStcvEcHHTz5RBeuewjCCAn 7y0WqMkVNGo+4wDjNE7aufWwRwZfSVp+lBCI00quQsRbv6gbinKtVy87NvwIUB7EJZQT SWlai6Ik2XmTCJWq7eiAFqIzv41yp1M+SvMxaGck9NJch4ssgDh+BysU6q5CtsQq0drn r1z/z5T/isi2LkCQ7F6UdKGvFm3EXvlFtpNZ56RDW9+/HtH+6SO1mI/i4lIv1KBu6tnU bUpQxoO38XYEMn5gmarGIRx0VzGqqdosUuoiV8ZfIkrccJ7AlR05Zid7gT/3emB8x3u6 Uuyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:references:cc:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=+CtQnP2bgxNswaxdQNXZhFImkzlb2Y5H286kv0MaFk0=; b=Gh3AK+OAe6rBbw7+EMQTPq6jy6NIiDchc+oB1juzk5DfwEsawRZtxgh69foa6uk/Eg 0gmOOUenWSpCmglCrz6zUsSFJUgEU8izqISYBrXfJf+CD5y33QfC2S/Mbs40sLkuxAxy I7FSKkKScztb/bKagVqZGq7BgSBbqgoQr5RVg5brdb/7EKkRGoX3CH0qbFvHTFHLSc5T FrJjwgSUDk98WC2V8FwIQYlbDR3CZNIsMWHlkNlEojIxluycy+ocfqCDIMQuPSjcDbdy UxVQ/Ue5jCGedGCJY/+n0ReEH6qaU/piMqWUOt8DV5NtJlXJpUKHVwVXcmo+ua8ihb9w r8ng== X-Gm-Message-State: ALoCoQmwDwUrFvIcwFFZ9P0D4CZqdgtw0FITzRarcC2wdzj7BpjCAQ4EnPOlu7+ETzVxXLoi7Y+ybANMl+4NPAzojO+bWILMiA== X-Received: by 10.66.255.70 with SMTP id ao6mr39064885pad.64.1453150781418; Mon, 18 Jan 2016 12:59:41 -0800 (PST) Received: from [192.168.1.11] (cpe-108-185-131-196.socal.res.rr.com. [108.185.131.196]) by smtp.googlemail.com with ESMTPSA id 63sm36000131pfo.67.2016.01.18.12.59.40 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Jan 2016 12:59:40 -0800 (PST) Subject: Re: system mingw not recognized References: <569D508F.5030502@lucee.org> Cc: "Igal @ Lucee.org" To: "pgsql-hackers@postgresql.org" From: "Igal @ Lucee.org" Message-ID: <569D522F.2060908@lucee.org> Date: Mon, 18 Jan 2016 12:59:27 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <569D508F.5030502@lucee.org> Content-Type: multipart/alternative; boundary="------------000701090902050509010707" X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org This is a multi-part message in MIME format. --------------000701090902050509010707 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit It looks like the docs are indeed wrong. According to http://sourceforge.net/p/mingw-w64/wiki2/TypeTriplets/ it should be x86_64-w64-mingw32 So in summary, the docs at http://www.postgresql.org/docs/current/static/installation-platform-notes.html#INSTALLATION-NOTES-MINGW should be updated from: --host=x86_64-w64-mingw to: --host=x86_64-w64-mingw32 Not sure where to report that? On 1/18/2016 12:52 PM, Igal @ Lucee.org wrote: > Per the docs at > http://www.postgresql.org/docs/current/static/installation-platform-notes.html#INSTALLATION-NOTES-MINGW > > "To build 64 bit binaries using MinGW ... and run configure with the > --host=x86_64-w64-mingw option" > > But when I try to run: $ ~/sources/postgresql-9.5.0/configure > --host=x86_64-w64-mingw > > I get an error system mingw not recognized: > > checking build system type... x86_64-pc-mingw64 > checking host system type... Invalid configuration `x86_64-w64-mingw': > *system `mingw' not recognized* > configure: error: /bin/sh > /home/Admin/sources/postgresql-9.5.0/config/config.sub > x86_64-w64-mingw failed > > The sources were downloaded from > http://www.postgresql.org/ftp/source/v9.5.0/ > > Are the docs up to date? > > Thanks > > -- > > Igal Sapir > Lucee Core Developer > Lucee.org > --------------000701090902050509010707 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit It looks like the docs are indeed wrong. 

According to http://sourceforge.net/p/mingw-w64/wiki2/TypeTriplets/ it should be x86_64-w64-mingw32

So in summary, the docs at
http://www.postgresql.org/docs/current/static/installation-platform-notes.html#INSTALLATION-NOTES-MINGW
should be updated from:

    --host=x86_64-w64-mingw

to:

    --host=x86_64-w64-mingw32

Not sure where to report that?


On 1/18/2016 12:52 PM, Igal @ Lucee.org wrote:
Per the docs at
http://www.postgresql.org/docs/current/static/installation-platform-notes.html#INSTALLATION-NOTES-MINGW

"To build 64 bit binaries using MinGW ... and run configure with the --host=x86_64-w64-mingw option"

But when I try to run:  $ ~/sources/postgresql-9.5.0/configure --host=x86_64-w64-mingw

I get an error system mingw not recognized:

checking build system type... x86_64-pc-mingw64
checking host system type... Invalid configuration `x86_64-w64-mingw': system `mingw' not recognized
configure: error: /bin/sh /home/Admin/sources/postgresql-9.5.0/config/config.sub x86_64-w64-mingw failed

The sources were downloaded from http://www.postgresql.org/ftp/source/v9.5.0/

Are the docs up to date?

Thanks

--

Igal Sapir
Lucee Core Developer
Lucee.org


--------------000701090902050509010707--