internals:windows:libs:cclient
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
internals:windows:libs:cclient [2008/05/31 16:30] – pajoye | internals:windows:libs:cclient [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
For more information, | For more information, | ||
WWW: http:// | WWW: http:// | ||
- | |||
- | ===== Available prebuilt libraries ===== | ||
- | |||
- | All prebuilt libraries are available in the php-libs [[http:// | ||
- | |||
- | ====== LipJpeg for Windows, How to compile ====== | ||
===== Available prebuilt libraries ===== | ===== Available prebuilt libraries ===== | ||
- | All prebuilt libraries are available in the php-libs [[http://pecl2.php.net/ | + | All prebuilt libraries are available in the php-libs [[http://windows.php.net/ |
+ | |||
+ | For PHP suitable sources and up-to-date information see [[https:// | ||
The filename format is: | The filename format is: | ||
- | libjpeg-x.y.z-vcversion.zip | + | cclient-x.y.z-vcversion-architecture.zip |
- | where x.y.z defines the version, vcversion which Visual C++ has been used. | + | where x.y.z defines the version, vcversion which Visual C++ has been used and architecture defines whether the build is for win32 or win64. |
- | Only static library (.lib) are available for now. | + | Only static library (cclient_a.lib) are available for now. |
- | ===== Building LibJpeg 6b ===== | ||
+ | ===== Building CCLient 2007b ===== | ||
==== Requirements ===== | ==== Requirements ===== | ||
- | * LibJpeg | + | * imap-2007a |
* Common tools used to compile PHP | * Common tools used to compile PHP | ||
Line 35: | Line 31: | ||
==== Preparing the sources ===== | ==== Preparing the sources ===== | ||
- | To compile libjpeg to be used with PHP (and more generally with any decent VC), the makefile has to be altered, add the /MT flag as follow (~ line 15): | + | Simply uncompress |
- | <code makefile> | ||
- | CFLAGS= $(cflags) $(cdebug) $(cvars) -I. /MT | ||
- | </ | ||
- | then | + | ==== Configuration ===== |
+ | Modify the file in imap-2007b\sc\osdep\nt\makefile.w2k, | ||
- | <code makefile> | + | CCLIENTLIB = cclient_a.lib |
- | copy jconfig.vc jconfig.h | + | |
- | </ | + | |
- | ==== Configuration ===== | + | src\ipopd\makefile.w2k on line 29: |
- | Two modes are available, debug or non debug (fully optimized). | + | CCLIENTLIB = $C\cclient_a.lib |
+ | |||
+ | src\mailutil\makefile.w2k on line 29 | ||
+ | |||
+ | CCLIENTLIB = $C\cclient_a.lib | ||
+ | |||
+ | src\mtest\makefile.w2k on line 29 | ||
+ | |||
+ | | ||
+ | |||
+ | No other special configuration required. Be sure to have the platform SDK in your path. | ||
Line 56: | Line 58: | ||
=== Release ==== | === Release ==== | ||
+ | |||
+ | The following command: | ||
<code bash> | <code bash> | ||
- | nmake /f makefile.vc nodebug=1 | + | cd imap-2007b\ |
+ | nmake /f makefile.w2k | ||
</ | </ | ||
- | === Debug ==== | + | will build the cclient.lib required to build php's imap extension. |
- | <code bash> | ||
- | nmake /f makefile.vc | ||
- | </ | ||
internals/windows/libs/cclient.1212251442.txt.gz · Last modified: 2017/09/22 13:28 (external edit)