Details
Description
I am trying to build xalan-c on a Solaris environment using gcc 2.3.2. xerces-c 3.1.1 has built successfully. I am configuring and building as follows:
./runConfigure -p solaris -c gcc -x g++
gmake install
It seems that the LocalMsgIndex.cpp is not being generated automatically during the build. I tried creating it manually, but the only xml file I could find was in the Visual C++ directories. i tried using this to create LocalMsgIndex.cpp manually, but get the following error when I build:
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp: In
static member function `static void
xalanc_1_11::ProblemListenerBase::defaultFormat(xalanc_1_11::PrintWriter&,
xalanc_1_11::ProblemListenerBase::eSource,
xalanc_1_11::ProblemListenerBase::eClassification, const
xalanc_1_11::XalanDOMString&, const xercesc_3_1::Locator*, const
xalanc_1_11::XalanNode*)':
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:94: `
SourceTreeNode_1Param' is not a member of type `xalanc_1_11::XalanMessages'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp: In
static member function `static void
xalanc_1_11::ProblemListenerBase::defaultFormat(xalanc_1_11::PrintWriter&,
xalanc_1_11::ProblemListenerBase::eSource,
xalanc_1_11::ProblemListenerBase::eClassification, const
xalanc_1_11::XalanDOMString&, const xalanc_1_11::XalanNode*)':
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:127: `
SourceTreeNode_1Param' is not a member of type `xalanc_1_11::XalanMessages'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp: At
global scope:
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:137: `
XMLMessage' is not a member of type `xalanc_1_11::XalanMessages'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:138: `
XMLWarning' is not a member of type `xalanc_1_11::XalanMessages'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:139: `
XMLError' is not a member of type `xalanc_1_11::XalanMessages'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:142: `
XSLTMessage' is not a member of type `xalanc_1_11::XalanMessages'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:143: `
XSLTWarning' is not a member of type `xalanc_1_11::XalanMessages'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:144: `
XSLTError' is not a member of type `xalanc_1_11::XalanMessages'
<myPath>/xalan/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:147: `
XPathMessage' is not a member of type `xalanc_1_11::XalanMessages'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:148: `
XPathWarning' is not a member of type `xalanc_1_11::XalanMessages'
<myPath>/xalan-c-1.11/c/src/xalanc/PlatformSupport/ProblemListenerBase.cpp:149: `
XPathError' is not a member of type `xalanc_1_11::XalanMessages'
gmake[1]: *** [../../obj/ProblemListenerBase.o] Error 1
gmake[1]: Leaving directory `<myPath>/xalan-c-1.11/c/src/xalanc'
gmake: *** [install] Error 2
Where <myPath> is my installation and build directory.
Any help would be much appreciated.