checking for LDAP support... yes checking for LDAP Cyrus SASL support... yes checking for 3 arg ldap_set_rebind_proc... yes checking for ldap_parse_result... yes checking for ldap_parse_reference... yes checking for ldap_start_tls_s... yes checking for sasl_version in -lldap... no configure: error: LDAP SASL check failed. Please check config.log for more information. !!! ERROR: dev-lang/php-5.1.6-r6 failed. Call stack: ebuild.sh, line 1564: Called dyn_compile ebuild.sh, line 937: Called src_compile php-5.1.6-r6.ebuild, line 173: Called src_compile_normal php-5.1.6-r6.ebuild, line 323: Called php5_1-sapi_src_compile php5_1-sapi.eclass, line 575: Called die !!! configure failed !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1.2_pre3-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-2006.0 i686) ================================================================= System uname: 2.6.18-gentoo-2006.0 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.5 Last Sync: Sun, 15 Oct 2006 03:30:08 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.18 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/local/portage/distfiles" FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="C" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 7zip X Xaw3d a52 aac aalib accessibility acl acpi akode alsa amr ao apache2 arts artswrappersuid audiofile authfile bcmath bcp berkdb bitmap-fonts bjam bluetooth bzip2 cairo calendar caps cdb cdr cgi cjk clamav cli crypt css ctype cups curl curlwrappers cvs dbus dcraw dga directfb djbfft dlloader dmi dmx doc dri dts dv dvd dvdr dvdread ecc eds elf elibc_glibc emacs emboss encode esd examples exif expat extraengine extrafilters faad fam fame fbcon ffmpeg fftw filepro firebird firefox flac flatfile fontconfig fortran fpx ft ftp gcj gd gdbm ggi gif glep glibc-omitfp glitz gmp gnokii gnutls gphoto2 gpm graphviz gs gstreamer gtk guile hal hash hpn ical iconv idea idled idn ifsession imagemagick imap imlib immqt inifile input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 irda isdnlog ithreads jack jack-tmpfs java javascript jbig jce jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdrive kerberos kernel_linux kig-scripting latex lcms ldap leim libcaca libg++ linguas_de linguas_en lm_sensors lua lzo mad mbrola memlimit mhash mikmod mime ming mjpeg mmap mmx mng mono motif mp3 mp4 mpeg mpm-prefork mssql mudflap musepack musicbrainz mysql mysqli nas ncurses neXt netjack netpbm network nfs nis nls no-old-linux nptl nptlonly nsplugin objc objc++ objc-gc ocaml odbc ogg openct openexr opengl opensslcrypt oss overlays pam pam_chroot pam_console pam_timestamp pcntl pcre pcsc-lite pda pdf pdo pear perl php physfs pic pike png portaudio posix postgres povray ppds pppd pwdb pyste python qt3 qt4 quicktime rdesktop readline reflection rewrite rle rpm rrdcgi ruby samba sametime sasl scanner script sdl sensord session shaper sharedmem simplexml sitemisc skey slp smartcard smbkrb5passwd sms sndfile snmp soap sockets socks5 softquota speex spell spl sql sqlite sqlite3 sse ssl subversion svg svga swat symlink sysfs sysvipc tcl tcltk tcpd test tetex theora threads tidy tiff timidity tk tokenizer toolbar tools truetype truetype-fonts type1-fonts ucs2 udev unicode unzip usb userland_GNU vcd video_cards_r128 video_cards_vesa vorbis vroot wddx wifi win32codecs wmf wxwindows x264 xcomposite xinerama xinetd xml xml2 xmldoclet xmlreader xmlrpc xmlwriter xmms xorg xpm xprint xscreensaver xsl xv xvid yaz yv12 zeroconf zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 99712 [details] config.log
Which cyrus-sasl version you have installed?
[ebuild R ] dev-libs/cyrus-sasl-2.1.22 USE="berkdb crypt java kerberos ldap mysql pam postgres ssl -authdaemond -gdbm -ntlm_unsupported_patch -sample -srp -urandom" 0 kB
have tried recompiling cyrus-sasl and openldap nothing changes
Created attachment 124104 [details, diff] patch to m4 macros fixing this problem Please refer to bug #144896, this patch is for php-5.2.2, but it's nearly the same as the patch attached there. It seems to work for me.
Please change description to indicate that this bug affects php-5.2.2-r1 too.
well, this also affect all ebuild version of php-5.2.3, I did not test the patches from http://bugs.gentoo.org/show_bug.cgi?id=144896
The patch for php-5.2.2-r1 seems to work for php-5.2.3-r3 too. Of course, it's an upstream bug, so till somebody bother upstream to fix their autoconf macros, it will resurface with every release.
*** Bug 187540 has been marked as a duplicate of this bug. ***
This was supposedly fixed in upstream CVS: http://cvs.php.net/viewvc.cgi/php-src/ext/ldap/config.m4?r1=1.44&r2=1.45&diff_format=u If the above upstream patch doesn't solve this, you should rant on the upstream bug: http://bugs.php.net/bug.php?id=41973
Should be fixed in 5.2.4. Please test and reopen if not.