Compiling SP code gives compilation errors.

MaheshZ mahesh_sawaiker at persistent.co.in
Mon Feb 8 05:31:31 EST 2016


I am trying to compile SP code using instructions at
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPLinuxSourceBuild

I was able to configure/make/make install up to Opensaml-C but the sp
compilation fails with errors like certain fields are not part of a class.
My guess is its because of an incompatible (older) version of the APR
library.

Can someone help me to tell which APR library I should be using with the
version of sp here http://shibboleth.net/downloads/service-provider/latest/
and from where I can install it? 
I am using ubuntu 14_04. Apologies for not actually pasting the compilation
errors, I am posting this from a machine where I don't have access to the
build machine. Will update the post with the errors later.

Specifically I want to change the AssertionConsumerService class to decode a
redirect url. For some reason the IdP is sending urlencoded relaystate in
post request :(. And I get an error as below. 
*xmltooling::IOException URL is malformed*

307     // First check for POST data.
308     if (!postData.islist()) {
*309         m_log.debug("ACS returning via redirect to: %s",
relayState.c_str());*
310         return make_pair(true,
httpResponse.sendRedirect(relayState.c_str()));
311     }
312     else {
313         m_log.debug("ACS returning via POST to: %s",
relayState.c_str());
314         return make_pair(true, sendPostResponse(application,
httpResponse, relayState.c_str(), postData));
315     }
316 }






--
View this message in context: http://shibboleth.1660669.n2.nabble.com/Compiling-SP-code-gives-compilation-errors-tp7622696.html
Sent from the Shibboleth - Developers mailing list archive at Nabble.com.


More information about the dev mailing list