pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PATCH: document build outputs
2+ messages / 2 participants
[nested] [flat]

* PATCH: document build outputs
@ 2014-06-16 04:27 Craig Ringer <craig@2ndquadrant.com>
  2014-06-16 05:06 ` Re: PATCH: document build outputs Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 1 reply; 2+ messages in thread

From: Craig Ringer @ 2014-06-16 04:27 UTC (permalink / raw)
  To: pgsql-odbc

Hi

I noticed that the winbuild\ docs don't cover where the build outputs
actually go, and the directory naming is ... inconsistent.

The attached adds info on what's what. I've also included another docs
change to explain a tiny bit more about SDK installation.

You can grab both with:

git remote add ringerc git@github.com:ringerc/psqlODBC.git
git fetch ringerc
git merge ringerc/document-build-outputs

or using "git apply" of the attached patches.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Attachments: download all (2 files, .tar.gz)

0001-Document-build-outputs.patch (text/x-patch, 1.9K) download From 5502849626f3e31dadb549cd84ef1b24e39e4e26 Mon Sep 17 00:00:00 2001 From: Craig Ringer <craig@2ndquadrant.com> Date: Mon, 16 Jun 2014 12:20:44 +0800 Subject: [PATCH 1/2] Document build outputs The build didn't explain what went where, or what to do about dependencies. Improve the docs to cover the topic. --- winbuild/readme.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/winbuild/readme.txt b/winbuild/readme.txt index 1de8f66..8faa118 100755 --- a/winbuild/readme.txt +++ b/winbuild/readme.txt @@ -57,4 +57,34 @@ Get-Help .\BuildAll(.ps1) [-Detailed | -Examples | -Full] + 5. Outputs + + The build can produce output in up to four directories for each of + the debug and release configurations: + + - AMD64Release the Unicode driver, 64-bit + - AMD64ANSIRelease the ANSI driver, 64-bit + - Release the ANSI driver, 32-bit + - MultibyteRelease the Unicode driver, 32-bit + + For debug builds (-Configuration Debug) the directories are named with + Debug instead of Release but otherwise the same. + + pgxalib.dll is only built for the multibyte/unicode version, as it is + the same for both unicode and ansi drivers. + + Dependencies like libpq, openssl, etc are not copied into the build + output directories. You must copy them to the target directory yourself. + Dependency Walker (depends.exe) from http://dependencywalker.com/ can help + you find what's needed, but in general you'll need to add: + + - libpq (from the PostgreSQL bin dir) + - libintl (from the PostgreSQL bin dir) + - ssleay32 (from the OpenSSL bin dir) + - libeay32 (from the OpenSSL bin dir) + + ... and the Visual Studio runtime redist for the version of Visual Studio + you compiled with. + + ***********************************************************************/ -- 1.9.0
0002-Discuss-issues-with-SDK-support-and-installation.patch (text/x-patch, 1.7K) download From d5be5dd5090aeee856ae20997d6f54db8a67e80b Mon Sep 17 00:00:00 2001 From: Craig Ringer <craig@2ndquadrant.com> Date: Mon, 16 Jun 2014 12:25:21 +0800 Subject: [PATCH 2/2] Discuss issues with SDK support and installation --- winbuild/readme.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/winbuild/readme.txt b/winbuild/readme.txt index 8faa118..eb6407b 100755 --- a/winbuild/readme.txt +++ b/winbuild/readme.txt @@ -17,8 +17,15 @@ You have to include x64 development tools (bin, lib, include) as well as x86 ones for the installation. + Note that the Visual Studio 2010 install conflicts with Windows SDK 7.1. + Visual Studio 2012 conflict with both Windows SDK 7.1 and Visual Studio 2010. + Finally, Windows SDK 7.1 will fail to install if a newer Visual Studio 2010 + runtime is already installed on the computer. - Please start a powershell console and + To avoid conflicts, install only one SDK. There is an order in which all + can be installed safely, but it's cumbersome and there's little benefit. + + Once you have an SDK installed, please start a powershell console and 2. Set the ExecutionPolicy of Powershell to RemoteSigned or Unrestricted. You can get the ExecutionPolicy by typing @@ -85,6 +92,12 @@ ... and the Visual Studio runtime redist for the version of Visual Studio you compiled with. + +Troubleshooting: + +Some documentation on dealing with Windows SDK installation issues can be found +on the related pg_build_win page: +https://github.com/2ndQuadrant/pg_build_win#troubleshooting ***********************************************************************/ -- 1.9.0
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: PATCH: document build outputs
  2014-06-16 04:27 PATCH: document build outputs Craig Ringer <craig@2ndquadrant.com>
@ 2014-06-16 05:06 ` Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Hiroshi Inoue @ 2014-06-16 05:06 UTC (permalink / raw)
  To: Craig Ringer <craig@2ndquadrant.com>; pgsql-odbc

(2014/06/16 10:12), Craig Ringer wrote:
> Hi
>
> I noticed that the winbuild\ docs don't cover where the build outputs
> actually go, and the directory naming is ... inconsistent.
>
> The attached adds info on what's what. I've also included another docs
> change to explain a tiny bit more about SDK installation.
>
> You can grab both with:
>
> git remote add ringerc git@github.com:ringerc/psqlODBC.git
> git fetch ringerc
> git merge ringerc/document-build-outputs

Done and pushd.

Thanks.
Hiroshi Inoue

> or using "git apply" of the attached patches.



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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-06-16 05:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-06-16 04:27 PATCH: document build outputs Craig Ringer <craig@2ndquadrant.com>
2014-06-16 05:06 ` Hiroshi Inoue <inoue@tpf.co.jp>

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