php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12519 Conflicts with --with-unixODBC and --with-dom
Submitted: 2001-08-01 14:34 UTC Modified: 2001-08-03 01:03 UTC
From: Tomas V dot V dot Cox <cox at idecnet dot com> Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Linux
Private report: No CVE-ID: None
 [2001-08-01 14:34 UTC] Tomas V dot V dot Cox <cox at idecnet dot com>
************** 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-03 01:03 UTC] sniper@php.net
Fixed in CVS. Thanks for reporting!

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC