Yes, your version of gcc is broken.  Change this line in Stylesheet.hpp:

   class XALAN_XSLT_EXPORT Stylesheet : public XalanDocument, private
   PrefixResolver

to:

   class XALAN_XSLT_EXPORT Stylesheet : public XalanDocument, protected
   PrefixResolver

Dave



                                                                                       
                       
                    "Scott Russell"                                                    
                       
                    <scott@activest        To:     <[EMAIL PROTECTED]>          
                       
                    udios.com>             cc:     (bcc: David N Bertoni/CAM/Lotus)    
                       
                                           Subject:     RE: Missing util/XML4CDefs.hpp 
from archived sources  
                    08/30/2001                                                         
                       
                    03:00 PM                                                           
                       
                    Please respond                                                     
                       
                    to xalan-dev                                                       
                       
                                                                                       
                       
                                                                                       
                       



Uh-oh,

Does anyone know what's causing this?

g++ -O   -fpic -Wall -DLINUX -D_REENTRANT  -c -I. -I/root/xerces-c-src1_
4_0/src/ -I/root/xerces-c-src1_4_0/include/   -o /root/xml-xalan/c/obj/D
ecimalToRoman.o XSLT/DecimalToRoman.cpp
g++ -O   -fpic -Wall -DLINUX -D_REENTRANT  -c -I. -I/root/xerces-c-src1
_4_0/src/ -I/root/xerces-c-src1_4_0/include/   -o /root/xml-xalan/c/obj/
ElemApplyImport.o XSLT/ElemApplyImport.cpp
g++ -O   -fpic -Wall -DLINUX -D_REENTRANT  -c -I. -I/root/xerces-c-src1_
4_0/src/ -I/root/xerces-c-src1_4_0/include/   -o /root/xml-xalan/c/obj/E
lemApplyTemplates.o XSLT/ElemApplyTemplates.cpp
In file included from XSLT/ElemApplyTemplates.cpp:67:
XSLT/StylesheetRoot.hpp: In method `void
StylesheetRoot::getNodeSetByKey (XalanNode *, const XalanDOMString &,
const XalanDOMString &, const PrefixResolver &, MutableNodeRefList &,
StylesheetExecutionContext &, map<const XalanNode *, KeyTable *,
less<const XalanNode *>, allocator<KeyTable *> > &) const':
DOMSupport/PrefixResolver.hpp:76: `class PrefixResolver' is
inaccessible
XSLT/StylesheetRoot.hpp:440: within this context
make: *** [/root/xml-xalan/c/obj/ElemApplyTemplates.o] Error 1

  - Scott

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 12:53 PM
To: [EMAIL PROTECTED]
Subject: RE: Missing util/XML4CDefs.hpp from archived sources



Xerces recommends using autoconf, etc?  That's news to me -- they have the
same build process that we have, since we ripped of theirs to create ours
(hence the appearance of util/XML4CDefs.hpp).  You should be able to use
their runConfigure script, unless you're adding a new platform.

At any rate, did changing that line of configure.in work?

Dave




                    "Scott Russell"

                    <scott@activest        To:
<[EMAIL PROTECTED]>
                    udios.com>             cc:     (bcc: David N
Bertoni/CAM/Lotus)
                                           Subject:     RE: Missing
util/XML4CDefs.hpp from archived sources
                    08/30/2001

                    12:14 PM

                    Please respond

                    to xalan-dev






It was reccomended in the xerces build, and I assumed it was
valid for the xalan build.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 10:28 AM
To: [EMAIL PROTECTED]
Subject: RE: Missing util/XML4CDefs.hpp from archived sources



XML4CDefs.hpp is a file from XML4C, which is an internal IBM product based
on Xerces.  It looks like that's a remnant from bygone days, which is
updated in the latest sources.  You can replace util/XML4CDefs.hpp with
PlatformSupport/PlatformSupportDefinitions.hpp

On the other hand, why are you running autoconf, since we already provide a
configure file?  I'm going to update configure.in, but you should be able
to build by just using our runConfigure script.

Dave




                    "Scott Russell"

                    <scott@activest        To:
<[EMAIL PROTECTED]>
                    udios.com>             cc:     (bcc: David N
Bertoni/CAM/Lotus)
                                           Subject:     RE: Missing
util/XML4CDefs.hpp from archived sources
                    08/29/2001

                    10:23 PM

                    Please respond

                    to xalan-dev






I don't really understand - I've got xerces, and have built and installed
it
already.  I have my XERCESROOT set, is this "missing file" actually part of

the xerces distribution?

Unfortunately, Xalan 1.2 isn't an option for me at the moment.

  - Scott

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 6:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Missing util/XML4CDefs.hpp from archived sources



You have to get the sources for Xerces if you want to build Xalan.  The
binary distribution includes both the Xalan and Xerces sources.

Also, you really should upgrade to Xalan 1.2, which was just released.

Dave




                    "Scott Russell"

                    <scott@activest        To:
<[EMAIL PROTECTED]>
                    udios.com>             cc:     (bcc: David N
Bertoni/CAM/Lotus)
                                           Subject:     Missing
util/XML4CDefs.hpp from archived sources
                    08/29/2001

                    06:39 PM

                    Please respond

                    to xalan-dev






The sources for libxalan-c1_1 are missing files - most notably,
util/XML4CDefs.hpp, which is required for configure to run properly.

Could some kind soul please explain where to get the missing sources,
or how to build xalan without them?

Thanks,

  Scott Russell
















Reply via email to