Re: Bulding midgard packages for ubuntu

Johan Bernhardsson <[email protected]> Sun, 05 Mar 2006 12:19:30 +0100
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
--=-yKXQh4P+QbC3B7naH7yp
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Seem like the libxml2-dev package and expat package defines the same
stuff ..=20

So is this really needed in core ? .. what uses expat and what uses
libxml2 ?

/Johan Bernhardsson

On Sun, 2006-03-05 at 10:47 +0100, Johan Bernhardsson wrote:
> Noticed that i was using gcc-4.0 .. and remembered that there was some
> problems with that so i changed to gcc-3.4 and the problem is the same
> just a tad clearer.
>=20
>=20
> In file included from src/mgdschema.c:23:
> /usr/include/libxml2/libxml/parser.h:1196: error: redeclaration of enumer=
ator `XML_FEATURE_UNICODE'
> /usr/include/expat.h:971: error: previous definition of 'XML_FEATURE_UNIC=
ODE' was here
> make[1]: *** [src_libmidgard_la-mgdschema.lo] Error 1
> make[1]: Leaving directory ines `/home/jobe/Midgard_AllinOne-1.7.4/midgar=
d-core-1.7.4'
> make: *** [build-stamp] Error 2
>=20
>=20
> I have:
> libglib2.0-0    2.8.3-0ubuntu1
> libexpat1       1.95.8-3
> libxml2         2.6.21-0ubuntu1
>=20
> using gcc-3.4
>=20
> /Johan Bernhardsson
>=20
>=20
> On Sun, 2006-03-05 at 10:32 +0100, Johan Bernhardsson wrote:
> > I have some problems building packages for ubuntu breezy.
> >=20
> > Seems like it pukes on some includes. Anyone that has an idea on how to
> > solve it ?=20
> >=20
> > /Johan=20
> >=20
> > -c src/mgdschema.c  -fPIC -DPIC -o .libs/src_libmidgard_la-mgdschema.o
> > In file included from src/mgdschema.c:23:
> > /usr/include/libxml2/libxml/parser.h:1196: error: redeclaration of
> > enumerator 'XML_FEATURE_UNICODE'
> > /usr/include/expat.h:971: error: previous definition of
> > 'XML_FEATURE_UNICODE' was here
> > src/mgdschema.c: In function '_get_element_names':
> > src/mgdschema.c:251: warning: pointer targets in passing argument 2 of
> > 'xmlGetProp' differ in signedness
> > src/mgdschema.c:279: warning: pointer targets in passing argument 2 of
> > 'xmlGetProp' differ in signedness
> > src/mgdschema.c:280: warning: pointer targets in passing argument 2 of
> > 'midgard_schema_lookup_type_member' differ in signedness
> > src/mgdschema.c:280: warning: pointer targets in passing argument 3 of
> > 'midgard_schema_lookup_type_member' differ in signedness
> > src/mgdschema.c:302: warning: pointer targets in passing argument 1 of
> > 'g_ascii_strcasecmp' differ in signedness
> > make[1]: *** [src_libmidgard_la-mgdschema.lo] Error 1
> > make[1]: Leaving directory
> > `/home/jobe/new/Midgard_AllinOne-1.7.4/midgard-core-1.7.4'
> > make: *** [build-stamp] Error 2
> >=20
> >=20
--=20
Johan Bernhardsson

Linux/CMS/Network Consultant

Phone:  +46-13-73244
Mobile: +46-705-111751
Fax:    +46-13-73190
Email/Jabber/Sip:  [email protected]
Web:    www.anykey.se

--=-yKXQh4P+QbC3B7naH7yp
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBECslC5oUA6E58WOMRAgbPAJ9geNmGEwGyWaqCRiQLitpnwBOsngCfZPeQ
j5M4GMMFhnnQvJMA4wtFLoo=
=mLPc
-----END PGP SIGNATURE-----

--=-yKXQh4P+QbC3B7naH7yp--