473,383 Members | 1,788 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

/usr/local/include/expat.h:971: error: conflicting types for 'XML_FEATURE_UNICODE'

Jan
While building PHP 4.4.0 on a fresh installed FreeBSD 5.4 I get the
following error:

www# /bin/sh
/usr/home/c/console/toolscon/web/2/php-4.4.0/libtool --silent --preserve-dup-deps
--mode=compile
gcc -Imain/ -I/usr/home/c/console/toolscon/web/2/php-4.4.0/main/ -DPHP_ATOM_INC
-I/usr/home/c/console/toolscon/web/2/php-4.4.0/include -I/usr/home/c/console/toolscon/web/2/php-4.4.0/main
-I/usr/home/c/console/toolscon/web/2/php-4.4.0 -I/usr/local/include -I/usr/local/include/libxml2
-I/usr/local/include/freetype2 -I/usr/local/include/mysql -I/usr/home/c/console/toolscon/web/2/php-4.4.0/ext/xml/expat
-I/usr/home/c/console/toolscon/web/2/php-4.4.0/TSRM -I/usr/home/c/console/toolscon/web/2/php-4.4.0/Zend
-g -O2 -c main/internal_functions.c -o main/internal_functions.lo
In file included from
/usr/home/c/console/toolscon/web/2/php-4.4.0/ext/wddx/php_wddx.h:26,
from main/internal_functions.c:53:
/usr/local/include/expat.h:971: error: conflicting types for
'XML_FEATURE_UNICODE'
/usr/local/include/libxml2/libxml/parser.h:1196: error: previous definition
of 'XML_FEATURE_UNICODE' was here'\

How to solve this? Any ideas? what is causing the problem?

The configure line:

'./configure' '--with-apxs2=/usr/local/apache/bin/apxs'
'--with-mysql=/usr/local' '--with-ttf' '--enable-memory-limit'
'--enable-track-vars' '--with-gd' '--with-jpeg-dir=/usr/local'
'--with-tiff-dir=/usr/local' '--with-png-dir=/usr/local' '--enable-bcmath'
'--enable-versioning' '--enable-trans-sid' '--with-zlib' '--with-xml'
'--enable-gd-imgstrttf' '--with-mcrypt' '--enable-calendar' '--with-mhash'
'--enable-ftp' '--with-curl=/usr/local/include/curl' '--with-xml'
'--with-dom=/usr/local' '--enable-wddx' '--with-sablot=/usr/local'
'--with-expat=/usr/local' '--enable-xslt' '--with-xslt-sablot'
'--with-dom-xslt=/usr/local' '--with-openssl=/usr/local' '--disable-cgi'
'--with-freetype-dir=/usr/local' '--enable-exif' '--with-gettext'
'--with-bz2'

Sep 7 '05 #1
0 1640

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Madore | last post by:
Hi! Anyone in for a Byzantine discussion on XML well-formedness? Here's the situation: test.xml contains --- test.xml: cut after --- <?xml version="1.0" encoding="us-ascii"?> <!DOCTYPE...
4
by: Jeff Lambert | last post by:
I saw something similar on the sourceforge bugs list but it was from 2001 so I assume it's fixed by now. O/S: WinXP SP2 and WinCE. Expat lib linked in VC++ 6 SP6. I have the following XML...
2
by: Gabriel Schreiber | last post by:
Hi this code: #include <vector> void f() { struct arg{}; std::vector<arg> v; };
60
by: Derrick Coetzee | last post by:
It seems like, in every C source file I've ever seen, there has been a very definite include order, as follows: - include system headers - include application headers - include the header...
1
by: Katja Suess | last post by:
Hi, may I have a hint what the problem is in my situation? Is it a syntax error in sweetone.odt or in xml.parsers.expat? Same problem with different file instead of sweetone.odt means that it's...
2
by: dwelch91 | last post by:
Hi, c.l.p.'ers- I am having a problem with the import of xml.parsers.expat that has gotten me completely stumped. I have two programs, one a PyQt program and one a command line (text) program...
3
by: Tim H | last post by:
I'm newish to C++ but not to C. I'm confused by this code. test1() is fine. test2() fails to compile. /tmp/inherit_ptr.cpp: In function âvoid test2()â: /tmp/inherit_ptr.cpp:52: error: no...
1
by: Zbigniew | last post by:
Hi, Compiler: GCC 3.3.5 OS: SuSE Linux (Kernel: 2.6.11) I reorganized my source code and now almost all my header files went to "Include" folder. Now when compiling with -I option I have...
1
by: vadlapatlahari | last post by:
Hi, I get the following error with Expat while configuring my application server. Can anyone suggest a solution? When i do an ldd, i get the following : $ldd Expat.so Expat.so needs:...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.