After emerging phpldapadmin I get following error: Fatal error: Call to undefined function preg_replace() in /var/www/localhost/htdocs/phpldapadmin/lib/functions.php on line 1598 I recall the same error with phpmysqladmin, there was also a similar problem with mysql and session USE flag. box770 phpldapadmin # emerge --info Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.1.0-beta20060203, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay/amd" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa apache2 avi berkdb bitmap-fonts bonjour browserplugin bzip2 cairo cdr cli crypt cups dbus dri dvd dvi eds emboss encode exif flac foomaticdb galago gd gdbm gif glut gnome gnutls gstreamer gtk gtk2 hal howl imlib ipv6 jpeg lcms ldap libg++ libwww logrotate mad mikmod mmap mmx mmxext mono mozilla mp3 mpeg mysql mysqli nautilus ncurses network nls nptl nsplugin ogg oggvorbis opengl pam pcmcia pdflib pear png quicktime radiotap readline real samba sdl session source spell sse sse2 ssl startup-notification svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vorbis win32codecs xml xml2 xmlrpc xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_fglrx" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
phpldapadmin is done. phpmyadmin will have to wait until dev-lang/php is keyworded for MIPS
done, also see bug #122963.