You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by John Russell <jb...@onlywebdata.com> on 2005/07/20 14:59:45 UTC

Build on SuSE SLES 8 with ICU problem.

Hi
I'm trying to get support for function format-number() and have  
therefore attempted to install using ICU.

Here are the steps I took and how the make of Xalan failed on SuSE  
Linux using gcc. Any advice appreciated.

John.

rm -r icu
rm -r xerces-c-src_2_6_0
rm -r xml-xalan
tar xvfz /nfs/download/linux/intel/webtools03/xerces-c-current.tar.gz
tar xvfz /nfs/download/linux/intel/webtools03/icu-3.2.tgz
tar xvfz /nfs/download/linux/intel/webtools03/Xalan-C_current-src.tar.gz
cd icu
tar xvfz /nfs/download/linux/intel/webtools03/icu-3.2-patch.tgz
patch -p0 < icu-3.2-patch
cd source
chmod +x runConfigureICU configure install-sh
./runConfigureICU LinuxRedHat
make
make check
make install
cd ../..
export XERCESCROOT=/usr/webtools03/xerces-c-src_2_6_0
export ICUROOT=/usr/webtools03/icu
cd $XERCESCROOT/src/xercesc
autoconf
#./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -ticu -rpthread
./runConfigure -plinux -cgcc -xg++ -ticu
make
cd /usr/webtools03/
export XALANCROOT=/usr/webtools03/xml-xalan/c
export XALAN_USE_ICU=true
export LD_LIBRARY_PATH=$ICUROOT/source/lib
cd xml-xalan/c
chmod +x runConfigure configure install-sh
./runConfigure -plinux -cgcc -xg++ -ticu
#make clean
make
make install


g++ -O2 -DNDEBUG -I/usr/webtools03/icu/include    -fno-elide- 
constructors -Wall -fPIC -DLINUX -D_REENTRANT - 
DXALAN_INMEM_MSG_LOADER -DXALAN_USE_ICU -c -I/usr/webtools03/xml- 
xalan/c/src -I/usr/webtools03/xml-xalan/c/include -I../../nls/include  
-I/usr/webtools03/xerces-c-src_2_6_0/src/ -I/usr/webtools03/xerces-c- 
src_2_6_0/include/xercesc -I/usr/webtools03/xerces-c-src_2_6_0/ 
include/ -I/usr/webtools03/icu/include  -o ../../obj/process.o /usr/ 
webtools03/xml-xalan/c/src/xalanc/TestXSLT/process.cpp
/usr/webtools03/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*&)':
/usr/webtools03/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&)'
/usr/webtools03/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp: 
224: candidates
    are: xalanc_1_9::FormatterToText::FormatterToText(const
    xalanc_1_9::FormatterToText&)
/usr/webtools03/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()())
/usr/webtools03/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()())
/usr/webtools03/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp: 
54:

    xalanc_1_9::FormatterToText::FormatterToText 
(xalanc_1_9::MemoryManagerType&
    = xalanc_1_9::XalanMemMgrs::getDefaultXercesMemMgr()())
/usr/webtools03/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&)'
/usr/webtools03/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.hpp: 
51: candidates
    are: xalanc_1_9::FormatterToHTML::FormatterToHTML(const
    xalanc_1_9::FormatterToHTML&)
/usr/webtools03/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()())
make[1]: *** [../../obj/process.o] Error 1
make[1]: Leaving directory `/usr/webtools03/xml-xalan/c/src/xalanc'
make: *** [all] Error 2





---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: Build on SuSE SLES 8 with ICU problem.

Posted by da...@us.ibm.com.
> Hi
> I'm trying to get support for function format-number() and have 
> therefore attempted to install using ICU.
> 
> Here are the steps I took and how the make of Xalan failed on SuSE 
> Linux using gcc. Any advice appreciated.

You will need to get a nightly tarball as these problems are fixed in the 
latest code.

http://cvs.apache.org/snapshots/xml-xalan/

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org