Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132533 - dev-lang/php-5.1.2-r1 configure failure when use "msql" enabled.
Summary: dev-lang/php-5.1.2-r1 configure failure when use "msql" enabled.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://home.tentric.com/~anthony/php-...
Whiteboard:
Keywords:
: 142881 169749 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-07 02:22 UTC by anthony
Modified: 2007-03-07 13:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anthony 2006-05-07 02:22:06 UTC
Ok, so here is the issues with php-5.1.2-r1 and use flag "msql"

[ebuild   R   ] dev-lang/php-5.1.2-r1  USE="apache2 bcmath calendar cdb cli crypt curl curlwrappers discard-path 
fastbuild ftp gd iconv ipv6 memlimit mhash ming mysql ncurses nls pcre postgres qdbm readline reflection session 
sharedmem spell spl sqlite ssl tokenizer truetype vm-goto wddx xml xmlrpc xpm xsl zip zlib -apache -berkdb -bzip2 -cgi 
-cjk -ctype -db2 -dbase -debug -doc -exif -flatfile -force-cgi-redirect -gd-external -gdbm -gmp -hardenedphp -hash 
-hyperwave-api -imap -inifile -interbase -iodbc -java-external -kerberos -ldap -libedit -mcve -msql -mssql -mysqli 
-oci8 -odbc -pcntl -pdo -pdo-external -pic -posix -recode -sapdb -sasl -sharedext -simplexml -snmp -soap -sockets 
-sysvipc -threads -tidy -unicode -vm-switch -xmlreader -xmlwriter -yaz" 0 kB 

My use flags in /etc/portage/package.use:
dev-lang/php apache2 -berkdb bcmath calendar cli curl curlwrappers dba discard-path fastbuild ftp gd -gdbm iconv -imap 
-imap-ssl memlimit mhash -msql mysql nls pcre pear postgres qdbm session sharedmem ssl spl tokenizer truetype vm-goto 
wddx xml xmlrpc zip zlib -threads


Portage 2.1_pre10-r2 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.0_pre19
dev-lang/python:     2.3.5-r2, 2.4.3
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=k8 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind 
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=k8 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo ftp://planetmirror.com/pub/gentoo/  
http://gentoo.binarycompass.org  http://mirror.gentoo.ru/pub/mirror/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X acpi aim alsa apache2 apm avi berkdb bitmap-fonts bzlib caps cdb cli crypt cups curl dri eds emboss encode 
exim extensions fam flash foomaticdb fortran ftp gd gif gnome gnutls gpm gstreamer gtk gtk2 icq imagemagick imap imlib 
innodb ipv6 isdnlog ithreads jpeg kde lcms lzw lzw-tiff mbox ming mng mp3 mpeg msql mysql ncurses nls nptl nptlonly ogg 
oggvorbis opengl pam pcre pdflib perl png postgres pppd python qt quicktime quotas readline reflection sdl session 
spell spl sqlite ssl sziptcltk tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts usb vhosts xml 
xorg xpm xsl xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY

>>>>ERROR: The error occurs when enabling "msql" with in php's use flags under Gentoo.
The php package nor the msql package are the problem. I have compiled the php source manually
-eg- with out the use of Gentoo portage to ensure the source does compile right.
<<<<<


>>> Emerging (1 of 1) dev-lang/php-5.1.2-r1 to /
>>> checking ebuild checksums
>>> checking auxfile checksums
>>> checking miscfile checksums
>>> checking distfiles checksums
 * Determining SAPI(s) to build
 *   Enabled  SAPI: cli
 *   Disabled SAPI: cgi
 *   Disabled SAPI: apache
 *   Enabled  SAPI: apache2
 * 
 * If this package fails with a fatal error about Apache2 not having
 * been compiled with a compatible MPM, this is normally because you
 * need to toggle the 'threads' USE flag.
 * 
 * If 'threads' is off, try switching it on.
 * If 'threads' is on, try switching it off.
 * 
 * 
 * 'fastbuild' attempts to build all SAPIs in a single pass.
 * This is an experimental feature, which may fail to compile
 * and may produce PHP binaries which are broken.
 * 
 * Rebuild without 'fastbuild' and reproduce any bugs before filing
 * any bugs in Gentoo's Bugzilla or bugs.php.net.
 * 
 * USE flag msql enables support for software not present in Portage!
 * 
 * This ebuild will continue, but if you haven't already installed the
 * software required to satisfy the list above, this package will probably
 * fail to compile later on.
 * *DO NOT* file bugs about compile failures or issues you're having
 * when using one of those flags, as we aren't able to support them.
 * |=|=|=|=|=|=| You are on your own if you use them! |=|=|=|=|=|=|
 * 
>>> Unpacking source...
>>> Unpacking php-5.1.2.tar.bz2 to /var/tmp/portage/php-5.1.2-r1/work
>>> Unpacking php-patchset-5.1.2-r2.tar.bz2 to /var/tmp/portage/php-5.1.2-r1/work
 * Applying php5.1.2-multilib-search-path.patch ...                                                                    
[ ok ]
 * Applying various patches (bugfixes/updates) ...
 *   php5-imap-symlink.patch ...                                                                                       
[ ok ]
 *   php5-iodbc-config.patch ...                                                                                       
[ ok ]
 *   php5-prefork-peruser.patch ...                                                                                    
[ ok ]
 *   php5-soap_persistence_session.patch ...                                                                           
[ ok ]
 *   php5-with-iodbc.patch ...                                                                                         
[ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   php5.1.2-gd_symbol_conflict.patch ...                                                                             
[ ok ]
 *   php5.1.2-mysql-readmycnf.patch ...                                                                                
[ ok ]
 *   php5.1.2-mysqli-readmycnf.patch ...                                                                               
[ ok ]
 *   php5.1.2-pdo_mysql-readmycnf.patch ...                                                                            
[ ok ]
 *   php5.1.2-php_add_extension_dep.patch ...                                                                          
[ ok ]
 * Done with patching
 * Applying php5.1.2-fastbuild.patch ...                                                                               
[ ok ]
 * Running aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:141: warning: AC_PROG_LEX invoked multiple times
autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
acinclude.m4:2027: PHP_PROG_LEX is expanded from...
configure.in:141: the top level
 * Running libtoolize
 * Rebuilding configure script
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:141: warning: AC_PROG_LEX invoked multiple times
autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
acinclude.m4:2027: PHP_PROG_LEX is expanded from...
configure.in:141: the top level
configure.in:141: warning: AC_PROG_LEX invoked multiple times
autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
acinclude.m4:2027: PHP_PROG_LEX is expanded from...
configure.in:141: the top level
configure.in:141: warning: AC_PROG_LEX invoked multiple times
autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
acinclude.m4:2027: PHP_PROG_LEX is expanded from...
configure.in:141: the top level
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59: 
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59: 
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59: 
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
configure.in:141: warning: AC_PROG_LEX invoked multiple times
autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
acinclude.m4:2027: PHP_PROG_LEX is expanded from...
configure.in:141: the top level
 * Running elibtoolize in: php-5.1.2/ext/pdo_sqlite/sqlite
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 * Running elibtoolize in: php-5.1.2
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/php-5.1.2-r1/work/php-5.1.2 ...
 *   Enabling bcmath
 *   Disabling bz2
 *   Enabling calendar
 *   Disabling ctype
 *   Enabling curl
 *   Enabling curlwrappers
 *   Disabling dbase
 *   Enabling dom
 *   Disabling exif
 *   Disabling fbsql
 *   Disabling fdftk
 *   Disabling filepro
 *   Enabling ftp
 *   Enabling gettext
 *   Disabling gmp
 *   Disabling hash
 *   Disabling hwapi
 *   Enabling iconv
 *   Disabling informix
 *   Enabling ipv6
 *   Disabling kerberos
 *   Enabling libxml
 *   Disabling mbstring
 *   Enabling mcrypt
 *   Enabling memory-limit
 *   Enabling mhash
 *   Enabling ming
 *   Enabling msql
 *   Disabling mssql
 *   Enabling ncurses
 *   Enabling openssl
 *   Enabling openssl-dir
 *   Disabling pcntl
 *   Enabling pcre-regex
 *   Disabling pdo
 *   Enabling pgsql
 *   Disabling posix
 *   Enabling pspell
 *   Disabling recode
 *   Enabling reflection
 *   Disabling simplexml
 *   Enabling shmop
 *   Disabling snmp
 *   Disabling soap
 *   Disabling sockets
 *   Enabling spl
 *   Disabling sybase
 *   Disabling sybase-ct
 *   Disabling sysvmsg
 *   Disabling sysvsem
 *   Disabling sysvshm
 *   Disabling tidy
 *   Enabling tokenizer
 *   Enabling wddx
 *   Enabling xml
 *   Disabling xmlreader
 *   Disabling xmlwriter
 *   Enabling xmlrpc
 *   Enabling xsl
 *   Enabling zlib
 *   Disabling debug
 *   Enabling cdb
 *   Disabling db4
 *   Disabling flatfile
 *   Disabling gdbm
 *   Disabling inifile
 *   Enabling qdbm
 *   Enabling freetype-dir
 *   Enabling t1lib
 *   Disabling gd-jis-conv
 *   Enabling gd-native-ttf
 *   Enabling png-dir
 *   Enabling xpm-dir
 *   Enabling gd
 *   Enabling mysql
 *   Enabling mysql-sock
 *   Disabling mysqli
 *   Enabling readline
 *   Disabling libedit
 *   Enabling mm
 *   Disabling sqlite-utf8
configure: creating cache ./config.cache
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Updated main/php_version.h
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for bison... bison -y
checking for bison version... 2.1 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for an ANSI C-conforming const... yes
checking for flex version... invalid
configure: WARNING: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4  (found: 2.5.33).
checking whether to force non-PIC code in shared modules... no
checking for pthreads_cflags... -pthread
checking for pthreads_lib... 

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... yes
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking for mod_charset compatibility option... no
checking for Caudium support... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for Milter support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking for Roxen/Pike support... no
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for CGI build... no
checking for chosen SAPI module... apache2handler

Running system checks
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking whether byte ordering is bigendian... no
checking for socket... yes
checking for socketpair... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... no
checking for __yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for dlopen... no
checking for __dlopen... no
checking for dlopen in -ldl... yes
checking for sin in -lm... yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... no
checking for __res_search in -lresolv... yes
checking for inet_aton... yes
checking for dn_skipname... no
checking for __dn_skipname... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for inttypes.h... yes
checking for stdint.h... yes
checking for dirent.h... yes
checking for ApplicationServices/ApplicationServices.h... no
checking for sys/param.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for netinet/in.h... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for crypt.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for monetary.h... yes
checking for mach-o/dyld.h... no
checking for netdb.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/ioctl.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for assert.h... (cached) yes
checking for fopencookie... yes
checking for broken getcwd... no
checking for broken libc stdio... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for missing declarations of reentrant functions... done
checking for fclose declaration... ok
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking for intmax_t... yes
checking size of intmax_t... 8
checking for size_t... yes
checking size of size_t... 8
checking for ssize_t... yes
checking size of ssize_t... 8
checking for ptrdiff_t... yes
checking size of ptrdiff_t... 8
checking for long long... yes
checking size of long long... 8
checking for long long int... yes
checking size of long long int... 8
checking for long... yes
checking size of long... 8
checking for int... yes
checking size of int... 4
checking for struct stat.st_blksize... no
checking for struct stat.st_blocks... no
checking for struct stat.st_rdev... no
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for field sa_len in struct sockaddr... no
checking for IPv6 support... yes
checking for vprintf... yes
checking for _doprnt... no
checking for alphasort... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... yes
checking for crypt... no
checking for flock... yes
checking for ftok... yes
checking for funopen... no
checking for gai_strerror... yes
checking for gcvt... yes
checking for getlogin... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for grantpt... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for perror... yes
checking for poll... yes
checking for ptsname... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for regcomp... yes
checking for res_search... (cached) yes
checking for scandir... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setpgid... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strptime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unlockpt... yes
checking for unsetenv... yes
checking for usleep... yes
checking for nanosleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... no
checking for working alloca.h... yes
checking for alloca... yes
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking for in_addr_t... yes

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... /etc/php/-php5
checking where to scan for configuration files... /etc/php/-php5/ext-active
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to enable runpaths... yes
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking how big to make fd sets... using system default
checking whether to enable versioning... no

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... yes
checking for BZip2 support... no
checking whether to enable calendar conversion support... yes
checking whether to enable ctype functions... no
checking for CURL support... yes
checking if we should use CURL for url streams... yes
checking for CURL in default path... found in /usr/local
checking for cURL 7.10.5 or greater... libcurl 7.11.2
checking for SSL support in libcurl... yes
checking for SSL library used... openssl
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking for curl_easy_perform in -lcurl... yes
checking for curl_version_info in -lcurl... yes
checking for long... (cached) yes
checking size of long... (cached) 8
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 dpopen in -lqdbm... yes
checking for QDBM support... yes
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB4 support... no
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... builtin
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... yes
checking OpenSSL dir for FTP... /usr
checking for GD support... yes
checking for the location of libjpeg... no
checking for the location of libpng... /usr
checking for the location of libXpm... /usr/X11R6
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
If configure fails try --with-jpeg-dir=<DIR>
checking for png_write_image in -lpng... yes
checking for XpmFreeXpmImage in -lXpm... yes
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... yes
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... yes
checking if your cpp allows macro usage in include lines... yes
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... no
checking whether to enable multibyte regex support... yes
checking for external libmbfl... no
checking for mcrypt support... yes
checking for libmcrypt version... >= 2.5.6
./configure: line 71519: cd: MCRYPT_DIR: No such file or directory
checking for mcrypt_module_open in -lmcrypt... yes
./configure: line 71902: cd: MCRYPT_DIR: No such file or directory
checking for mhash support... yes
checking whether to include mime_magic support... no
checking for MING support... yes
checking for sin in -lm... (cached) yes
checking for Ming_useSWFVersion in -lming... yes
checking for SWFPrebuiltClip in -lming... no
checking for destroySWFBlock... missing
checking for msession support... no
checking for mSQL support... yes
checking mSQL version... 1.0
checking for MSSQL support via FreeTDS... 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.2-r1 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  php-5.1.2-r1.ebuild, line 105:   Called src_compile_fastbuild
  php-5.1.2-r1.ebuild, line 151:   Called php5_1-sapi_src_compile
  php5_1-sapi.eclass, line 570:   Called die

!!! configure failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


>>>>>Attached config.log here:

Visit http://home.tentric.com/~anthony/php-msql-issue.txt for the config.log and other details. I didn't want to flood this query here.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-07 02:40:32 UTC
> configure:75702: checking mSQL version
> configure:75723: gcc -c -I/usr/include -Os -march=k8 -fomit-frame-pointer -pipe  -I/usr/include/libxml2 -I/usr/local/include >-I/var/tmp/portage/php-5.1.2-r1/work/php-5.1.2/ext/date/lib -I/usr/X11R6/include > -I/usr/include/freetype2 -I/usr/local/Hughes/include  conftest.c >&5
> conftest.c:256:18: msql.h: No such file or directory

USE=msql is provided for use convenience only and is unsupported, as noted during emerge. You need to install the needed dependency yourself and ensure that it's installed in place where php expects it. We cannot provide support for commercial apps that are not in portage, sorry.
Comment 2 anthony 2006-05-07 14:01:42 UTC
Jakub,
This is not related to msql not working... It is related to the ebuild
for php. It is flawed. You need to add the exact directory to the msql
installation. If I have to edit the ebuild every freaking time, then
so be it. I am pointing out that your ebuild is flawed.

The php configure line needs to be: --with-msql=/usr/local/msql3. If
it is that, it will work. I manually added it to /usr/portage/eclass/php5_1-sapi.eclass
and it does work. Please fixor the broken ebuild and don't be so fast
to close a bug request all the time!
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-07 14:04:46 UTC
As said, it's your responsibility to ensure this. We don't and can't
test such stuff, also, there's no fixed location, so the above can work
for you but won't work for other people who have the thing installed
elsewhere. You can use EXTRA_ECONF="--with-msql=/usr/local/msql3"
instead of editing ebuilds/eclasses.

So, once again - we don't support the commercial extensions that are not
in portage, they are for user convenience only.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-05 09:48:55 UTC
*** Bug 142881 has been marked as a duplicate of this bug. ***
Comment 5 Salim Fadhley 2006-08-05 10:02:33 UTC
Hi, is there a revised guide to getting recent versions of MySQL and PHP to work together? I do not understand the additional step which seems to be required in order to get these two packages built.

I cannot pretend to understand the issue here (I was laboring under the misunderstanding that both PHP and MySQL were open-source programs), however I note that Jakob said "We cannot provide support for commercial apps that are not in portage, sorry.", however both PHP and MySQL are currently in portage. Is there something I am missing here?

I think most users will expect PHP and MySQL to work together. Users of any other Linux distribution will have no problems running both PHP and MySQL. This looks pretty bad for Gentoo users.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-08-05 10:27:31 UTC
(In reply to comment #5)
> Hi, is there a revised guide to getting recent versions of MySQL and PHP to
> work together? I do not understand the additional step which seems to be
> required in order to get these two packages built.

msql != mysql, please read the use flags descriptions...
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-03-07 13:23:06 UTC
*** Bug 169749 has been marked as a duplicate of this bug. ***