internals:windows:libs:libpg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
internals:windows:libs:libpg [2008/07/23 19:57] – pajoye | internals:windows:libs:libpg [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Building LibPq 8.3.x ===== | ===== Building LibPq 8.3.x ===== | ||
+ | For PHP suitable sources and up-to-date information see [[https:// | ||
==== Requirements ===== | ==== Requirements ===== | ||
* Common tools used to compile PHP | * Common tools used to compile PHP | ||
* Native Perl from ActiveState ([[http:// | * Native Perl from ActiveState ([[http:// | ||
- | * Postgresql sources ([[http://pecl2.php.net/ | + | * Postgresql sources ([[https://github.com/winlibs/]] Custom sources for VC6) |
==== Dependencies ==== | ==== Dependencies ==== | ||
- | * OpenSSL build ([[http://pecl2.php.net/ | + | * OpenSSL build ([[http://windows.php.net/ |
- | * ZLib build ([[http://pecl2.php.net/ | + | * ZLib build ([[http://windows.php.net/ |
==== Modification to the config scripts (all VCs) ===== | ==== Modification to the config scripts (all VCs) ===== | ||
+ | |||
+ | The ready to be used sources are available in our source repository [[https:// | ||
To make it works smoothly with our libraries, it is first needed to modify the script to look for: | To make it works smoothly with our libraries, it is first needed to modify the script to look for: | ||
Line 128: | Line 131: | ||
For VC8 and VC9, the build.bat script works out of the box (with the config.pl changes). The dll should be in the Release or Debug directory. | For VC8 and VC9, the build.bat script works out of the box (with the config.pl changes). The dll should be in the Release or Debug directory. | ||
- | For VC6, open the pgsql.dsw (it has dozen of dsp, but we need only two) in VC6. Build first libpgport then libpq. It may not find the .lib or headers for openssl or zlib, in that case simply fix the project settings: | + | For VC6, open the pgsql.dsw (it has dozen of dsp, but we need only two) in VC6. Build first libpgport then libpq. |
+ | |||
+ | * drop secur32.lib (odbc*, ole*, gdi* as well but they are harmless) | ||
+ | |||
+ | It may not find the .lib or headers for openssl or zlib, in that case simply fix the project settings: | ||
* Add ..\..\..\deps\include to the include path option | * Add ..\..\..\deps\include to the include path option |
internals/windows/libs/libpg.1216843073.txt.gz · Last modified: 2017/09/22 13:28 (external edit)