The latest code in CVS has a work-around for this problem. If you want to
try to build with the 1.1 sources, then just change the class Stylesheet so
that it derives publically from PrefixResolver.
By the way, you do not need the STLport with GCC. The compiler comes with
its own standard library which has everything you need.
I really wish RedHat would get their act together. This compiler nonsense
is getting ridiculous.
Dave
Allan Stirrett
<AStirret@SkyS To: "'[EMAIL PROTECTED]'"
tream.com> <[EMAIL PROTECTED]>,
"'[EMAIL PROTECTED]'"
07/24/2001 <[EMAIL PROTECTED]>
12:46 PM cc: (bcc: David N Bertoni/CAM/Lotus)
Please respond Subject: Xalan with GCC 2.96 rel 85
to xalan-dev
Hi,
As this is my first post, I'm hoping I'm in the right place.
Please
forgive me & point me in the right direction if this is misdirected.
I'm runing RedHat 7.1 which, as you may know, unfortunately
comes
with GCC 2.96 (currently at release 85). I was having trouble compiling my
Xalan-enabled app, so I went back and tried to build the XalanTransform.cpp
sample file, and THAT doesn't work either (I know it DOES under GCC 2.95).
I get the following:
gcc -Wall -c XalanTransform.cpp -I/usr/local/STLport-4.0/stlport
-I/usr/local/xml-xalan/c/src -I/usr/local/xml-xerces/c/include
In file included from
/usr/local/xml-xalan/c/src/XalanTransformer/XalanTransformer.hpp:78,
from XalanTransform.cpp:5:
/usr/local/xml-xalan/c/src/XSLT/StylesheetRoot.hpp: In method `void
StylesheetRoot::getNodeSetByKey
(XalanNode *, const XalanDOMString &, const XalanDOMString &, const
PrefixResolver &,
MutableNodeRefList &, StylesheetExecutionContext &, _STL::map<const
XalanNode *, KeyTable *,
_STL::less<const XalanNode *>, _STL::allocator<_STL::pair<const XalanNode
*const, KeyTable *> > > &)
const':
/usr/local/xml-xalan/c/src/DOMSupport/PrefixResolver.hpp:76: `class
PrefixResolver' is inaccessible
/usr/local/xml-xalan/c/src/XSLT/StylesheetRoot.hpp:440: within this context
Has anyone tried using Xalan with GCC 2.96r85? Any ideas what
might
cause this, or how I can work around it? Going back to GCC 2.95 requires
uninstalling about 20 apps which depend on libstdc++ 2.96, and I'm not warm
about 3.0 yet (not until there's a RedHat-sanctioned RPM for it anyway).
Any help you could give me would be GREATLY appreciated. Thanks in
advance.
Allan
Stirrett
SkyStream
Networks.