Moin, moin
On Wed, Feb 14, 2001 at 10:16:42PM +0100, Yves Bastide wrote:
> > > The problem seems to come from libstdc++, at least on my Debian
> > > unstable machine.. It's the parsing of the log file which is excruciating
> > > slow, IIRC.
> I think it's the getline() call in the while loop, in LaTeX::scanLogFile
> (src/LaTeX.C), which scans the .log file produced. But I never bothered to
> investigate (with at least the debug versions of the libraries, since
> I thought I was the only person affected, and using stlport solved this
> problem... :-)
I have investigated this a bit. The method (?) LaTeX::scanLogFile is
realy fast for me. There is no time problem.
The time was consumed in LaTeX:run with the following calls:
- head.insert(file,true);
- deplog(head);
- head.update();
Each of this calls needs 5-10 minutes on my Pentium III 800.
> > I have installed libstlport, libstlport-dbg & libstlport-dev 4.1
> > Can you give me a hint how to use this lib?
> I think this will do the trick:
> $ CPPFLAGS=-I/usr/include/stlport LIBS=-lstlport ./configure <your usual flags>
> Oh, I forgot: this is STLport 4.1beta, and there is a bug in
> /usr/include/stlport/stl/_istream.h. Fix attached.
Ok, thank you for this hint. But I think it's not a good way to make lyx
depend on a beta library that needs Bugfixes. I will try that later, if
there is no other solution.
At the moment I am compiling lyx-1.1.6fix1 on my stable debian2.2 box
with libstdc++2.10. Maybe the problem does not occurre with this older
library. It will take some time, because of the slower cpu. I will
report afterwards.
Bernd