Annotation of embedaddon/php/ext/imap/IMAP_Win32_HOWTO.txt, revision 1.1
1.1 ! misho 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:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>