emerge koffice failed

Anything that pertains to Portage

Moderator: Moderators

Post Reply
billyrose
Baby Hen
Posts: 5
Joined: Mon Sep 03, 2007 2:27

emerge koffice failed

Post by billyrose » Wed Sep 19, 2007 8:19

Here is the stack:

* You need to build x11-libs/qt with opengl use flag enabled.
*
* ERROR: app-office/koffice-1.6.3-r1 failed.
* Call stack:
* ebuild.sh, line 1670: Called dyn_setup
* ebuild.sh, line 719: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* koffice-1.6.3-r1.ebuild, line 68: Called die

How do I get qt to build in the fashion required?

momocore
Simple Hen
Posts: 96
Joined: Thu Jul 05, 2007 13:27

Re: emerge koffice failed

Post by momocore » Wed Sep 19, 2007 11:09

It looks like you have to edit you /etc/make.conf file and add some common USE flags.

As root, open up your favorite text editor.

Code: Select all

sudo kate /etc/make.conf


In the big section, where it starts with USE=, add the following:

Code: Select all

qt3 qt3support png sdl qt4 opengl gtk quicktime


Note that these must be contained within the quotation marks alongside all the other use flags.

Save the file and exit kate.

Now, emerge qt and koffice and everything should build properly.

Hope that helps!

Post Reply