checking for gdImageGifCtx in -lgd... yes checking for gdCacheCreate in -lgd... no checking for gdFontCacheShutdown in -lgd... no checking for gdFreeFontCache in -lgd... no checking for gdNewDynamicCtxEx in -lgd... yes checking for gdImageCreate in -lgd... yes checking for GNU gettext support... no checking for GNU MP support... yes, shared checking for __gmp_randinit_lc_2exp_size in -lgmp... yes checking whether to enable hash support... yes checking whether byte ordering is bigendian... (cached) unknown checking size of short... (cached) 2 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking for hwapi support... no checking for iconv support... no checking for IMAP support... no checking for IMAP Kerberos support... no checking for IMAP SSL support... no checking for Informix support... no checking for InterBase support... no checking for LDAP support... yes, shared checking for LDAP Cyrus SASL support... /home/ubuntu/openwrt/x86-2.6-vmware/staging_dir_i386/usr checking for 3 arg ldap_set_rebind_proc... yes checking for ldap_parse_result... no checking for ldap_parse_reference... no checking for ldap_start_tls_s... no checking for sasl_version in -lldap... yes checking for ldap_bind_s... no configure: error: LDAP build check failed. Please check config.log for more information. make[2]: *** [/home/ubuntu/openwrt/x86-2.6-vmware/build_i386/php-5.1.6/.built] Error 1 make[2]: Leaving directory `/home/ubuntu/openwrt/packages/lang/php5' make[1]: *** [php5-compile] Error 2 make[1]: Leaving directory `/home/ubuntu/openwrt/x86-2.6-vmware/package' make: *** [package/php5-compile] Error 2