ID: 33338 User updated by: wim at godden dot net Reported By: wim at godden dot net -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Redhat Linux PHP Version: 5CVS-2005-06-14 New Comment:
OK, here comes the weird part : we've added ALL of them, even added a few from our old 4.x config that we weren't going to use anymore, and it works. But when we remove --disable-all, it fails. So it must be in one of the modules detected automatically during configure ? So basically, our problem is solved, but I think it's best to figure out what's going on here, just in case someone else has this problem. Here's the extensions section of configure (with only openssl parameters, so just ./configure --with-openssl=/usr/local/ssl) : Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking whether libxml build works... (cached) yes checking for OpenSSL support... yes checking for Kerberos support... no checking for pkg-config... /usr/local/bin/pkg-config checking for OpenSSL version... >= 0.9.6 checking for CRYPTO_free in -lcrypto... yes checking for SSL_CTX_set_ssl_version in -lssl... makeyes checking for ZLIB support... no checking if the location of ZLIB install directory is defined... no checking whether to enable bc style precision math functions... no checking for BZip2 support... no checking whether to enable calendar conversion support... no checking for cpdflib support... no checking whether to enable ctype functions... yes checking for CURL support... no checking if we should use CURL for url streams... no checking whether to enable DBA... no checking for QDBM support... no 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 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... no checking whether to enable dbase support... no checking whether to enable dbx support... no checking whether to enable direct I/O support... no checking whether to enable DOM support... yes checking whether libxml build works... (cached) yes checking whether to enable EXIF (metadata from images) support... no checking for fam 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 for GD support... no checking for the location of libjpeg... no checking for the location of libpng... no checking for the location of libXpm... no checking for FreeType 1.x support... no checking for FreeType 2... no checking for T1lib support... no checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... no checking for GNU gettext support... no checking for GNU MP support... no checking for hwapi support... no checking for iconv support... yes checking for iconv... (cached) 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 Ingres II support... no checking for InterBase support... no checking for IRCG 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... no checking for MCVE support... no checking OpenSSL dir for MCVE... no checking for mhash support... no checking whether to include mime_magic support... no checking for MING support... no checking for mnoGoSearch support... no checking for msession support... no checking for mSQL support... no checking for MSSQL support via FreeTDS... no checking for MySQL support... no checking for specified location of the MySQL UNIX socket... no checking for MySQLi support... no checking whether to enable embedded MySQLi support... no checking for ncurses support... no checking for Oracle (OCI8) support using ORACLE_HOME installation... no checking for Oracle (OCI8) support using Oracle Instant Client... no checking for Adabas support... no checking for SAP DB support... no checking for Solid support... no checking for IBM DB2 support... no checking for Empress support... no checking for Empress local access support... no checking for Birdstep support... no checking for a custom ODBC support... no checking for iODBC support... no checking for Easysoft ODBC-ODBC Bridge support... no checking for unixODBC support... no checking for DBMaker support... no checking for Oracle-ORACLE support... no checking for Ovrimos SQL Server support... no checking whether to enable pcntl support... no checking for PCRE support... yes checking for Verisign Payflow Pro support... no checking for PostgreSQL support... no checking whether to enable POSIX-like functions... yes checking for seteuid... (cached) yes checking for setegid... (cached) yes checking for setsid... (cached) yes checking for getsid... (cached) yes checking for setpgid... (cached) yes checking for getpgid... (cached) yes checking for ctermid... (cached) yes checking for mkfifo... (cached) yes checking for getrlimit... (cached) yes checking for PSPELL support... no checking for libedit readline replacement... no checking for readline support... no checking for recode support... no checking whether to enable PHP sessions... yes checking for mm support... no checking whether pwrite works... (cached) no checking whether pread works... (cached) no checking whether to enable shmop support... no checking whether to enable simplexml support... yes checking whether libxml build works... (cached) yes checking for SNMP support... no checking OpenSSL dir for SNMP... no checking whether to enable UCD SNMP hack... no checking whether to enable soap support... no checking whether to enable sockets support... no checking for gethostbyname2... yes checking enable SPL suppport... yes checking whether to enable UTF-8 support in sqlite (default: ISO-8859-1)... no checking for sqlite support... yes checking size of char *... (cached) 4 checking for usleep... (cached) yes checking for nanosleep... (cached) yes checking for time.h... (cached) yes checking for getcwd... (cached) yes checking for getwd... (cached) yes checking for asinh... (cached) yes checking for acosh... (cached) yes checking for atanh... (cached) yes checking for log1p... (cached) yes checking for hypot... (cached) yes checking for crypt in -lcrypt... (cached) yes checking for standard DES crypt... (cached) yes checking for extended DES crypt... (cached) no checking for MD5 crypt... (cached) yes checking for Blowfish crypt... (cached) no checking whether flush should be called explicitly after a buffered io... (cached) no checking which regex library to use... php checking for working fnmatch... (cached) yes checking whether rounding works as expected... no checking for fork... (cached) yes checking if your OS can spawn processes with inherited handles... yes checking for glob... (cached) yes checking for strfmon... (cached) yes checking for nice... (cached) yes checking for res_nmkquery... no checking for __res_nmkquery... yes checking for res_nsend... no checking for __res_nsend... yes checking for dn_expand... yes checking for fpclass... (cached) no checking for isinf... (cached) yes checking for isnan... (cached) yes checking whether atof() accepts NAN... (cached) yes checking whether atof() accepts INF... (cached) yes checking whether HUGE_VAL == INF... (cached) yes checking whether HUGE_VAL + -HUGEVAL == NAN... (cached) yes checking for wchar.h... (cached) yes checking for mblen... (cached) yes checking for mbrlen... (cached) yes checking for mbsinit... (cached) yes checking for mbstate_t... (cached) yes checking for Sybase support... no checking for Sybase-CT support... no checking whether to enable System V IPC support... no checking whether to enable System V semaphore support... no checking whether to enable System V shared memory support... no checking for TIDY support... no checking whether to enable tokenizer support... yes checking whether to enable WDDX support... no checking whether to enable XML support... yes checking libexpat install dir... no checking whether libxml build works... (cached) yes checking for XMLRPC-EPI support... no checking libexpat dir for XMLRPC-EPI... no checking iconv dir for XMLRPC-EPI... no checking for XSL support... no checking whether to include YP support... no Previous Comments: ------------------------------------------------------------------------ [2005-06-19 21:38:06] [EMAIL PROTECTED] Then add the other options one by one (KEEP the --disable-all in there!) and see which causes the error. ------------------------------------------------------------------------ [2005-06-19 02:09:43] wim at godden dot net That works perfectly. ------------------------------------------------------------------------ [2005-06-19 01:50:17] [EMAIL PROTECTED] Does this work: # ./configure --disable-all \ --with-apxs=/usr/local/apache/bin/apxs \ --with-openssl=/usr/local/ssl ?? ------------------------------------------------------------------------ [2005-06-19 01:41:41] wim at godden dot net I removed the PHP source directory and did : ./configure \ --with-apxs=/usr/local/apache/bin/apxs \ --with-openssl=/usr/local/ssl Same error. ------------------------------------------------------------------------ [2005-06-19 00:36:34] [EMAIL PROTECTED] Now you say it didn't work?! You propably just didn't do "rm -f config.cache && make clean" between tests.. Now, try without --with-imap and --with-curl first. (both c-client and curl libraries/headers might contain SSL related stuff, you need to recompile those too using the new openssl!) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33338 -- Edit this bug report at http://bugs.php.net/?id=33338&edit=1