Axel Weiß wrote:
Hi,

I'm trying to compile xalan from svn sources and get an error message that I cannot understand. Can someone clear me up with this? I'm running a 64-bit linux (SuSE-10.1) and compiled/installed xerces-3.0 (from svn) prior.

I did the following:
1. Edit Makefile.incl.in line 73, in order to link to xerces-3.0:
--- XERCES_LIB = -L$(XERCESCROOT)/lib -lxerces-c
+++ XERCES_LIB = -L$(XERCESCROOT)/lib -lxerces

2. set XALANCROOT to <path-of-xalan-svn>/trunk
3. set XERCESCROOT to to /usr/local
4. cd $XALANCROOT
5. ./runConfigure -p linux -c gcc -x g++ -b 64 -l -L/usr/local/lib -l -lpthread
6. make
[...]
make[3]: Entering directory `<path-of-xalan-svn>/trunk/src/xalanc/Utils/MsgCreator'
[...]
g++ -DLINUX -fPIC -L/usr/local/lib -lpthread   -DXALAN_INMEM_MSG_LOADER   \
-lm -lpthread -L/usr/local/lib -lxerces ../../../../obj/MsgFileOutputStream.o ../../../../obj/ICUResHandler.o ../../../../obj/InMemHandler.o ../../../../obj/MsgCreator.o ../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o -o ../../../../bin/MsgCreator make[3]: Leaving directory `/fast/axel/xalan/svn/trunk/src/xalanc/Utils/MsgCreator' ../../../bin/MsgCreator /fast/axel/xalan/svn/trunk/src/xalanc/NLS/en_US/XalanMsg_en_US.xlf -TYPE inmem -LOCALE en_US

Fatal Error at file /fast/axel/xalan/svn/trunk/src/xalanc/NLS/en_US/XalanMsg_en_US.xlf, line 20, char 19
  Message: make[2]: *** [../../../nls/include/LocalMsgData.hpp] Error 8

I have no idea what could be wrong here. The file XalanMsg_en_US.xlf seems to be sane, don't know anything about 'Error 8'. Who can help?

It looks like the .xlf file might be corrupt and Xerces-C is complaining during the parse. Can you look at XalanMsg_en_US.xlf and see if there's anything on line 20 that looks suspicious?

I just built the sources from SVN recently and did not have any problems.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to