File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
ext /
imap /
IMAP_Win32_HOWTO.txt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Feb 21 23:47:56 2012 UTC (12 years, 6 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
v5_3_10,
HEAD
php
Rules for building IMAP
-----------------------
Note 1: You *must* use NT's cmd.exe for this job; 4NT.exe will NOT work properly.
Note 2: During the entire build process, you can ignore warnings about
inconsistent DLL linkage.
- Open IMAP under php_build. Rename this directory to 'IMAP'.
- Change to the IMAP directory.
- Edit .\src\osdep\nt\makefile.nt:
Search for '/MT', and change it to '/MD'. If you're compiling in DEBUG mode,
use '/MDd' instead.
Search for 'ERASE'. Comment out the line that contains the ERASE command.
- Run 'nmake nt'
---Begin Win2K only---
- At some point, the build will fail. Rerun 'nmake nt'.
- After a while, the build will fail again, failing to find auths.c.
- Change directory to 'c-client'
- Create an a file named auths.c, that includes the following line:
#include "auth_md5.c"
- Run 'nmake -f makefile.nt'
---End Win2K only---
At this point (even if the last build apparently failed), you should have the
client library ready (cclient.lib).
Start Visual Studio, load php_modules.dsw, select the IMAP projects, and build
it.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>