ID: 34433
Updated by: [EMAIL PROTECTED]
Reported By: mikehume at aol dot com
-Status: Open
+Status: Bogus
-Bug Type: *Compile Issues
+Bug Type: Compile Failure
Operating System: Solaris
PHP Version: 5CVS-2005-09-08 (snap)
New Comment:
works fine when using the proper configure line.
(hint: ext/libxml CAN NOT be compiled as shared, it has to exist in
core PHP)
Previous Comments:
------------------------------------------------------------------------
[2005-09-08 20:52:18] mikehume at aol dot com
$ ./configure \
--disable-all \
--enable-libxml=shared \
--with-libxml-dir=/opt/local
$ egrep '(DL_)?LIBXML ' main/php_config.h | sort -u
#define HAVE_LIBXML 1
/* #undef COMPILE_DL_LIBXML */
COMPILE_DL_LIBXML should be defined.
------------------------------------------------------------------------
[2005-09-08 20:21:30] mikehume at aol dot com
Description:
------------
I'm trying to build today's php5.1 snapshot with dom and xml as shared
extensions, but configure isn't respecting my settings.
Reproduce code:
---------------
$ ./configure \
--disable-all \
--with-xml=shared \
--with-dom=shared \
--with-libxml-dir=/opt/local
Expected result:
----------------
$ egrep 'DL_(DOM|XML)) ' main/php_config.h
#define COMPILE_DL_DOM 1
#define COMPILE_DL_XML 1
Actual result:
--------------
$ egrep 'DL_(DOM|XML)) ' main/php_config.h
/* #undef COMPILE_DL_DOM */
/* #undef COMPILE_DL_XML */
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34433&edit=1