我正试图按照本指南安装Shibboleth 2 SP:
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPLinuxSourceBuild
我成功地配置和构建了log4shib,然后我尝试构建Xerces-C++ 3.1.1,但它给了我一个警告:WARNING: unrecognized options: --disable-netaccessor-libcurl和我没有使用该选项解决了这个问题,因为在3.1中没有可用,"--disable-netaccessor-libcurl“没有列在:
http://xerces.apache.org/xerces-c/build-3.html
然后我把它白化了,得到了任何错误警告。
第三步是安装,但是当我运行时:
./configure --without-xalan --disable-static --prefix=/opt/shibboleth-sp我知道这个错误:
configure: error: unable to find xerces header files我尝试导出路径:
export PATH=$HOME/opt/shibboleth-sp/bin:$PATH
export LD_LIBRARY_PATH=$HOME/opt/shibboleth-sp/lib:$LD_LIBRARY_PATH
export XERCESCROOT=$HOME/opt/shibboleth-sp:$XERCESCROOT正如@Brian建议的那样:
export CPPFLAGS=$HOME/opt/shibboleth-sp/include
export CFLAGS=$HOME/opt/shibboleth-sp/include试着重新安装,但不起作用。
在文件夹/opt/shibboleth-sp中,我有这个文件夹(在/shibboleth-sp中,我没有一个名为xercesc的文件夹,但它位于/include中):
/bin/
DOMCount (file)
SAX2Count (file)
SAX2Print (file)
etc..
/include/
log4shib
xercesc
dom
framework
internal
parsers
sax
etc..
/lib/
liblog4shib.so
libxerces-c.so
etc..
/share/
aclocal

我希望有人能帮我。
耽误您时间,实在对不起。
发布于 2013-05-31 09:48:35
在您的设置中,给./配置标志--with- xerces =/opt/shibboleth-sp,这将在正确安装xerces时找到xerces头文件。
https://stackoverflow.com/questions/16823576
复制相似问题