Hi also, have you tried xerces-c_2_3_0-linux7.2_s390.tar.gz
? Gareth On Fri, 5 Sep 2003, [EMAIL PROTECTED] wrote: > Hi, Everyone! > > I ran into a problem compiling Xerces-C package. I'm not much of a Linux person (and > not quite C guru as well), so need your help! I need to install Xerces-C package on > a Linux box (RedHat 8.0, but can't tell for 100%. Prob. it's 7.2). First i tired > precompiled packages (linux_proton), but it turned out that they r depending on > Intel compiler libraries. Next i tried to install binaries for SuSE. But they rely > on stdlib v.5 (libstdc++.so.5), which AFA i know doesn't come with gcc 2.96 i have > installed (the version of stdc++ library on my machine is 2.9). So, i downloaded the > source and tried to compile. But compilation crashed with this error: > > ============================= > gmake[1]: Entering directory > `/export/home/volenin/xerces-c-src_2_3_0/src/xercesc/parsers' > mkdir -p /export/home/volenin/xerces-c-src2_3_0/include/xercesc/parsers > cp -fp AbstractDOMParser.hpp DOMBuilderImpl.hpp XercesDOMParser.hpp SAXParser.hpp > SAX2XMLReaderImpl.hpp /export/home/volenin/xerces-c-src2_3_0/include/xercesc/parsers > g++ -fPIC -DLINUX -D_REENTRANT -c -I/export/home/volenin/xerces-c-src2_3_0/include > -I/export/home/volenin/xerces-c-src2_3_0/src -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL > -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS > -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS > -DXML_USE_NETACCESSOR_SOCKET -o > /export/home/volenin/xerces-c-src2_3_0/obj/LINUX/AbstractDOMParser.o > AbstractDOMParser.cpp > AbstractDOMParser.cpp:81:44: xercesc/dom/impl/DOMAttrImpl.hpp: No such file or > directory > AbstractDOMParser.cpp:84:44: xercesc/dom/impl/DOMTextImpl.hpp: No such file or > directory > AbstractDOMParser.cpp:85:48: xercesc/dom/impl/DOMDocumentImpl.hpp: No such file or > directory > AbstractDOMParser.cpp:86:52: xercesc/dom/impl/DOMDocumentTypeImpl.hpp: No such file > or directory > AbstractDOMParser.cpp:88:47: xercesc/dom/impl/DOMElementImpl.hpp: No such file or > directory > AbstractDOMParser.cpp:89:46: xercesc/dom/impl/DOMEntityImpl.hpp: No such file or > directory > AbstractDOMParser.cpp:90:55: xercesc/dom/impl/DOMEntityReferenceImpl.hpp: No such > file or directory > AbstractDOMParser.cpp:91:48: xercesc/dom/impl/DOMNotationImpl.hpp: No such file or > directory > AbstractDOMParser.cpp:94:61: xercesc/dom/impl/DOMProcessingInstructionImpl.hpp: No > such file or directory > AbstractDOMParser.cpp:95:45: xercesc/dom/impl/DOMNodeIDMap.hpp: No such file or > directory > gmake[1]: *** [AbstractDOMParser.o] Error 1 > gmake[1]: Leaving directory > `/export/home/volenin/xerces-c-src_2_3_0/src/xercesc/parsers' > gmake: *** [Parsers] Error 2 > ================================ > > though all hpp files are there (not though in > /export/home/volenin/xerces-c-src_2_3_0/src/xercesc/parsers, but in original source > dir). I tried to look up this kind of problems in this list and in the interent, but > couldn't find anything. My gcc compiler version is 2.96. And i followed the > instructions from build.html page closely (used 'most common' config params for > runConfigure script as well) (below is the printout of runConfigure script). > > Thanks a lot for any suggestions!!!!! > > PS: if anyone can point me to the binary distrib. of the xerces-c for 32-bit Linux > with 2.96 gnu gcc compiler, please, let me know. > > ================================= > [EMAIL PROTECTED] xercesc]$ ./runConfigure -plinux -cgcc -xg++ -minmem -nsocket > -tnative -rpthread > Generating makefiles with the following options ... > Platform: linux > C Compiler: gcc > C++ Compiler: g++ > Message Loader: inmem > Net Accessor: socket > Transcoder: native > Thread option: pthread > bitsToBuild option: 32 > Extra compile options: > Extra link options: > Extra configure options: > Debug is OFF > > creating cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL > -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS > -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS > -DXML_USE_NETACCESSOR_SOCKET ) works... yes > checking whether the C compiler (gcc -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL > -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS > -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS > -DXML_USE_NETACCESSOR_SOCKET ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for c++... g++ > checking whether the C++ compiler (g++ -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL > -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS > -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS > -DXML_USE_NETACCESSOR_SOCKET ) works... yes > checking whether the C++ compiler (g++ -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL > -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS > -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS > -DXML_USE_NETACCESSOR_SOCKET ) is a cross-compiler... no > checking whether we are using GNU C++... yes > checking whether g++ accepts -g... yes > checking for a BSD compatible install... /usr/bin/install -c > checking for autoconf... autoconf > 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 > creating util/Makefile > creating util/Transcoders/Cygwin/Makefile > creating util/Transcoders/ICU/Makefile > creating util/Transcoders/Iconv/Makefile > creating util/Transcoders/Iconv390/Makefile > creating util/Transcoders/Uniconv390/Makefile > creating util/Transcoders/Iconv400/Makefile > creating util/Transcoders/IconvFBSD/Makefile > creating util/Transcoders/IconvGNU/Makefile > creating util/Transcoders/MacOSUnicodeConverter/Makefile > creating util/Platforms/Makefile > creating util/Platforms/Solaris/Makefile > creating util/Platforms/AIX/Makefile > creating util/Platforms/BeOS/Makefile > creating util/Platforms/QNX/Makefile > creating util/Platforms/Linux/Makefile > creating util/Platforms/FreeBSD/Makefile > creating util/Platforms/NetBSD/Makefile > creating util/Platforms/HPUX/Makefile > creating util/Platforms/OS390/Makefile > creating util/Platforms/OS400/Makefile > creating util/Platforms/IRIX/Makefile > creating util/Platforms/PTX/Makefile > creating util/Platforms/OpenServer/Makefile > creating util/Platforms/UnixWare/Makefile > creating util/Platforms/Tru64/Makefile > creating util/Platforms/MacOS/Makefile > creating util/Platforms/Win32/Makefile > creating util/Compilers/Makefile > creating util/MsgLoaders/InMemory/Makefile > creating util/MsgLoaders/ICU/Makefile > creating util/MsgLoaders/ICU/resources/Makefile > creating util/MsgLoaders/MsgCatalog/Makefile > creating util/MsgLoaders/MsgFile/Makefile > creating util/NetAccessors/Socket/Makefile > creating util/NetAccessors/libWWW/Makefile > creating util/NetAccessors/MacOSURLAccessCF/Makefile > creating util/regx/Makefile > creating validators/Makefile > creating validators/common/Makefile > creating validators/datatype/Makefile > creating validators/DTD/Makefile > creating validators/schema/Makefile > creating validators/schema/identity/Makefile > creating framework/Makefile > creating dom/Makefile > creating dom/impl/Makefile > creating dom/deprecated/Makefile > creating parsers/Makefile > creating internal/Makefile > creating sax/Makefile > creating sax2/Makefile > creating ../../obj/Makefile > > Having build problems? > Read instructions at http://xml.apache.org/xerces-c/build.html > Still cannot resolve it? > Find out if someone else had the same problem before. > Go to http://marc.theaimsgroup.com/?l=xerces-c-dev > > In future, you may also directly type the following commands to create the Makefiles. > > export TRANSCODER="NATIVE" > export MESSAGELOADER="INMEM" > export NETACCESSOR="Socket" > export THREADS="pthread" > export BITSTOBUILD="32" > export CC="gcc" > export CXX="g++" > export CXXFLAGS=" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C > -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER > -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET " > export CFLAGS=" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C > -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER > -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET " > export LDFLAGS=" " > export LIBS=" -lpthread " > configure > > If the result of the above commands look OK to you, go to the directory > > 1 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- Gareth Reakes, Head of Product Development +44-1865-203192 DecisionSoft Limited http://www.decisionsoft.com XML Development and Services --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]