From: Baden H. <ba...@cs...> - 2004-09-22 07:29:28
|
Hi Steve What configure options are you using ? And which Debian distro ? Using CVS HEAD on RedHat 9 with GCC 3.3.4 with XercesC 2.5.0 and configure --enable-xml is fine, although note ... if the Xerces header and libraries are not somewhere that GCC knows about, then you'll need to specify --with-xercesc=DIR, or ... if the Xerces headers and libraries are in different locations, you'll need to specify --with-xercesc-include=DIR --with-xercesc-lib=DIR Regards Baden On Wed, 22 Sep 2004, Steve Cassidy wrote: > I'm trying to build the CVS HEAD on my Debian linux box but I can't > get the --enable-xml option to work due to incompatabilities with > my xerces install. > > For a start the configure tricks to find the name of the library > fail miserably, a plain -lxerces-c works but configure was appending > the version number to that. An edit in configure.in fixed this for > me, but I don't know what the general fix is, perhaps an option to > name the xerces library flag directly. > > Trying to build with this configuration I get a failure relating > to some class or other not being there. > > In file included from agf/agfXercesUtils.cc:9: > agf/agfXercesUtils.h:28: error: parse error before `,' token > agf/agfXercesUtils.h:34: error: parse error before `public' > agf/agfXercesUtils.h:40: error: destructors must be member functions > etc... > > I have > > /usr/lib/libxerces-c.so -> libxerces-c.so.25 > > the version is 2.5.0, which is the same one listed in the INSTALL file and > > gcc (GCC) 3.3.4 (Debian 1:3.3.4-12) > Copyright (C) 2003 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is > NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > Any clues? > > Steve > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > agtk-devel mailing list > agt...@li... > https://lists.sourceforge.net/lists/listinfo/agtk-devel > |