This is the mail archive of the docbook-tools-discuss@sourceware.cygnus.com mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Failing to build jade on Mandrake 7.0



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<RangeMapRange<unsigned
int,unsigned int> >':
../include/RangeMap.h:27:   instantiated from `RangeMap<unsigned int,unsigned
int>'
../include/UnivCharsetDesc.h:73:   instantiated from here
../include/Vector.h:50: `Vector<RangeMapRange<unsigned int,unsigned int>
>::operator [](unsigned int)' has already been declared in
`Vector<RangeMapRange<unsigned int,unsigned int> >'
../include/Vector.h:52: `Vector<RangeMapRange<unsigned int,unsigned int>
>::begin()' has already been declared in `Vector<RangeMapRange<unsigned
int,unsigned int> >'
../include/Vector.h:54: `Vector<RangeMapRange<unsigned int,unsigned int>
>::back()' has already been declared in `Vector<RangeMapRange<unsigned
int,unsigned int> >'
../include/Vector.h: In instantiation of `Vector<ISetRange<unsigned int> >':
../include/ISet.h:25:   instantiated from `ISet<unsigned int>'
CharsetInfo.cxx:89:   instantiated from here
../include/Vector.h:50: `Vector<ISetRange<unsigned int> >::operator [](unsigned
int)' has already been declared in `Vector<ISetRange<unsigned int> >'
../include/Vector.h:52: `Vector<ISetRange<unsigned int> >::begin()' has already
been declared in `Vector<ISetRange<unsigned int> >'
../include/Vector.h:54: `Vector<ISetRange<unsigned int> >::back()' has already
been declared in `Vector<ISetRange<unsigned int> >'
../include/Vector.h: In instantiation of `Vector<ISetRange<short unsigned int>
>':
../include/ISet.h:25:   instantiated from `ISet<short unsigned int>'
CharsetInfo.cxx:105:   instantiated from here
../include/Vector.h:50: `Vector<ISetRange<short unsigned int> >::operator
[](unsigned int)' has already been declared in `Vector<ISetRange<short unsigned
int> >'
../include/Vector.h:52: `Vector<ISetRange<short unsigned int> >::begin()' has
already been declared in `Vector<ISetRange<short unsigned int> >'
../include/Vector.h:54: `Vector<ISetRange<short unsigned int> >::back()' has
already been declared in `Vector<ISetRange<short unsigned int> >'
../include/StringOf.h: In instantiation of `String<short unsigned int>':
CharsetInfo.cxx:129:   instantiated from here
../include/StringOf.h:38: `String<short unsigned int>::operator [](unsigned
int)' has already been declared in `String<short unsigned int>'
../include/StringOf.h:40: `String<short unsigned int>::begin()' has already
been declared in `String<short unsigned int>'
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]