Fail to install Berkeley DB XML on Redhat AS 3.0(EL3)
568680Mar 26 2007 — edited Mar 26 2007Failed while building Pathan, below is the error message:
/home/user/dbxml-2.2.13/pathan/include/pathan/ATDecimalOrDerived.hpp:38: conflicting return type
specified for `virtual RefCountPointer<const Numeric> ATDecimalOrDerived::promoteTypeIfApplicable
(const XMLCh *, const XMLCh *, const DynamicContext *) const'
/home/user/dbxml-2.2.13/pathan/include/pathan/Numeric.hpp:37: overriding `virtual
RefCountPointer<const AnyAtomicType> Numeric::promoteTypeIfApplicable (const XMLCh *, const XMLCh *,
const DynamicContext *) const'
/home/user/dbxml-2.2.13/pathan/include/pathan/ATDecimalOrDerived.hpp:66: conflicting return type
specified for `virtual RefCountPointer<const Numeric> ATDecimalOrDerived::floor (const DynamicContext
*) const'
/home/user/dbxml-2.2.13/pathan/include/pathan/Numeric.hpp:66: overriding `virtual
RefCountPointer<const AnyAtomicType> Numeric::floor (const DynamicContext *) const'
/home/user/dbxml-2.2.13/pathan/include/pathan/ATDecimalOrDerived.hpp:69: conflicting return type
specified for `virtual RefCountPointer<const Numeric> ATDecimalOrDerived::ceiling (const DynamicContext
*) const'
/home/user/dbxml-2.2.13/pathan/include/pathan/Numeric.hpp:69: overriding `virtual
RefCountPointer<const AnyAtomicType> Numeric::ceiling (const DynamicContext *) const'
/home/user/dbxml-2.2.13/pathan/include/pathan/ATDecimalOrDerived.hpp:72: conflicting return type
specified for `virtual RefCountPointer<const Numeric> ATDecimalOrDerived::round (const DynamicContext
*) const'
/home/user/dbxml-2.2.13/pathan/include/pathan/Numeric.hpp:72: overriding `virtual
RefCountPointer<const AnyAtomicType> Numeric::round (const DynamicContext *) const'
/home/user/dbxml-2.2.13/pathan/include/pathan/ATDecimalOrDerived.hpp:78: conflicting return type
specified for `virtual RefCountPointer<const Numeric> ATDecimalOrDerived::invert (const DynamicContext
*) const'
/home/user/dbxml-2.2.13/pathan/include/pathan/Numeric.hpp:78: overriding `virtual
RefCountPointer<const AnyAtomicType> Numeric::invert (const DynamicContext *) const'
And the gcc version is:
compat-gcc-c++-7.3-2.96.128
compat-gcc-7.3-2.96.128
libgcc-3.2.3-56
gcc-3.2.3-56
Can anybody help on this?
Thanks very much
Mike