Compiling xmltooling on Solaris 10
Jose Lopez Lujan
jm.lopez at utoronto.ca
Mon Feb 4 14:25:02 EST 2013
Hi all,
I'm trying to compile xmltooling-1.5.2 on Solaris 10 SPARC with Solaris Studio 12.3; ./configure log looks good, but when compiling, among other lines, I've got the following:
configure: WARNING: doxygen not found - will not generate any doxygen documentation
configure: WARNING: cxxtestgen not found, won't build unit tests
"AbstractAttributeExtensibleXMLObject.h", line 85: Warning: xmltooling::AbstractAttributeExtensibleXMLObject::setAttribute Hides the virtual function xmltooling::AttributeExtensibleXMLObject::setAttribute(const xmltooling::QName&, const xmltooling::QName&) in a virtual base.
1 Warning(s) detected.
"../xmltooling/AbstractAttributeExtensibleXMLObject.h", line 85: Warning: xmltooling::AbstractAttributeExtensibleXMLObject::setAttribute Hides the virtual function xmltooling::AttributeExtensibleXMLObject::setAttribute(const xmltooling::QName&, const xmltooling::QName&) in a virtual base.
1 Warning(s) detected.
"impl/UnknownElement.cpp", line 87: Warning: "xmltooling::UnknownElementImpl::getTextContent(unsigned) const" is expected to return a value.
1 Warning(s) detected.
"io/HTTPRequest.cpp", line 47: Error: Could not find std::__reverse_bi_iterator<__rwstd::__rb_tree<float, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, __rwstd::__select1st<std::pair<const float, std::vector<std::basic_string<unsigned short> >>, float>, std::less<float>, std::allocator<std::pair<const float, std::vector<std::basic_string<unsigned short> >>>>::const_iterator, std::bidirectional_iterator_tag, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, const std::pair<const float, std::vector<std::basic_string<unsigned short> >>&, const std::pair<const float, std::vector<std::basic_string<unsigned short> >>*, long>::__reverse_bi_iterator(std::__reverse_bi_iterator<__rwstd::__rb_tree<float, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, __rwstd::__select1st<std::pair<const float, std::vector<std::basic_string<unsigned short> >>, float>, std::less<float>, std::allocator<std::pair<const float, std::vector<std::basic_string<unsigned short> >>>>::iterator, std::bidirectional_iterator_tag, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, std::pair<const float, std::vector<std::basic_string<unsigned short> >>&, std::pair<const float, std::vector<std::basic_string<unsigned short> >>*, long>) to initialize m_langRangeIter.
"io/HTTPRequest.cpp", line 159: Warning (Anachronism): Assigning std::__reverse_bi_iterator<__rwstd::__rb_tree<float, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, __rwstd::__select1st<std::pair<const float, std::vector<std::basic_string<unsigned short> >>, float>, std::less<float>, std::allocator<std::pair<const float, std::vector<std::basic_string<unsigned short> >>>>::iterator, std::bidirectional_iterator_tag, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, std::pair<const float, std::vector<std::basic_string<unsigned short> >>&, std::pair<const float, std::vector<std::basic_string<unsigned short> >>*, long> to std::__reverse_bi_iterator<__rwstd::__rb_tree<float, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, __rwstd::__select1st<std::pair<const float, std::vector<std::basic_string<unsigned short> >>, float>, std::less<float>, std::allocator<std::pair<const float, std::vector<std::basic_string<unsigned short> >>>>::const_iterator, std::bidirectional_iterator_tag, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, const std::pair<const float, std::vector<std::basic_string<unsigned short> >>&, const std::pair<const float, std::vector<std::basic_string<unsigned short> >>*, long>.
"io/HTTPRequest.cpp", line 159: Error: Cannot cast from std::__reverse_bi_iterator<__rwstd::__rb_tree<float, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, __rwstd::__select1st<std::pair<const float, std::vector<std::basic_string<unsigned short> >>, float>, std::less<float>, std::allocator<std::pair<const float, std::vector<std::basic_string<unsigned short> >>>>::iterator, std::bidirectional_iterator_tag, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, std::pair<const float, std::vector<std::basic_string<unsigned short> >>&, std::pair<const float, std::vector<std::basic_string<unsigned short> >>*, long> to std::__reverse_bi_iterator<__rwstd::__rb_tree<float, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, __rwstd::__select1st<std::pair<const float, std::vector<std::basic_string<unsigned short> >>, float>, std::less<float>, std::allocator<std::pair<const float, std::vector<std::basic_string<unsigned short> >>>>::const_iterator, std::bidirectional_iterator_tag, std::pair<const float, std::vector<std::basic_string<unsigned short> >>, const std::pair<const float, std::vector<std::basic_string<unsigned short> >>&, const std::pair<const float, std::vector<std::basic_string<unsigned short> >>*, long>.
2 Error(s) and 1 Warning(s) detected.
gmake[3]: *** [libxmltooling_lite_la-HTTPRequest.lo] Error 1
gmake[2]: *** [all] Error 2
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
Log available in http://uoft.me/xmltoolinglog
All dependencies are already installed under /opt/shibboleth-sp:
- curl-7.28.1
- xml-security-c-1.7.0
- log4shib-1.0.5
- xerces-c-3.1.1
My configure and compile script:
#!/bin/sh
# Built on Solaris 10 with the native OpenSSL 64Bit libraries
# Using Solaris SPARC 64Bit options and Sun Studio 11.2
# Component: xmltooling
# Source: ttp://shibboleth.net/downloads/c++-opensaml/2.5.2/xmltooling-1.5.2.tar.gz
# Requires packages: curl log4shib xerces-c
# xml-security-c
PATH=/usr/sfw/bin:/opt/SUNWspro/bin:/usr/bin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/usr/sbin; export PATH
LD_LIBRARY_PATH=/usr/sfw/lib/sparcv9:/usr/sfw/lib:/opt/shibboleth-sp/lib; export LD_LIBRARY_PATH
cd xmltooling-1.5.2
echo "Cleaning using GNU compiler"
gmake clean
env CC="cc -m64" \
CXX="CC -m64" \
CFLAGS="-xO2 -m64 " \
CXXFLAGS="-xO2 -m64 " \
LDFLAGS="-m64 -L/usr/sfw/lib/sparcv9 -R/usr/sfw/lib/sparcv9" \
INSTALL=/usr/ucb/install \
./configure \
--prefix=/opt/shibboleth-sp \
--with-log4shib=/opt/shibboleth-sp \
--with-xerces=/opt/shibboleth-sp \
--with-xmlsec=/opt/shibboleth-sp \
--with-openssl=/usr/sfw \
--with-curl=/opt/shibboleth-sp \
--with-boost=/opt/boost_1_52_0 -C
_pwd=${PWD:-`pwd`}
XERCESCROOT=/local/sfw/src/xerces-c-3.1.1; export XERCESCROOT
LD_RUN_PATH=/usr/sfw/lib:/opt/shibboleth-sp/lib; export LD_RUN_PATH
LD_OPTIONS="-M $_pwd/mapfile"; export LD_OPTIONS
# echo "Making using GNU compiler"
exec gmake "$@"
# echo "Installing using GNU compiler"
# gmake install
#!/end
Any thoughts would be really appreciated.
Best,
-
Jose Manuel Lopez Lujan
Senior LMS Coordinator
Academic and Collaborative Technologies
University of Toronto
+1.416.946.5107
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130204/5839f63d/attachment.html
More information about the users
mailing list