ID: 26655 Updated by: [EMAIL PROTECTED] Reported By: mmokrejs at natur dot cuni dot cz -Status: Assigned +Status: Bogus Bug Type: Compile Failure Operating System: solaris 2.6 PHP Version: 4CVS-2003-12-17 (stable) Assigned To: sniper New Comment:
Doing this before running configure 'fixed' the problem: # unset CFLAGS CPPFLAGS CXXFLAGS LIBS (having LIBS set was the problem, only set library paths in LD_LIBRARY_PATH!) Conclusion: NEVER EVER try outsmart the configure unless you REALLY know what you're doing. :) Previous Comments: ------------------------------------------------------------------------ [2004-01-13 05:32:00] [EMAIL PROTECTED] To get this problem solved for real, you need to provide me access to this machine in question. (I suspect this is not any bug in PHP btw) You may email me directly: [EMAIL PROTECTED] ------------------------------------------------------------------------ [2004-01-12 07:15:21] mmokrejs at natur dot cuni dot cz Yes, using rm config.cache ; CC=gcc ./configure --disable-all --disable-cgi --with-bz2 --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs breaks the installation again. I compiled apache 2.0.48 as: CXX=gcc CFLAGS="-O3 -mcpu=v8 -Wa,-xarch=v8plusa -felide-constructors -fno-exceptions -fno-rtti" CXXFLAGS="-O3 -mcpu=v8 -Wa,-xarch=v8plusa -felide-constructors -fno-exceptions -fno-rtti" CC=gcc ./configure --with-ssl=/usr/local/openssl-0.9.6l --enable-rewrite --enable-speling --enable-vhost-alias --enable-cgid --enable-cgi --enable-suexec --enable-info --enable-http --enable-ssl --enable-usertrack --enable-headers --enable-expires --enable-mime-magic --enable-logio --enable-deflate --enable-ext-filter --enable-cache --enable-disk-cache --enable-charset-lite --enable-auth-dbm --enable-so --enable-nonportable-atomics --with-modules="mod_access mod_actions mod_alias mod_asis mod_auth_anon mod_auth_dbm mod_cache mod_cern_meta mod_cgi mod_cgid mod_charset_lite mod_deflate mod_dir mod_disk_cache mod_env mod_expires mod_ext_filter mod_headers mod_imap mod_include mod_info mod_log_config mod_mime mod_mem_cache mod_mime_magic mod_negotiation mod_rewrite mod_setenvif mod_so mod_speling mod_ssl mod_status mod_userdir mod_usertrack mod_vhost_alias" # /usr/local/apache2/bin/httpd -l Compiled in modules: core.c mod_access.c mod_auth.c mod_auth_dbm.c mod_charset_lite.c mod_cache.c mod_disk_cache.c mod_ext_filter.c mod_include.c mod_deflate.c mod_log_config.c mod_logio.c mod_env.c mod_mime_magic.c mod_expires.c mod_headers.c mod_usertrack.c mod_setenvif.c mod_ssl.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_info.c mod_suexec.c mod_cgi.c mod_cgid.c mod_vhost_alias.c mod_negotiation.c mod_dir.c mod_imap.c mod_actions.c mod_speling.c mod_userdir.c mod_alias.c mod_rewrite.c mod_so.c # ------------------------------------------------------------------------ [2004-01-12 06:40:21] [EMAIL PROTECTED] Now, if you add the --with-apxs2 in it, it won't work? How is apache2 configured? (what MPM is used) ------------------------------------------------------------------------ [2004-01-11 19:52:26] mmokrejs at natur dot cuni dot cz Yes, that works too, strange. ------------------------------------------------------------------------ [2004-01-11 19:16:15] [EMAIL PROTECTED] Does this work: # rm config.cache ; CC=gcc ./configure --disable-all --disable-cgi --with-bz2 --with-mysql=/usr/local/mysql (sapi/cli/php is compiled only) ------------------------------------------------------------------------ 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/26655 -- Edit this bug report at http://bugs.php.net/?id=26655&edit=1