<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">I’ve been working on compiling the Shibboleth SP source on a RHEL 6 server.  I’ve been successful compiling all of the dependencies up to OpenSAML.  I’m stumped by this error.  I guess it’s not
 finding my xmltooling headers properly, but I don’t understand why that would be the case.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Following the documentation, I ran the following command:</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">./configure --with-log4shib=/opt/shibboleth-sp --prefix=/opt/shibboleth-sp -C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">I see the following output from configure, which looks good:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">checking for  log4shib... yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">checking for  xerces-c >= 3.2... yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">checking for  xml-security-c >= 2... yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">checking for  xmltooling >= 3... yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Here is the error that I’m seeing when I run make.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">make[2]: Entering directory `/home/jfaut/workspace/opensaml-3.0.0/saml'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..    -pthread -I/usr/local/include   -I/opt/shibboleth-sp/include -I/usr/local/include   -pthread -I/opt/shibboleth-sp/include -I/usr/local/include  
 -pthread -I/opt/shibboleth-sp/include    -Wall -O2 -DNDEBUG -MT libsaml_la-SAMLConfig.lo -MD -MP -MF .deps/libsaml_la-SAMLConfig.Tpo -c -o libsaml_la-SAMLConfig.lo `test -f 'SAMLConfig.cpp' || echo './'`SAMLConfig.cpp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/local/include -I/opt/shibboleth-sp/include -I/usr/local/include -pthread -I/opt/shibboleth-sp/include -I/usr/local/include -pthread -I/opt/shibboleth-sp/include
 -Wall -O2 -DNDEBUG -MT libsaml_la-SAMLConfig.lo -MD -MP -MF .deps/libsaml_la-SAMLConfig.Tpo -c SAMLConfig.cpp  -fPIC -DPIC -o .libs/libsaml_la-SAMLConfig.o<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">In file included from saml2/metadata/MetadataFilter.h:27,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">                 from SAMLConfig.cpp:53:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">../saml/saml2/metadata/MetadataProvider.h:69: error: invalid use of incomplete type ‘struct xmltooling::CredentialResolver’<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">../saml/saml2/core/Assertions.h:43: error: forward declaration of ‘struct xmltooling::CredentialResolver’<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">SAMLConfig.cpp: In member function ‘virtual void opensaml::SAMLInternalConfig::generateRandomBytes(void*, unsigned int)’:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">SAMLConfig.cpp:240: error: ‘XMLSecurityException’ was not declared in this scope<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">SAMLConfig.cpp:243: error: ‘XMLSecurityException’ was not declared in this scope<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">make[2]: *** [libsaml_la-SAMLConfig.lo] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Any thoughts?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Thanks,<br>
Jim<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;color:black">Jim Faut<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Cloud Enterprise Architect<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">(415) 598-7287<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="mailto:jim.faut@okta.com"><span style="color:#0563C1">jim.faut@okta.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><img border="0" width="67" height="23" style="width:.6979in;height:.2395in" id="Picture_x0020_1" src="cid:image001.png@01D4624A.0D035090" alt="signature_1362652639"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>