XMLTooling 1.4rc1 doesn't compile against xml-security-c 1.4
Basics
Technical
Logistics
Basics
Technical
Logistics
Description
Compiling 1.4rc1 against xml-security-c 1.4 currently fails with
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/opt/shibboleth-sp-2.3.1/include -pthread -Wall -O2 -DNDEBUG -pthread -Wall -g -O2 -O2 -DNDEBUG -MT ReloadableXMLFile.lo -MD -MP -MF ".deps/ReloadableXMLFile.Tpo" -c -o ReloadableXMLFile.lo `test -f 'util/ReloadableXMLFile.cpp' || echo './'`util/ReloadableXMLFile.cpp; \
then mv -f ".deps/ReloadableXMLFile.Tpo" ".deps/ReloadableXMLFile.Plo"; else rm -f ".deps/ReloadableXMLFile.Tpo"; exit 1; fi util/ReloadableXMLFile.cpp: In member function 'void xmltooling::ReloadableXMLFile::validateSignature(xmlsignature::Signature&) const': util/ReloadableXMLFile.cpp:564: error: 'TRANSFORM_C14N11' was not declared in this scope
AFAICT, support for TRANSFORM_C14N11 was introduced in xml-security-c 1.5 only, but as the roadmap page (https://spaces.internet2.edu/display/SHIB2/SPRoadmap) currently states that 1.4+ are still supported, it's worth a small fix, I think. I could get 1.4rc1 working with the attached patch, and also successfully tested a current configuration (of a 2.3 SP) with the 2.4rc1 SP release afterwards.
Environment
None
Activity
Show:
Scott Cantor December 17, 2010 at 2:39 PM
Closing after release.
Former user November 13, 2010 at 3:14 AM
Edited
I agree, it's really out of date, but it's what Debian stable currently provides... :-/ (and therefore also what the SWITCH deployment guide currently instructs to use for the 2.3 SP)
Compiling 1.4rc1 against xml-security-c 1.4 currently fails with
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/opt/shibboleth-sp-2.3.1/include -pthread -Wall -O2 -DNDEBUG -pthread -Wall -g -O2 -O2 -DNDEBUG -MT ReloadableXMLFile.lo -MD -MP -MF ".deps/ReloadableXMLFile.Tpo" -c -o ReloadableXMLFile.lo `test -f 'util/ReloadableXMLFile.cpp' || echo './'`util/ReloadableXMLFile.cpp; \ then mv -f ".deps/ReloadableXMLFile.Tpo" ".deps/ReloadableXMLFile.Plo"; else rm -f ".deps/ReloadableXMLFile.Tpo"; exit 1; fi
util/ReloadableXMLFile.cpp: In member function 'void xmltooling::ReloadableXMLFile::validateSignature(xmlsignature::Signature&) const':
util/ReloadableXMLFile.cpp:564: error: 'TRANSFORM_C14N11' was not declared in this scope
AFAICT, support for TRANSFORM_C14N11 was introduced in xml-security-c 1.5 only, but as the roadmap page (https://spaces.internet2.edu/display/SHIB2/SPRoadmap) currently states that 1.4+ are still supported, it's worth a small fix, I think. I could get 1.4rc1 working with the attached patch, and also successfully tested a current configuration (of a 2.3 SP) with the 2.4rc1 SP release afterwards.