Re: Bulding midgard packages for ubuntu

"Piotras" <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> Sun, 5 Mar 2006 16:07:25 +0100 (CET)
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
> Seem like the libxml2-dev package and expat package defines the same
> stuff ..

Yes.

> So is this really needed in core ?

Yes :/

.. what uses expat

repligard

>and what uses
> libxml2 ?

mgdschema

>> In file included from src/mgdschema.c:23:
>> /usr/include/libxml2/libxml/parser.h:1196: error: redeclaration of enumerator
>> `XML_FEATURE_UNICODE'

You can try this before parser.h is included in mgdschema.c file.

#ifdef XML_FEATURE_UNICODE
#undef XML_FEATURE_UNICODE
#endif

This is not nice , but midgard header files are far from being perfect :/

Piotras