[CLAM] building CLAM with xerces3.0.1

Ryan Stables ryanstables at live.com
Sun Jul 25 15:51:35 PDT 2010


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 
 		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20100725/2c9679be/attachment-0002.htm>


More information about the clam-users mailing list