xerces 2.7?

Ferenc Wagner wferi at niif.hu
Thu Aug 20 15:40:25 UTC 2009


Leif Johansson <leifj at mnt.se> writes:

> Forgive a (possibly) stupid question but I'm backporting to ubuntu 8.04LTS and 
> while building shibboleth-sp2 using the latest tagged opensaml2, xmltooling 
> and libxmlsec in git I get the following compile error:
>
> /bin/bash ../libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -
> I. -I..   -g -Wall -O2 -O2 -DNDEBUG     -pthread -Wall-g -O2 -DNDEBUG -c -o 
> SPConfig.lo SPConfig.cpp
> SPConfig.cpp:58:48: error: xmltooling/util/CurlNetAccessor.hpp: No such file or 
> directory
> SPConfig.cpp: In member function ‘virtual bool shibsp::SPConfig::init(const 
> char*, const char*)’:
> SPConfig.cpp:143: error: expected type-specifier before ‘CurlNetAccessor’
> SPConfig.cpp:143: error: cannot convert ‘int*’ to 
> ‘xercesc_2_7::XMLNetAccessor*’ in assignment
> SPConfig.cpp:143: error: expected `;' before ‘CurlNetAccessor’
> make[4]: *** [SPConfig.lo] Error 1
>
> You should know that the only thing I have to change for these packages is
> to point directly to xerces26 instead of using libxerces-c2-dev in control. 
> The error message above sounds like I need to use xerces 2.7. Can this be
> true or am I seeing something else?

I think you need Xerces 2.7 at least, but later is preferable.  See
https://spaces.internet2.edu/display/OpenSAML/Xerces-C
-- 



More information about the Pkg-shibboleth-devel mailing list