[CLAM] building CLAM with xerces3.0.1

Ryan Stables ryanstables at live.com
Mon Jul 26 01:32:07 PDT 2010


Hi David, 



Thanks for the fast reply, 

I'm running Ubuntu 9.04. I've attempted to install locally using xerces 3.1.1.


I've tried compiling xerces from source and by linking the /lib/ and /bin/ directories using the aforementioned env. variables. I'm confused as I've built CLAM on linux before and I've never had this problem. Is there another way to install xerces possibly? I've also tried changing the PKG_CONFIG_PATH and I've had no success. 




> From: david.garcia at upf.edu
> To: clam-users at lists.clam-project.org
> Subject: Re: [CLAM] building  CLAM with xerces3.0.1
> Date: Mon, 26 Jul 2010 01:55:50 +0200
> CC: ryanstables at live.com
> 
> 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
 		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20100726/23d9cdbf/attachment.html>


More information about the clam-users mailing list