Problems building Xalan-c in Red Hat Linux

Discussion in 'XML' started by Avalon1178, Sep 2, 2005.

  1. Avalon1178

    Avalon1178 Guest

    Hi,

    I recently downloaded the xalan-c source code in

    http://mirrors.ccs.neu.edu/Apache/dist/xml/xalan-c

    I followed the instructions from the apache site on how to build it (I
    already have xerces downloaded and compiled), however, I'm getting
    quite a few compile errors. I downloaded and compiled xerces 2.6.0 and
    I downloaded xalan 1.9.0.

    Here's the uname of my Linux:

    Linux workandplay 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:04:33 EDT 2005
    i686 athlon i386 GNU/Linux

    Its running Red Hat Linux Enterprise...

    Below are the build errors that I'm getting. Does anyone have any
    idea? Is someone else experiencing the same thing? I'm running into
    these errors in both gmake and make invocations....

    ---------------------------------------------------------

    gmake -C src/xalanc all
    gmake[1]: Entering directory
    `/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc'
    Preparing the directory structure for a build ...
    mkdir -p ../../obj
    mkdir -p ../../lib
    mkdir -p ../../bin
    gmake -C Utils prepare
    gmake[2]: Entering directory
    `/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Utils'mkdir
    -p ../../../nls
    mkdir -p ../../../nls/include
    gmake[2]: Leaving directory
    `/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Utils'
    gmake -C Utils locale
    gmake[2]: Entering directory
    `/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Utils'gmake[2]:
    Nothing to be done for `locale'.
    gmake[2]: Leaving directory
    `/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Utils'
    g++ -O2 -DNDEBUG -fno-elide-constructors -Wall -fPIC -DLINUX
    -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c
    -I/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src
    -I/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/include
    -I../../nls/include
    -I/home/av/vs/utils/trunk/xerces/xerces-c-src_2_6_0/src/
    -I/home/av/vs/utils/trunk/xerces/xerces-c-src_2_6_0/include/xercesc
    -I/home/av/vs/utils/trunk/xerces/xerces-c-src_2_6_0/include/ -o
    .../../obj/process.o
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/TestXSLT/process.cpp
    In file included from
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper.hpp:39,
    from
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:52:
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:
    In
    member function `std::unary_function<const _Tp*, void>::result_type

    xalanc_1_9::DeleteFunctor<Type>::eek:perator()(std::unary_function<const
    _Tp*,
    void>::argument_type) const':
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:127:
    warning: no
    return statement in function returning non-void
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:
    In
    member function `std::unary_function<_Tp, void>::result_type
    xalanc_1_9::ClearFunctor<Type>::eek:perator()(std::unary_function<_Tp,
    void>::argument_type&) const':
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:245:
    warning: no
    return statement in function returning non-void
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:
    In
    member function `std::unary_function<T::value_type&,
    void>::result_type

    xalanc_1_9::MapValueDeleteFunctor<T>::eek:perator()(std::unary_function<T::value_type&,
    void>::argument_type) const':
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:284:
    warning: no return statement in function returning non-void
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:
    In
    function `xalanc_1_9::FormatterListener* createFormatter(int, bool,
    bool,
    bool, bool, xalanc_1_9::printWriter&, int, const
    xalanc_1_9::XalanDOMString&, const xalanc_1_9::StylesheetRoot*,
    xalanc_1_9::XercesParserLiaison&,
    xalanc_1_9::XalanSourceTreeParserLiaison&,
    const xalanc_1_9::prefixResolver&, const
    xalanc_1_9::XalanDocument*&)':
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:631:
    no
    matching function for call to
    `xalanc_1_9::FormatterToText::FormatterToText(
    xercesc_2_6::MemoryManager&, xalanc_1_9::printWriter&, const
    xalanc_1_9::XalanDOMString&)'
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:224:
    candidates
    are: xalanc_1_9::FormatterToText::FormatterToText(const
    xalanc_1_9::FormatterToText&)
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:82:


    xalanc_1_9::FormatterToText::FormatterToText(xalanc_1_9::Writer&,
    const
    xalanc_1_9::XalanDOMString&, bool = true, bool = true,
    xalanc_1_9::MemoryManagerType& =
    xalanc_1_9::XalanMemMgrs::getDefaultXercesMemMgr()())
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:67:


    xalanc_1_9::FormatterToText::FormatterToText(xalanc_1_9::Writer&,
    bool =
    true, bool = true, xalanc_1_9::MemoryManagerType& =
    xalanc_1_9::XalanMemMgrs::getDefaultXercesMemMgr()())
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:54:



    xalanc_1_9::FormatterToText::FormatterToText(xalanc_1_9::MemoryManagerType&
    = xalanc_1_9::XalanMemMgrs::getDefaultXercesMemMgr()())
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:666:
    no
    matching function for call to
    `xalanc_1_9::FormatterToHTML::FormatterToHTML(
    xercesc_2_6::MemoryManager&, xalanc_1_9::printWriter&, const
    xalanc_1_9::XalanDOMString&, xalanc_1_9::XalanDOMString&,
    xalanc_1_9::XalanDOMString&, xalanc_1_9::XalanDOMString&, bool&,
    int&)'
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.hpp:51:
    candidates
    are: xalanc_1_9::FormatterToHTML::FormatterToHTML(const
    xalanc_1_9::FormatterToHTML&)
    /home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.hpp:85:


    xalanc_1_9::FormatterToHTML::FormatterToHTML(xalanc_1_9::Writer&,
    const
    xalanc_1_9::XalanDOMString& =
    XalanDOMString((+xalanc_1_9::XalanMemMgrs::getDummyMemMgr()())),
    const
    xalanc_1_9::XalanDOMString& =
    XalanDOMString((+xalanc_1_9::XalanMemMgrs::getDummyMemMgr()())),
    const
    xalanc_1_9::XalanDOMString& =
    XalanDOMString((+xalanc_1_9::XalanMemMgrs::getDummyMemMgr()())),
    const
    xalanc_1_9::XalanDOMString& =
    XalanDOMString((+xalanc_1_9::XalanMemMgrs::getDummyMemMgr()())),
    bool =
    true, int = eDefaultIndentAmount, bool = true, bool = false,
    xalanc_1_9::MemoryManagerType& =
    xalanc_1_9::XalanMemMgrs::getDefaultXercesMemMgr()())
    gmake[1]: *** [../../obj/process.o] Error 1
    gmake[1]: Leaving directory
    `/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc'
    gmake: *** [all] Error 2
     
    Avalon1178, Sep 2, 2005
    #1
    1. Advertising

  2. Go to the Xalan forums for answers...
    I think they can help you
     
    Tjerk Wolterink, Sep 3, 2005
    #2
    1. Advertising

  3. Avalon1178

    Avalon1178 Guest

    Tjerk Wolterink wrote:
    > Go to the Xalan forums for answers...
    > I think they can help you


    Do you know the name of the group or forum? The best that Google
    groups returned to me was this group, comp.text.xml....

    I emailed the Xalan dev list but haven't gotten any response from
    them...
     
    Avalon1178, Sep 3, 2005
    #3
  4. Avalon1178 wrote:

    > I emailed the Xalan dev list but haven't gotten any response from
    > them...


    If you have a problem specific to a processor then I think a mailing
    list (or forum) dedicated to that processor is the best place to ask,
    for Xalan C I think there are two lists, a user list and a developer list.
    I have searched the user list archive
    <http://marc.theaimsgroup.com/?l=xalan-c-users&w=2&r=1&s=linux+build&q=b>
    and it shows some existing threads so maybe you can find help there.
    The mailing lists for XML Apache projects are listed on
    <http://xml.apache.org/mail.html>.

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Sep 3, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AJ
    Replies:
    0
    Views:
    396
  2. Replies:
    2
    Views:
    3,307
    Malte
    Sep 1, 2005
  3. Dave In Redmond

    Re: Update to Python 2.3 on Red Hat Linux 9

    Dave In Redmond, Aug 29, 2003, in forum: Python
    Replies:
    1
    Views:
    414
    Jay Bromley
    Aug 30, 2003
  4. Bengt Richter
    Replies:
    4
    Views:
    350
    Bengt Richter
    Sep 1, 2003
  5. nymano
    Replies:
    9
    Views:
    546
    Greger
    Aug 26, 2005
Loading...

Share This Page