[CLAM] building CLAM with xerces3.0.1
David García Garzón
david.garcia at upf.edu
Sun Jul 25 16:55:50 PDT 2010
Maybe some more data would be usefull to help you. Which distro? Are you
trying a locally installed xerces? It seems that you have a system wide xerces
installation that should be working out of the box but it is not 3.0.1 but
3.1.x. Anyway PATH is about binaries and we don't need any xerces binary for
building and LD_LIBRARY_PATH is about run time library location. If you are
using a local install what you have to redefine is PKG_CONFIG_PATH. See the man
page for pkg-config.
A Dilluns 26 Juliol 2010 00:51:35, Ryan Stables va escriure:
> Hello,
>
> I'm having trouble building CLAM with Xerces3.0.1.
>
> I've recently built Xerces and added the /bin/ directory to $PATH and the
> /lib/ directory to $LD_LIBRARY_PATH. When i run 'scons configure' in the
> CLAM directory, everything is fine. When i try and build using 'scons', I
> get the following error message:
>
>
> == Compiling shared scons/libs/core/src/XercesDomWriter.cxx
> In file included from /usr/include/xercesc/dom/DOMWriter.hpp:246,
> from scons/libs/core/src/XercesDomWriter.cxx:29:
> /usr/include/xercesc/dom/DOMWriterFilter.hpp:90: error: conflicting return
> type specified for ‘virtual short int
> xercesc_3_1::DOMWriterFilter::acceptNode(const xercesc_3_1::DOMNode*)
> const’ /usr/local/include/xercesc/dom/DOMNodeFilter.hpp:214: error:
> overriding ‘virtual xercesc_3_1::DOMNodeFilter::FilterAction
> xercesc_3_1::DOMNodeFilter::acceptNode(const xercesc_3_1::DOMNode*)
const’
> scons/libs/core/src/XercesDomWriter.cxx: In member function ‘void
> CLAM::XercesDomWriter::write(std::ostream&, xercesc_3_1::DOMNode*)’:
> scons/libs/core/src/XercesDomWriter.cxx:44: error: ‘class
> xercesc_3_1::DOMImplementationLS’ has no member named
‘createDOMWriter’
> scons: *** [scons/libs/core/src/XercesDomWriter.os] Error 1
> scons: building terminated because of errors.
>
>
> Can anyone suggest where I'm going wrong?
>
> Many thanks,
> Ryan
>
> ________________________________
> Get a new e-mail account with Hotmail – Free. Sign-up
> now.<http://clk.atdmt.com/UKM/go/197222280/direct/01/>
--
David García Garzón
(Work) david dot garcia at upf anotherdot edu
http://www.iua.upf.edu/~dgarcia
More information about the clam-users
mailing list