Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking for xml2-config path... /usr/bin/xml2-config checking whether libxml build works... yes checking for OpenSSL support... yes checking for Kerberos support... no checking for pkg-config... /usr/bin/pkg-config checking for PCRE support... yes checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no checking for gzgets in -lz... yes checking whether to enable bc style precision math functions... no checking for BZip2 support... no checking whether to enable calendar conversion support... no checking whether to enable ctype functions... no checking for CURL support... no checking if we should use CURL for url streams... no checking for long... (cached) yes checking size of long... (cached) 4 checking for int... (cached) yes checking size of int... (cached) 4 checking for int32_t... yes checking for uint32_t... yes checking for sys/types.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for strtoll... yes checking for atoll... yes checking for strftime... (cached) yes checking whether to enable DBA... yes checking for QDBM support... no checking for gdbm_open in -lgdbm... yes checking for GDBM support... yes checking for NDBM support... no checking for db4 minor version and patch level... ok checking for Berkeley DB4 support... yes checking for Berkeley DB3 support... no checking for Berkeley DB2 support... no checking for DB1 support... no checking for DBM support... no checking for CDB support... no checking for INI File support... no checking for FlatFile support... no checking whether to enable DBA interface... yes checking whether to enable dbase support... no checking whether to enable DOM support... yes checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking whether to enable EXIF (metadata from images) support... no checking for FrontBase SQL92 (fbsql) support... no checking for FDF support... no checking whether to enable the bundled filePro support... no checking whether to enable FTP support... no checking OpenSSL dir for FTP... /usr checking for GD support... yes checking for the location of libjpeg... /usr checking for the location of libpng... /usr checking for the location of libXpm... no checking for FreeType 1.x support... no checking for FreeType 2... /usr checking for T1lib support... /usr checking whether to enable truetype string function in GD... yes checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... yes checking for floorf... yes checking for jpeg_read_header in -ljpeg... yes checking for png_write_image in -lpng... yes If configure fails try --with-xpm-dir= checking for T1_StrError in -lt1... yes checking for GNU gettext support... yes checking for bindtextdomain in -lintl... no checking for bindtextdomain in -lc... yes checking for ngettext in -lc... yes checking for dngettext in -lc... yes checking for dcngettext in -lc... yes checking for bind_textdomain_codeset in -lc... yes checking for GNU MP support... no checking whether to enable hash support... no 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... no checking for LDAP Cyrus SASL support... no checking whether to enable multibyte string support... yes checking whether to enable multibyte regex support... yes checking for external libmbfl... no checking for variable length prototypes and stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking strings.h usability... yes checking strings.h presence... yes checking for strings.h... yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for int... (cached) yes checking size of int... (cached) 4 checking for short... yes checking size of short... 2 checking for long... (cached) yes checking size of long... (cached) 4 checking for an ANSI C-conforming const... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for working memcmp... yes checking for mcrypt support... yes checking for libmcrypt version... >= 2.5.6 checking for mcrypt_module_open in -lmcrypt... yes checking for mhash support... no checking whether to include mime_magic support... no checking for MING support... no checking for mSQL support... yes checking mSQL version... 1.0 checking for MSSQL support via FreeTDS... yes checking for dnet_addr in -ldnet_stub... no checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... /var/run/mysqld/mysqld.sock checking for MySQL UNIX socket location... /var/run/mysqld/mysqld.sock checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. !!! ERROR: dev-lang/php-5.1.6-r4 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile php-5.1.6-r4.ebuild, line 173: Called src_compile_normal php-5.1.6-r4.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.