system mingw not recognized

Started by Igal @ Lucee.orgalmost 10 years ago5 messages
#1Igal @ Lucee.org
igal@lucee.org

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 <http://lucee.org/&gt;

#2Igal @ Lucee.org
igal@lucee.org
In reply to: Igal @ Lucee.org (#1)
Re: system mingw not recognized

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?

Show quoted text

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 <http://lucee.org/&gt;

#3Igal @ Lucee.org
igal@lucee.org
In reply to: Igal @ Lucee.org (#2)

It looks like the docs are indeed wrong in section 15.7.4:

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?

Show quoted text

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 <http://lucee.org/&gt;

#4Igal @ Lucee.org
igal@lucee.org
In reply to: Igal @ Lucee.org (#2)
Re: system mingw not recognized

I posted the error in the docs to pgsql-docs@postgresql.org

If it's possible to update it myself via git, or if it should be
reported elsewhere -- please advise.

Show quoted text

On 1/18/2016 12:59 PM, Igal @ Lucee.org wrote:

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 <http://lucee.org/&gt;

#5Andrew Dunstan
andrew@dunslane.net
In reply to: Igal @ Lucee.org (#4)
Re: system mingw not recognized

On 01/18/2016 04:11 PM, Igal @ Lucee.org wrote:

I posted the error in the docs to pgsql-docs@postgresql.org

If it's possible to update it myself via git, or if it should be
reported elsewhere -- please advise.

1. Please don't top-post on the PostgreSQL lists. See
<http://idallen.com/topposting.html&gt;&gt;

2. You've done all you need to do. We'll take care of it. Thanks for the
report.

cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers