Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-737

Xalan-C fails to build on Solaris

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11
    • None
    • XalanC
    • Solaris 10u10
      gcc-2.3.2
      xerces-c 3.1.1

    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.

      Attachments

        Activity

          People

            shathaway Steven J. Hathaway
            rwhillier Robert Hillier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: