From: antreimer@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8151: client libraries not working on mingw-w64 gcc 4.8
Date: Sat, 11 May 2013 18:16:28 +0000
Message-ID: <E1UbELM-0007NK-5L@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 8151
Logged by: Philip A Reimer
Email address: antreimer@gmail.com
PostgreSQL version: 9.2.4
Operating system: mingw-w64
Description:
I'm getting this error when running psql compiled with gcc 4.8 but don't
when it is compiled with gcc 4.7. To compile with gcc 4.7 I used
http://hivelocity.dl.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Bu...
and to compile with gcc 4.8 I used both
http://hivelocity.dl.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Bu...
and https://aur.archlinux.org/packages/mingw-w64-gcc/. I compiled on both
windows 7 and ArchLinux with the same results.
psql --host=192.168.40.240
psql: could not connect to server: Operation would block (0x00002733/10035)
Is the server running on host "192.168.40.240" and accepting
TCP/IP connections on port 5432?
To compile on ArchLinux I used this script. Postgresql was extracted to
mingw-dir\src. The script was also placed in mingw-dir\src
pkgver=9.2.4
builddir=$(pwd)/postgresql-9.2.4-build
export PATH=$(pwd)/../bin:$PATH
export PATH=$(pwd)/../i686-w64-mingw32/bin:$PATH
cd postgresql-$pkgver
./configure --host=i686-w64-mingw32 --prefix=$builddir/ --without-zlib
for dir in src/interfaces src/bin/pg_config src/bin/psql; do
make -C $dir install
done
strip -x $builddir/lib/*.dll
strip -g $builddir/lib/*.dll
strip -g $builddir/lib/*.a
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: antreimer@gmail.com
Subject: Re: BUG #8151: client libraries not working on mingw-w64 gcc 4.8
In-Reply-To: <E1UbELM-0007NK-5L@wrigleys.postgresql.org>
References: <E1UbELM-0007NK-5L@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox