~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to ext/imap/IMAP_Win32_HOWTO.txt

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
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,
 
12
  use '/MDd' instead.
 
13
  Search for 'ERASE'.  Comment out the line that contains the ERASE command.
 
14
- Run 'nmake nt'
 
15
 
 
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:
 
21
  #include "auth_md5.c"
 
22
- Run 'nmake -f makefile.nt'
 
23
---End Win2K only---
 
24
 
 
25
At this point (even if the last build apparently failed), you should have the
 
26
client library ready (cclient.lib).
 
27
 
 
28
Start Visual Studio, load php_modules.dsw, select the IMAP projects, and build
 
29
it.
 
30
 
 
31
 
 
32
  
 
 
b'\\ No newline at end of file'