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.

tar xvfz xerces-c-current.tar.gz
tar xvfz icu-3.2.tgz
tar xvfz Xalan-C_current-src.tar.gz
cd icu
tar xvfz ../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
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++ -minmem -nsocket -ticu -rpthread
#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

Reply via email to