1
Rules for building IMAP
2
-----------------------
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.
8
- Open IMAP under php_build. Rename this directory to 'IMAP'.
9
- Change to the IMAP directory.
10
- Edit .\src\osdep\nt\makefile.nt:
11
Search for '/MT', and change it to '/MD'. If you're compiling in DEBUG mode,
13
Search for 'ERASE'. Comment out the line that contains the ERASE command.
16
---Begin Win2K only---
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:
22
- Run 'nmake -f makefile.nt'
25
At this point (even if the last build apparently failed), you should have the
26
client library ready (cclient.lib).
28
Start Visual Studio, load php_modules.dsw, select the IMAP projects, and build
b'\\ No newline at end of file'