Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (24 sloc) 1.095 kb
491a315 @zsuraski @- Made the IMAP and LDAP modules compilable under Windows and thread-sa...
zsuraski authored
1 Rules for building IMAP
2 -----------------------
3
4 Note 1: You *must* use NT's cmd.exe for this job; 4NT.exe will NOT work properly.
5 Note 2: During the entire build process, you can ignore warnings about
6 inconsistent DLL linkage.
7
eefbe90 @zsuraski *** empty log message ***
zsuraski authored
8 - Open IMAP under php_build. Rename this directory to 'IMAP'.
491a315 @zsuraski @- Made the IMAP and LDAP modules compilable under Windows and thread-sa...
zsuraski authored
9 - Change to the IMAP directory.
10 - Edit .\src\osdep\nt\makefile.nt:
d0395d6 @zsuraski *** empty log message ***
zsuraski authored
11 Search for '/MT', and change it to '/MD'. If you're compiling in DEBUG mode,
12 use '/MDd' instead.
491a315 @zsuraski @- Made the IMAP and LDAP modules compilable under Windows and thread-sa...
zsuraski authored
13 Search for 'ERASE'. Comment out the line that contains the ERASE command.
14 - Run 'nmake nt'
d0395d6 @zsuraski *** empty log message ***
zsuraski authored
15
16 ---Begin Win2K only---
491a315 @zsuraski @- Made the IMAP and LDAP modules compilable under Windows and thread-sa...
zsuraski authored
17 - At some point, the build will fail. Rerun 'nmake nt'.
18 - After a while, the build will fail again, failing to find auths.c.
19 - Change directory to 'c-client'
20 - Create an a file named auths.c, that includes the following line:
21 #include "auth_md5.c"
22 - Run 'nmake -f makefile.nt'
d0395d6 @zsuraski *** empty log message ***
zsuraski authored
23 ---End Win2K only---
491a315 @zsuraski @- Made the IMAP and LDAP modules compilable under Windows and thread-sa...
zsuraski authored
24
d0395d6 @zsuraski *** empty log message ***
zsuraski authored
25 At this point (even if the last build apparently failed), you should have the
26 client library ready (cclient.lib).
491a315 @zsuraski @- Made the IMAP and LDAP modules compilable under Windows and thread-sa...
zsuraski authored
27
eefbe90 @zsuraski *** empty log message ***
zsuraski authored
28 Start Visual Studio, load php_modules.dsw, select the IMAP projects, and build
491a315 @zsuraski @- Made the IMAP and LDAP modules compilable under Windows and thread-sa...
zsuraski authored
29 it.
30
31
32
Something went wrong with that request. Please try again.