All -

I'm compiling from Xalan-C_1_4-src.tar.gz and xerces-c-src2_1_0.tar.gz
on a RH6.2 gcc/g++ 2.96 box. I'm following the outlines at:

http://xml.apache.org/xerces-c/build-winunix.html#UNIX
http://xml.apache.org/xalan-c/readme.html#jar

I'm aware I'm "exploring new grounds" by not compiling with g++ 3.1, and
wanted to know if anyone had successfully compiled against 2.96 or knows
how to correct the build Segfault I'm running into.

Environment variables set:
XERCESCROOT=/opt/xerces-c-src2_1_0
XALANCROOT=/opt/xml-xalan

[/opt/xml-xalan/c/src] ./runConfigure -p linux
Generating makefiles with the following options ...
Platform: linux
C Compiler: 
C++ Compiler: 
Extra compile options: 
Extra link options: 
Thread option: 
bitsToBuild option: 32
Extra configure options: 
Debug is OFF
I do not recognize the C++ compiler ''. Continuing anyway ...

creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  -O -DNDEBUG         ) works... yes
checking whether the C compiler (gcc  -O -DNDEBUG         ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  -O -DNDEBUG         ) works...
yes
checking whether the C++ compiler (c++  -O -DNDEBUG         ) is a
cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for autoconf... autoconf
checking for floor in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for XMLByte... no
checking host system type... i686-pc-linux-gnu
updating cache ./config.cache
creating ./config.status
creating Makefile

If the result of the above commands look OK to you, go to the directory
/opt/xml-xalan//src and type "make" to make the XALAN-C system.

# make
[ lots of making and churning ]
c++ -O -DNDEBUG      -Wall -fPIC -DLINUX -D_REENTRANT  -c -I.
-I/opt/xerces-c-src2_1_0/src/ -I/opt/xerces-c-src2_1_0/include/xercesc
-I/opt/xerces-c-src2_1_0/include/  -o
/opt/xml-xalan//obj/DoubleSupport.o PlatformSupport/DoubleSupport.cpp
PlatformSupport/DoubleSupport.cpp:830: Internal error: Segmentation 
fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make: *** [/opt/xml-xalan//obj/DoubleSupport.o] Error 1

Any suggestions are appreciated. I'm afraid I'm stuck.

Thanks for your time!


Reply via email to