diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2013-03-14 05:42:27 +0000 |
---|---|---|
committer | <> | 2013-04-03 16:25:08 +0000 |
commit | c4dd7a1a684490673e25aaf4fabec5df138854c4 (patch) | |
tree | 4d57c44caae4480efff02b90b9be86f44bf25409 /ext/ldap/LDAP_Win32_HOWTO.txt | |
download | php2-master.tar.gz |
Imported from /home/lorry/working-area/delta_php2/php-5.4.13.tar.bz2.HEADphp-5.4.13master
Diffstat (limited to 'ext/ldap/LDAP_Win32_HOWTO.txt')
-rw-r--r-- | ext/ldap/LDAP_Win32_HOWTO.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ext/ldap/LDAP_Win32_HOWTO.txt b/ext/ldap/LDAP_Win32_HOWTO.txt new file mode 100644 index 0000000..bcee731 --- /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 '..\..\..\..\php5\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. |