[PHP-DEV] Bug #12519: Conflicts with --with-unixODBC and --with-dom

2001-08-01 Thread Tomas V . V . Cox

From: Tomas V.V.Cox [EMAIL PROTECTED]
Operating system: Linux
PHP version:  4.0.6
PHP Bug Type: Compile Failure
Bug description:  Conflicts with --with-unixODBC and --with-dom

** The output *
bin/sh /usr/src/redhat/SOURCES/php-4.0.6/libtool --silent --mode=compile
gcc  -I. -I/usr/src/redhat/SOURCES/php-4.0.6/main
-I/usr/src/redhat/SOURCES/php-4.0.6/main
-I/usr/src/redhat/SOURCES/php-4.0.6 -I/usr/include/apache
-I/usr/src/redhat/SOURCES/php-4.0.6/Zend -I/usr/include/mysql
-I/usr/local/unixODBC/include
-I/usr/src/redhat/SOURCES/php-4.0.6/ext/xml/expat/xmltok
-I/usr/src/redhat/SOURCES/php-4.0.6/ext/xml/expat/xmlparse
-I/usr/src/redhat/SOURCES/php-4.0.6/TSRM  -DLINUX=2 -DEAPI -DUSE_EXPAT
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c internal_functions.c
In file included from /usr/local/unixODBC/include/sql.h:17,
 from
/usr/src/redhat/SOURCES/php-4.0.6/ext/odbc/php_odbc.h:112,
 from internal_functions.c:38:
/usr/local/unixODBC/include/sqltypes.h:41: conflicting types for
`xmlChar'
/usr/include/libxml/tree.h:66: previous declaration of `xmlChar'
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/php-4.0.6/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/php-4.0.6/main'
make: *** [all-recursive] Error 1

* configure options **
./configure --prefix=/usr \
--with-apxs=/usr/sbin/apxs \
--with-config-file-path=/usr/local/lib \
--with-exec-dir=/usr/bin \
--with-regex=system \
--with-gettext \
--disable-debug \
--with-xml \
--with-dom \
--enable-ftp \
--with-pgsql=/usr/include/pgsql \
--with-gd \
--enable-gd-imgstrttf \
--with-jpeg-dir=/usr/include \
--with-ttf \
--enable-trans-sid \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--with-unixODBC=/usr/local/unixODBC \
--with-zlib \
--with-mysql=/usr
-- 
Edit bug report at: http://bugs.php.net/?id=12519edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9155: set_error_handler() to accepts object/method tuple

2001-02-07 Thread Tomas V . V . Cox

From: Tomas V.V.Cox [EMAIL PROTECTED]
Operating system: All
PHP version:  4.0.4pl1
PHP Bug Type: Feature/Change Request
Bug description:  set_error_handler() to accepts object/method tuple

It could be very flexible if set_error_handler() can send error parameters to an 
object method. Something like:

set_error_handler ("function");
and
ser_error_handler ("method", $object);

Thanks,

Tomas V.V.Cox


-- 
Edit Bug report at: http://bugs.php.net/?id=9155edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]