diff options
author | Zeev Suraski <zeev@php.net> | 2000-04-01 22:31:20 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-04-01 22:31:20 +0000 |
commit | eefbe904b2906826668c76762eaa02dd552fcbbb (patch) | |
tree | 86a74ba3a7589581d1c6173f5f06efa4e9dd3442 | |
parent | 997e63993bbbdff8c882d4b93805fcc6bbdfb9b0 (diff) | |
download | php-git-eefbe904b2906826668c76762eaa02dd552fcbbb.tar.gz |
*** empty log message ***
-rw-r--r-- | ext/imap/IMAP_Win32_HOWTO.txt | 5 | ||||
-rw-r--r-- | ext/ldap/LDAP_Win32_HOWTO.txt | 33 |
2 files changed, 35 insertions, 3 deletions
diff --git a/ext/imap/IMAP_Win32_HOWTO.txt b/ext/imap/IMAP_Win32_HOWTO.txt index 50b2689de5..5d622ed518 100644 --- a/ext/imap/IMAP_Win32_HOWTO.txt +++ b/ext/imap/IMAP_Win32_HOWTO.txt @@ -5,8 +5,7 @@ Note 1: You *must* use NT's cmd.exe for this job; 4NT.exe will NOT work proper Note 2: During the entire build process, you can ignore warnings about inconsistent DLL linkage. -- Open IMAP into a brother directory to php4. Rename this directory - to 'IMAP'. +- 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'. @@ -21,7 +20,7 @@ Note 2: During the entire build process, you can ignore warnings about At this point, cclient.lib should be generated. -Start Visual Studio, load php_modules.dsw, select the LDAP projects, and build +Start Visual Studio, load php_modules.dsw, select the IMAP projects, and build it. diff --git a/ext/ldap/LDAP_Win32_HOWTO.txt b/ext/ldap/LDAP_Win32_HOWTO.txt new file mode 100644 index 0000000000..ae085de86b --- /dev/null +++ b/ext/ldap/LDAP_Win32_HOWTO.txt @@ -0,0 +1,33 @@ +Rules for building LDAP +----------------------- + +Note 1: During the entire build process, you can ignore warnings about + inconsistent DLL linkage. + + +- Open LDAP under php_build. Rename this directory to 'OpenLDAP'. +- Rename OpenLDAP\include\portable.h.nt to OpenLDAP\include\portable.h +- Rename OpenLDAP\include\ldapconfig.h.nt to OpenLDAP\include\ldapconfig.h +- Launch Visual Studio with OpenLDAP\libraries\libldap\libldap.dsw +- Enter Project->Settings. + Select the C/C++ tab, and select 'Code Generation' in the Category box. + For 'Win32 Debug', change the runtime library to 'Debug Multithreaded DLL' + For 'Win32 Release', change the runtime library to 'Multithreaded DLL' + Select the Preprocessor tab, select 'All Configurations'. + Add '..\..\..\..\php4\regex' to the 'Additional include directories' list. + Add 'HAVE_MKTEMP' to the 'Preprocessor definitions' list. +- Compile (you can compile both Debug and Release versions). + + +- Launch Visual Studio with OpenLDAP\libraries\liblber\liblber.dsw +- Enter Project->Settings. + Select the C/C++ tab, and select 'Code Generation' in the Category box. + For 'Win32 Debug', change the runtime library to 'Debug Multithreaded DLL' + For 'Win32 Release', change the runtime library to 'Multithreaded DLL' + Select the Preprocessor tab, select 'All Configurations'. + Add 'HAVE_MKTEMP' to the 'Preprocessor definitions' list. +- Compile (you can compile both Debug and Release versions). + + +Start Visual Studio, load php_modules.dsw, select the LDAP project, and build +it. |