Hello,

I am trying to build Shibboleth on an OS X Leopard Server (10.5.5). One of its dependencies is xml-security-c. I am trying to build version 1.4.0. Unfortunately, it won't build.

I have already built xerces-c-3.0.0. I have set these environment variables:

XERCESCROOT="/opt/shibboleth-sp"
DYLD_LIBRARY_PATH="/opt/shibboleth-sp/lib:"

The configure script runs without error. Here is the command line I used:

MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS="-arch x86_64 -g -Os -pipe -no- cpp-precomp" CCFLAGS="-arch x86_64 -g -Os -pipe" CXXFLAGS="-arch x86_64 -g -Os -pipe" LDFLAGS="-arch x86_64 -bind_at_load" ./configure --without-xalan --prefix=/opt/shibboleth-sp

I then ran make. The output of the unsuccessful portion is below. Any advice would be greatly appreciated!

Thank you,

Edric



xml-security-c-1.4.0# make
Making all in include
make  all-am
make[2]: Nothing to be done for `all-am'.
Making all in lib
if /bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../src/framework -I../include -I/opt/shibboleth-sp/include - arch x86_64 -g -Os -pipe -DXSEC_LIBRARY_BUILD -DMACOSX -Wall -O2 - DNDEBUG -MT DSIGSignature.lo -MD -MP -MF ".deps/DSIGSignature.Tpo" -c - o DSIGSignature.lo `test -f '../src/dsig/DSIGSignature.cpp' || echo './'`../src/dsig/DSIGSignature.cpp; \ then mv -f ".deps/DSIGSignature.Tpo" ".deps/DSIGSignature.Plo"; else rm -f ".deps/DSIGSignature.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I../src/framework -I../include -I/opt/ shibboleth-sp/include -arch x86_64 -g -Os -pipe -DXSEC_LIBRARY_BUILD - DMACOSX -Wall -O2 -DNDEBUG -MT DSIGSignature.lo -MD -MP -MF .deps/ DSIGSignature.Tpo -c ../src/dsig/DSIGSignature.cpp -fno-common -DPIC - o .libs/DSIGSignature.o ../include/xsec/utils/XSECBinTXFMInputStream.hpp:112: error: conflicting return type specified for 'virtual unsigned int XSECBinTXFMInputStream::curPos() const' /opt/shibboleth-sp/include/xercesc/util/BinInputStream.hpp:41: error: overriding 'virtual XMLFilePos xercesc_3_0::BinInputStream::curPos() const' ../src/dsig/DSIGSignature.cpp: In member function 'XSECBinTXFMInputStream* DSIGSignature::makeBinInputStream() const': ../src/dsig/DSIGSignature.cpp:315: error: cannot allocate an object of abstract type 'XSECBinTXFMInputStream' ../include/xsec/utils/XSECBinTXFMInputStream.hpp:61: note: because the following virtual functions are pure within 'XSECBinTXFMInputStream': /opt/shibboleth-sp/include/xercesc/util/BinInputStream.hpp:47: note: virtual XMLSize_t xercesc_3_0::BinInputStream::readBytes(XMLByte*, XMLSize_t) /opt/shibboleth-sp/include/xercesc/util/BinInputStream.hpp:67: note: virtual const XMLCh* xercesc_3_0::BinInputStream::getContentType() const
make[1]: *** [DSIGSignature.lo] Error 1
make: *** [all-recursive] Error 1

Reply via email to