[Slackbuilds-users] lyx_qt4 slackbuild fails during make

Robby Workman rworkman at slackbuilds.org
Thu Jan 3 04:16:05 UTC 2008

I just built lyx-1.5.3 against qt4 on an otherwise stock Slackware
12.0 system (boost + qt4 from SBo are the only non-stock packages
on it).  It works here, so that weakens the idea of a gcc bug, but
doesn't rule it out.   More on that later...

Bob Lounsbury wrote:
> Ok, I took out that additional memory stick and received a similar
> internal compiler error. I have two other memory sticks in this
> computer, but they've been running perfectly fine for a few years. Do
> you really think the problem could be a memory stick? Even with the
> other memory stick I just took out I installed over 20 packages from
> SlackBuild including OpenOffice, Kaffeine, Adobe Reader, K9Copy, etc,.

Well, am I sure?  No, not at all, especially if you have been (and
still are) able to compile other large source packages.

> If the problem is a compiler bug, what do I do? As I said I'm pretty
> new to all of this.

Well, there's the information at http://gcc.gnu.org/bugs.html (which
is linked in the build log).  To be honest, I'm not even sure about
some of what they want there, but we might have to just wing it.

Before doing that, try changing the SLKCFLAGS from -O2 ... to -O0
and doing the build again.

> I've attached the log file again. Do I need to do some sort of make
> clean or something to erase it's previous memory?

Well, no - the build script should remove the contents of the
source directory.  If it's not, then yeah, do that.

One other point: you mentioned some other package you had installed.
Try removing it before building lyx - maybe there's something in there
that lyx is trying to link and that's triggering the bug.  It's a long
shot, but at this point, I'm pretty much out of ideas.


More information about the Slackbuilds-users mailing list