internals:windows:libs:cclient

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
internals:windows:libs:cclient [2008/05/31 16:30] pajoyeinternals:windows:libs:cclient [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 4: Line 4:
 For more information, please see the UW IMAP homepage: For more information, please see the UW IMAP homepage:
 WWW: http://www.washington.edu/imap/ WWW: http://www.washington.edu/imap/
- 
-===== Available prebuilt libraries ===== 
- 
-All prebuilt libraries are available in the php-libs [[http://pecl2.php.net/downloads/php-windows-builds/php-libs/|repositories]] 
- 
-====== 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/downloads/php-windows-builds/php-libs/|repositories]]+All prebuilt libraries are available in the php-libs [[http://windows.php.net/downloads/php-sdk/deps/|repositories]] 
 + 
 +For PHP suitable sources and up-to-date information see [[https://github.com/winlibs/imap]]
  
 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 Sources, fetch our patched (see below) [[http://pecl2.php.net/downloads/php-windows-builds/source/|version]] or the original [[http://www.ijg.org|sources]+  * imap-2007a Sources, fetch our [[https://github.com/winlibs/|version]] or the original [[http://www.washington.edu/imap/|sources]] (no patch required)
   * 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 the sources archives.
  
-<code makefile> 
-CFLAGS= $(cflags) $(cdebug) $(cvars) -I. /MT 
-</code>  
  
-then +==== Configuration =====
  
 +Modify the file in imap-2007b\sc\osdep\nt\makefile.w2k, on line 39:
  
-<code makefile> +    CCLIENTLIB = cclient_a.lib
- copy jconfig.vc jconfig.h +
-</code> +
  
-==== 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 
 + 
 +   CCLIENTLIB = $C\cclient_a.lib 
 + 
 +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
 </code> </code>
  
-=== Debug ====+will build the cclient.lib required to build php's imap extension.
  
-<code bash> 
-nmake /f makefile.vc 
-</code> 
  
  
internals/windows/libs/cclient.1212251442.txt.gz · Last modified: 2017/09/22 13:28 (external edit)