You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by al...@cwazy.co.uk on 2004/10/24 20:08:48 UTC

compiling xalan on aix

Hi,

I'm trying to compile xalan on aix but for some reason I get an error,
here is the make output...

make -C src/xalanc all
make[1]: Entering directory `/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc'
Preparing the directory structure for a build ...
mkdir -p ../../obj
mkdir -p ../../lib
mkdir -p ../../bin
make -C Utils prepare
make[2]: Entering directory
`/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Util
s'
mkdir -p ../../../nls
mkdir -p ../../../nls/include
make[2]: Leaving directory
`/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Utils
'
make -C Utils locale
make[2]: Entering directory
`/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Util
s'
../../../bin/MsgCreator
/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/NLS/en_US
/XalanMsg_en_US.xlf -TYPE INMEM -LOCALE en_US
make[2]: *** [../../../nls/include/LocalMsgData.hpp] IOT/Abort trap (core
dumped
)
make[2]: Leaving directory
`/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Utils
'
make[1]: *** [locale] Error 2
make[1]: Leaving directory `/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc'
make: *** [all] Error 2

What is the msgcreator?
How can I avoid that problem, I'm using xerces2.6 because I didn't find
2.5 and thought it should work anyway.

Thanks alot.
Alice.


Re: compiling xalan on aix

Posted by da...@us.ibm.com.
> I'm using xalan1.8... There should be no problem
> compiling it with xerces2.6, right? It worked
> fine on windows... Do you have any suggestions
> why the MsgCreator crashes?

There should be no problem using Xalan-C 1.8 with Xerces-C 2.6, although 
you should make sure you build Xerces from the source distribution.

We need to know what version of AIX you're using, and whether or not it's 
32-bit or 64-bit.  Also, we need to know the compiler and version you are 
using.

This looks very much like a bug with GCC we've seen on other platforms. 
You might try running the MsgCreator executable with the correct arguments 
outside of the make environment, to see if you get more information.  If 
you do, then please post it.  Otherwise, try running MsgCreator with gdb, 
and get the stack trace where it crashes, and post that.  This looks very 
much like a compiler/loader bug, because this code works fine on other 
platforms.

Dave

Re: compiling xalan on aix

Posted by al...@cwazy.co.uk.
I'm using xalan1.8... There should be no problem compiling it with
xerces2.6, right? It worked fine on windows...
Do you have any suggestions why the MsgCreator crashes?

Thanks!

> What version of Xalan are you using?  To find Xerces 2.5, you should go to
> the Xerces archive:
> http://archive.apache.org/dist/xml/xerces-c/Xerces-C_2_5_0/
>
> Cheers,
> June K. Ng
> XSLT Development
> Email: june@ca.ibm.com
>
>
>
>
> alice@cwazy.co.uk
> 10/24/2004 02:08 PM
> Please respond to
> xalan-c-users
>
>
> To
> xalan-c-users@xml.apache.org
> cc
>
> Subject
> compiling xalan on aix
>
>
>
>
>
>
> Hi,
>
> I'm trying to compile xalan on aix but for some reason I get an error,
> here is the make output...
>
> make -C src/xalanc all
> make[1]: Entering directory
> `/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc'
> Preparing the directory structure for a build ...
> mkdir -p ../../obj
> mkdir -p ../../lib
> mkdir -p ../../bin
> make -C Utils prepare
> make[2]: Entering directory
> `/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Util
> s'
> mkdir -p ../../../nls
> mkdir -p ../../../nls/include
> make[2]: Leaving directory
> `/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Utils
> '
> make -C Utils locale
> make[2]: Entering directory
> `/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Util
> s'
> ../../../bin/MsgCreator
> /home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/NLS/en_US
> /XalanMsg_en_US.xlf -TYPE INMEM -LOCALE en_US
> make[2]: *** [../../../nls/include/LocalMsgData.hpp] IOT/Abort trap (core
> dumped
> )
> make[2]: Leaving directory
> `/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Utils
> '
> make[1]: *** [locale] Error 2
> make[1]: Leaving directory
> `/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc'
> make: *** [all] Error 2
>
> What is the msgcreator?
> How can I avoid that problem, I'm using xerces2.6 because I didn't find
> 2.5 and thought it should work anyway.
>
> Thanks alot.
> Alice.
>
>
>



Re: compiling xalan on aix

Posted by June Ng <ju...@ca.ibm.com>.
What version of Xalan are you using?  To find Xerces 2.5, you should go to 
the Xerces archive: 
http://archive.apache.org/dist/xml/xerces-c/Xerces-C_2_5_0/

Cheers,
June K. Ng
XSLT Development
Email: june@ca.ibm.com




alice@cwazy.co.uk 
10/24/2004 02:08 PM
Please respond to
xalan-c-users


To
xalan-c-users@xml.apache.org
cc

Subject
compiling xalan on aix






Hi,

I'm trying to compile xalan on aix but for some reason I get an error,
here is the make output...

make -C src/xalanc all
make[1]: Entering directory 
`/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc'
Preparing the directory structure for a build ...
mkdir -p ../../obj
mkdir -p ../../lib
mkdir -p ../../bin
make -C Utils prepare
make[2]: Entering directory
`/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Util
s'
mkdir -p ../../../nls
mkdir -p ../../../nls/include
make[2]: Leaving directory
`/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Utils
'
make -C Utils locale
make[2]: Entering directory
`/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Util
s'
../../../bin/MsgCreator
/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/NLS/en_US
/XalanMsg_en_US.xlf -TYPE INMEM -LOCALE en_US
make[2]: *** [../../../nls/include/LocalMsgData.hpp] IOT/Abort trap (core
dumped
)
make[2]: Leaving directory
`/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc/Utils
'
make[1]: *** [locale] Error 2
make[1]: Leaving directory 
`/home/ftp/pub/sympkcs11/xml-xalan/c/src/xalanc'
make: *** [all] Error 2

What is the msgcreator?
How can I avoid that problem, I'm using xerces2.6 because I didn't find
2.5 and thought it should work anyway.

Thanks alot.
Alice.