Shibboleth SP3.0.0 Installation error -- invalid use of incomplete type ‘class xmltooling::CredentialResolver’

Dalvi, Vikram (GE Capital, consultant) vikram.dalvi at ge.com
Fri Dec 28 04:44:57 EST 2018


Hi,


We are trying to install Shibboleth SP 3.0.0 on our Linux server. We have followed the documentation on wiki.shibboleth.net for LinuxBuild and we have downloaded latest versions of all the required mentioned packages and built them.


However, when we are trying to build shibboleth SP3 we are getting below error in make command.

============

In file included from ServiceProvider.cpp:44:0:
/appbin/web/shibboleth-sp/include/saml/saml2/metadata/MetadataProvider.h:68:70: error: invalid use of incomplete type ‘class xmltooling::CredentialResolver’
         class SAML_API MetadataProvider : public virtual xmltooling::CredentialResolver
                                                                      ^
In file included from internal.h:55:0,
                 from ServiceProvider.cpp:27:
../shibsp/Application.h:39:23: error: forward declaration of ‘class xmltooling::CredentialResolver’
     class XMLTOOL_API CredentialResolver;
                       ^
make[3]: *** [libshibsp_la-ServiceProvider.lo] Error 1
make[3]: Leaving directory `/appbin/shibboleth_buildwork/shibboleth-sp-3.0.1/shibsp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/appbin/shibboleth_buildwork/shibboleth-sp-3.0.1/shibsp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/appbin/shibboleth_buildwork/shibboleth-sp-3.0.1'
make: *** [all] Error 2
================


Below is the configure command we are using to build SP3. output is attached with mail.

==================

./configure --with-log4shib=/appbin/shibboleth_buildwork/log4shib-2.0.0 --enable-apache-24 --with-apxs24=/appbin/shibboleth_buildwork/apache_buildwork/apache-2.4.29_Shibboleth/bin/apxs --prefix=/appbin/web/shibboleth-sp --disable-odbc --with-cxxtest=/appbin/shibboleth_buildwork/cxxtest-4.3 -C
==================


our PKG_CONFIG_PATH variable value is

================

export PKG_CONFIG_PATH=/appbin/shibboleth_buildwork/xmltooling-3.0.0:/appbin/shibboleth_buildwork/xml-security-c-2.0.2:/appbin/shibboleth_buildwork/log4cpp:/appbin/shibboleth_buildwork/xerces-c-3.2.2:/appbin/shibboleth_buildwork/opensaml-3.0.0:/appbin/shibboleth_buildwork/opensaml-3.0.0

================


Our server details

===============

Red Hat Enterprise Linux Server release 7.6 (Maipo) x86_64 GNU/Linux
===============


gcc and g++ details

===============

[root at g2802alplapp01v shibboleth-sp]# g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux

gcc version 4.8.5 20150623 (Red Hat 4.8.5-36.0.1) (GCC)

===============


Can you please help us in figuring out what is gong wrong here. Please let us know if you need any more information.


Thanks and Regards,
Vikram Dalvi
Enhanced Authentication Services


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20181228/87b1f329/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: shibSP3-configure-output.txt
URL: <http://shibboleth.net/pipermail/users/attachments/20181228/87b1f329/attachment.txt>


More information about the users mailing list