[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with sgmltools 2.0.2 (+?)



Hi Hugo:

I've tried getting the latest version of the sgmltools, following Mark's
instructions in the HOWTO-HOWTO, and it looks like I'm getting the source okay.
However, the sgmltools/VERSION file still contains the number 2.0.2, so I'm not
100% sure I'm getting the absolute latest version.

Anyways, there are a couple of problems that I seem to be stumbling into trying
to get the whole thing to compile:

1) I've read in the INSTALL instructions that gcc 2.8 may fail to compile
sgmltools, and the recommendation was to use gcc 2.7. Ages ago, I switched to
gcc 2.95.2; these days, even the kernel compiles with it (heh). I'm not
relishing the thought of trying to set up my system to include both versions of
gcc. Do you know whether the following warnings (one set; there are other
similar warnings) result from using a recent version of gcc?

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> >'

2) Cees de Groot mentions in tools/makerpms.sh:

#  This walks through the packagelist, runs make for every package
#  and finally calls my hacked version of 'rpm' which accepts a
#  -bx switch (which does an install and then builds a binary package,
#  a sort of short-circuiting that isn't allowed with plain rpm).

Sure enough, my attempt to make sgmltools fails with the following error:

error 512 running RPM command
make: *** [.deps/build-jade] Error 1

Since I don't know where to get Cees' hacked version of RPM (and I'm not too
sure that I would want to have it installed on my system anyways), would it be
possible to rewrite the makerpms.sh script so that it doesn't use the hack? I
imagine this would make the package a little more usable, at least for me.

I really do like the goal of the sgmltools project, and hope that it helps
sort out the difficulties that come up when we try to pull together all of the
pieces necessary for Docbook. The interactions between the tools can be pretty
complex, so we need something like the sgmltools project to help the LDP in its
migration towards Docbook source.

Thanks,
Dan

On Tue, 09 May 2000, Hugo.van.der.Kooij@caiw.nl wrote:
> On Tue, 9 May 2000, Roel van Meer wrote:
> 
> > Can anyone give me a few hints on this? I have installed sgmltools 2.0.2,
> > and I have read the Docbook HOWTO, but I don't feel like diving in that
> > subject too deep. I think it just has to work. (I'm playing with LDAP, not
> > with Docbook..)
> 
> the sgmltool 2.0.2 are not working well. If you pick up the latest CVS
> code things will go much smoother.
> 
> And a Dutch description of how to setup a working environment can be found
> on http://doc.nllgg.nl/ along with a RPM package made from the CVS source.
> (also available as TAR ball. ;-)
> 
> Hugo.
> 
> -- 
> Hugo van der Kooij; Oranje Nassaustraat 16; 3155 VJ  Maasland
> hvdkooij@caiw.nl   http://home.kabelfoon.nl/~hvdkooij/
> --------------------------------------------------------------
> Quoting this tagline is illegal! (http://www.dtcc.edu/cs/rfc1855.html)
> 
> 
> --  
> To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-- 
-----------------------
Dan Scott,
Friend of the abnormal.


--  
To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org