From mboxrd@z Thu Jan 1 00:00:00 1970 From: "richard offer" To: docbook-tools-discuss@sourceware.cygnus.com Subject: Failing to build jade on Mandrake 7.0 Date: Mon, 12 Jun 2000 12:03:00 -0000 Message-ID: <1000612120312.ZM263576@sgi.com> X-SW-Source: 2000-q2/msg00014.html Message-ID: <20000612120300.tRCi7qWqh_yyyPnOOl5CahAZ-iM-5Q5LdRGlVpuyWLk@z> Hi, Upto now I've been running DocBook on my local machine (Redhat 6.1/6.2) and it builds and runs excellently. But now I have to move everything across to our group's main build server as I get ready for pushing my project out to a wider audience, and the server runs Mandrake 7.0 (no, don't ask). To allow for flexibilty, I'm packaing up my docbook CVS tree into a SRPM for building on the server. (I need to build it from scratch as I've had to make changes to the texmf.cnf file to increase the sizes by a lot.) I'm hitting the same bug that Scott Bambrough saw in a posting on Dec 21, namely [ valkyrie 2.2.14 ] make make[1]: Entering directory `/home/offer/rpm/BUILD/jade-1.2.1/jade' make[2]: Entering directory `/home/offer/rpm/BUILD/jade-1.2.1/jade/lib' c++ -ansi -O2 -fno-implicit-templates -I. -I./../include -I./../generic -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -Dconst= -Dinline= -DHAVE_ST_BLKSIZE=1 -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/usr/lib/sgml/CATALOG\" -c -fPIC -DPIC CharsetInfo.cxx In file included from ../include/CharsetInfo.h:11, from CharsetInfo.cxx:8: ../include/Vector.h: In instantiation of `Vector >': ../include/RangeMap.h:27: instantiated from `RangeMap' ../include/UnivCharsetDesc.h:73: instantiated from here ../include/Vector.h:50: `Vector >::operator [](unsigned int)' has already been declared in `Vector >' ../include/Vector.h:52: `Vector >::begin()' has already been declared in `Vector >' ../include/Vector.h:54: `Vector >::back()' has already been declared in `Vector >' ../include/Vector.h: In instantiation of `Vector >': ../include/ISet.h:25: instantiated from `ISet' CharsetInfo.cxx:89: instantiated from here ../include/Vector.h:50: `Vector >::operator [](unsigned int)' has already been declared in `Vector >' ../include/Vector.h:52: `Vector >::begin()' has already been declared in `Vector >' ../include/Vector.h:54: `Vector >::back()' has already been declared in `Vector >' ../include/Vector.h: In instantiation of `Vector >': ../include/ISet.h:25: instantiated from `ISet' CharsetInfo.cxx:105: instantiated from here ../include/Vector.h:50: `Vector >::operator [](unsigned int)' has already been declared in `Vector >' ../include/Vector.h:52: `Vector >::begin()' has already been declared in `Vector >' ../include/Vector.h:54: `Vector >::back()' has already been declared in `Vector >' ../include/StringOf.h: In instantiation of `String': CharsetInfo.cxx:129: instantiated from here ../include/StringOf.h:38: `String::operator [](unsigned int)' has already been declared in `String' ../include/StringOf.h:40: `String::begin()' has already been declared in `String' make[2]: *** [CharsetInfo.lo] Error 1 make[2]: Leaving directory `/home/offer/rpm/BUILD/jade-1.2.1/jade/lib' make[1]: *** [lib] Error 2 make[1]: Leaving directory `/home/offer/rpm/BUILD/jade-1.2.1/jade' This is a compiler issue, Redhat runs egcs-1.1.2, but Mandrake uses gcc-2.95, and my C++ is lousy enough that I'm not sure I can diagnose it in a reasonable timeframe. I doubt I can get the server changed without a better case than docbook wont build ("So, don't use it then". "Ahhh!" ). Anybody got any suggestions/fixes ? richard. ----------------------------------------------------------------------- Richard Offer Widget FAQ --> http://reality.sgi.com/widgetFAQ MTS-Core Design (Motif) ___________________________________________ http://reality.sgi.com/offer