From: | antreimer(at)gmail(dot)com |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #8151: client libraries not working on mingw-w64 gcc 4.8 |
Date: | 2013-05-11 18:16:28 |
Message-ID: | E1UbELM-0007NK-5L@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 8151
Logged by: Philip A Reimer
Email address: antreimer(at)gmail(dot)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%20Builds/rubenvb/gcc-4.7-release/i686-w64-mingw32-gcc-4.7.4-release-linux64_rubenvb.tar.xz
and to compile with gcc 4.8 I used both
http://hivelocity.dl.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-release/i686-w64-mingw32-gcc-4.8.0-linux64_rubenvb.tar.xz
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
From | Date | Subject | |
---|---|---|---|
Next Message | hcurti | 2013-05-12 01:02:27 | BUG #8152: strange behavior regarding after triggers and inheritance |
Previous Message | Erik Rijkers | 2013-05-11 15:26:19 | Re: BUG #8150: NULL emements lost when casting result of unnest() |