Compiling SP code gives compilation errors.
MaheshZ
mahesh_sawaiker at persistent.co.in
Wed Feb 10 05:21:27 EST 2016
Ignore the error below, I was compiling non matching versions of opensaml and
shibbolethsp.
>>Following is the error I get when I am compiling the sp. The aps related
error seemed to have gone and this is something related to boost.
dataExtImpl.cpp' || echo './'`metadata/MetadataExtImpl.cpp
In file included from /opt/shibboleth-sp/include/saml/base.h:31:0,
from ./base.h:35,
from ./internal.h:47,
from metadata/MetadataExtImpl.cpp:27:
metadata/MetadataExtImpl.cpp: In member function 'virtual void
shibsp::KeyAuthorityImpl::setVerifyDepth(int)':
/opt/shibboleth-sp/include/xmltooling/base.h:829:33: error: 'boost' has not
been declared
std::string buf(boost::lexical_cast<std::string>(proper));
\
^
metadata/MetadataExtImpl.cpp:123:9: note: in expansion of macro
'IMPL_INTEGER_ATTRIB'
IMPL_INTEGER_ATTRIB(VerifyDepth);
^
/opt/shibboleth-sp/include/xmltooling/base.h:829:64: error: expected
primary-expression before '>' token
std::string buf(boost::lexical_cast<std::string>(proper));
\
^
metadata/MetadataExtImpl.cpp:123:9: note: in expansion of macro
'IMPL_INTEGER_ATTRIB'
IMPL_INTEGER_ATTRIB(VerifyDepth);
^
/opt/shibboleth-sp/include/xmltooling/base.h:833:20: error: expected
type-specifier before 'boost'
catch (boost::bad_lexical_cast&) { \
^
metadata/MetadataExtImpl.cpp:123:9: note: in expansion of macro
'IMPL_INTEGER_ATTRIB'
IMPL_INTEGER_ATTRIB(VerifyDepth);
^
/opt/shibboleth-sp/include/xmltooling/base.h:833:25: error: expected ')'
before '::' token
catch (boost::bad_lexical_cast&) { \
^
metadata/MetadataExtImpl.cpp:123:9: note: in expansion of macro
'IMPL_INTEGER_ATTRIB'
IMPL_INTEGER_ATTRIB(VerifyDepth);
^
/opt/shibboleth-sp/include/xmltooling/base.h:833:25: error: expected '{'
before '::' token
catch (boost::bad_lexical_cast&) { \
^
metadata/MetadataExtImpl.cpp:123:9: note: in expansion of macro
'IMPL_INTEGER_ATTRIB'
IMPL_INTEGER_ATTRIB(VerifyDepth);
^
/opt/shibboleth-sp/include/xmltooling/base.h:833:25: error:
'::bad_lexical_cast' has not been declared
catch (boost::bad_lexical_cast&) { \
^
metadata/MetadataExtImpl.cpp:123:9: note: in expansion of macro
'IMPL_INTEGER_ATTRIB'
IMPL_INTEGER_ATTRIB(VerifyDepth);
^
/opt/shibboleth-sp/include/xmltooling/base.h:833:44: error: expected
primary-expression before ')' token
catch (boost::bad_lexical_cast&) { \
^
metadata/MetadataExtImpl.cpp:123:9: note: in expansion of macro
'IMPL_INTEGER_ATTRIB'
IMPL_INTEGER_ATTRIB(VerifyDepth);
^
/opt/shibboleth-sp/include/xmltooling/base.h:833:44: error: expected ';'
before ')' token
catch (boost::bad_lexical_cast&) { \
^
metadata/MetadataExtImpl.cpp:123:9: note: in expansion of macro
'IMPL_INTEGER_ATTRIB'
IMPL_INTEGER_ATTRIB(VerifyDepth);
^
make[3]: *** [MetadataExtImpl.lo] Error 1
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/Compiling-SP-code-gives-compilation-errors-tp7622696p7622781.html
Sent from the Shibboleth - Developers mailing list archive at Nabble.com.
More information about the dev
mailing list