DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27049>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27049 Build problem on older Redhat Summary: Build problem on older Redhat Product: XalanC Version: 1.7 Platform: Other OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I'm trying to build Xalan-C++ on an older machine (very specific reasons for doing so) and am having trouble compiling Xalan-C++ version 1.7. I had no trouble building Xerces version 2.4.0. Following: http://xml.apache.org/xalan-c/readme.html#unix I also checked <http://marc.theaimsgroup.com/?l=xalan-dev>, but couldn't find anything similar. -- Sources -- Xalan-C_1_7_0-src.tar.gz xerces-c-current.tar.gz (xerces-c-src2_4_0) -- System Specifics -- GNU Make version 3.79.1 egcs-2.91.66 automake (GNU automake) 1.4-p5 Autoconf version 2.13 (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37) glibc-2.1.3 -- Configure Line -- ./runConfigure -p linux -c gcc -x c++ -P /opt/xml-xalan -- Environment -- XERCESCROOT=/opt/src/xalan-021804/xerces-c-src2_4_0 XALANCROOT=/opt/src/xalan-021804/xml-xalan/c ld.so.conf - Includes /opt/xerces-c-src2_4_0/lib -- runConfigure output -- Generating makefiles with the following options ... Platform: linux C Compiler: gcc C++ Compiler: c++ Extra compile options: Extra link options: Transcoder: default Localization system: inmem Locale: en_US Thread option: bitsToBuild option: 32 Extra configure options: --prefix=/opt/xml-xalan Debug is OFF checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for autoconf... autoconf checking whether -fno-elide-constructors works correctly... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for floor in -lm... yes checking how to run the C++ preprocessor... c++ -E checking for egrep... grep -E checking for ANSI C header files... yes checking for mbstowcs... yes checking if mbstowcs can count only... yes configure: creating ./config.status config.status: creating Makefile.incl config.status: creating Makefile config.status: creating src/xalanc/Makefile config.status: creating src/xalanc/Utils/Makefile config.status: creating src/xalanc/Utils/MsgCreator/Makefile config.status: creating src/xalanc/Utils/XalanMsgLib/Makefile config.status: creating samples/Makefile config.status: creating Tests/Makefile If the result of the above commands look OK to you, go to the directory /opt/src/xalan-021804/xml-xalan/c and type "gmake" or "make" to make the XALAN-C system. -- Make Output -- make -C src/xalanc all make[1]: Entering directory `/opt/src/xalan-021804/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 `/opt/src/xalan-021804/xml-xalan/c/src/xalanc/Utils' mkdir -p ../../../nls mkdir -p ../../../nls/include make[2]: Leaving directory `/opt/src/xalan-021804/xml-xalan/c/src/xalanc/Utils' make -C Utils locale make[2]: Entering directory `/opt/src/xalan-021804/xml-xalan/c/src/xalanc/Utils' ../../../bin/MsgCreator /opt/src/xalan-021804/xml-xalan/c/src/xalanc/NLS/en_US/XalanMsg_en_US.xlf -TYPE INMEM -LOCALE en_US make -C XalanMsgLib make[3]: Entering directory `/opt/src/xalan-021804/xml-xalan/c/src/xalanc/Utils/XalanMsgLib' c++ -O2 -DNDEBUG -fno-elide-constructors -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/opt/src/xalan-021804/xml-xalan/c/src -I/opt/src/xalan-021804/xml-xalan/c/include -I../../../../nls/include -I/opt/src/xalan-021804/xerces-c-src2_4_0/src/ -I/opt/src/xalan-021804/xerces-c-src2_4_0/include/xercesc -I/opt/src/xalan-021804/xerces-c-src2_4_0/include/ -o ../../../../obj/XalanMsgLib.o /opt/src/xalan-021804/xml-xalan/c/src/xalanc/Utils/XalanMsgLib/XalanMsgLib.cpp c++ -O2 -DNDEBUG -fno-elide-constructors -Wl,-soname,libxalanMsg.so.17 -DLINUX -shared -fPIC -lm -lpthread -L/opt/src/xalan-021804/xerces-c-src2_4_0/lib -lxerces-c ../../../../obj/XalanMsgLib.o -o ../../../../lib/libxalanMsg.so.17.0 ln -fs libxalanMsg.so.17.0 ../../../../lib/libxalanMsg.so ln -fs libxalanMsg.so.17.0 ../../../../lib/libxalanMsg.so.17 make[3]: Leaving directory `/opt/src/xalan-021804/xml-xalan/c/src/xalanc/Utils/XalanMsgLib' make[2]: Leaving directory `/opt/src/xalan-021804/xml-xalan/c/src/xalanc/Utils' c++ -O2 -DNDEBUG -fno-elide-constructors -Wall -fPIC -DLINUX -D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/opt/src/xalan-021804/xml-xalan/c/src -I/opt/src/xalan-021804/xml-xalan/c/include -I../../nls/include -I/opt/src/xalan-021804/xerces-c-src2_4_0/src/ -I/opt/src/xalan-021804/xerces-c-src2_4_0/include/xercesc -I/opt/src/xalan-021804/xerces-c-src2_4_0/include/ -o ../../obj/XalanDOMString.o /opt/src/xalan-021804/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp /opt/src/xalan-021804/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp: In method `class ::xalanc_1_7::XalanDOMString & ::xalanc_1_7::XalanDOMString::assign(const XalanDOMChar *, const XalanDOMChar *)': /opt/src/xalan-021804/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp:315: no matching function for call to `vector<short unsigned int,__default_alloc_template<true,0> >::assign (const XalanDOMChar *&, const XalanDOMChar *&)' make[1]: *** [../../obj/XalanDOMString.o] Error 1 make[1]: Leaving directory `/opt/src/xalan-021804/xml-xalan/c/src/xalanc' make: *** [all] Error 2
