Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5
Date: Fri, 18 Jun 2010 00:21:51
Message-Id: 20100618002318.GA4357@waltdnes.org
In Reply to: Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5 by Bill Longman
1 On Thu, Jun 17, 2010 at 08:02:25AM -0700, Bill Longman wrote
2 > On 06/16/2010 05:33 PM, walt wrote:
3 > > On 06/16/2010 02:29 PM, Thomas Revell wrote:
4 > >> Hi everyone,
5 > >>
6 > >> I've got a bit of a problem with a new Gentoo install that I'm currently
7 > >> trying to install KDE on. The installation of kdebase/kfilereplace-4.3.5
8 > >> is failing, apparently due to a missing header file in its sources.
9 > >
10 > > <snip>
11 > >> [ 11%] Generating koptionsdlgs.h
12 > > <snip>
13 > >> moc:
14 > >> /var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h:
15 > >>
16 > >> No such file
17 > >
18 > > I have no idea what's going wrong, but I'm willing to make suggestions
19 > > anyway :)
20 >
21 > I have no better suggestion than to change your ricer CFLAGS and see if
22 > "-O2 -pipe -march=core2" works first. Especially since you have:
23 >
24 > "-mno-align-stringops -minline-stringops-dynamically"
25 >
26 > and kfilereplace.cpp:37 warns about QStringList& and further along, it
27 > creates kaddstringdlgs.h.
28 >
29 > BTW, -march=core2 implies -mmmx -msse -msse2 and -msse3 (and -mssse3).
30
31 Even better is "-march=native", and let the compiler figure out what
32 features are available/safe. I use the following...
33
34 CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe"
35
36 If you're building 64-bit Gentoo, the "-mfpmath=sse" gets picked up by
37 "-march=native" and you can drop the explicit mention.
38
39 And you wouldn't believe how many weird build problems are solved by...
40
41 MAKEOPTS="-j1"
42
43 ...even on multi-core cpus. The *BUILD PROCESS* is a bit slower, but
44 the final binary is identical with -j8 or whatever. And the time you
45 "save" by a faster build in a tty will be lost the first time you start
46 bashing your head into a brick wall over some weird build problem.
47
48 --
49 Walter Dnes <waltdnes@××××××××.org>

Replies

Subject Author
Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5 Bill Longman <bill.longman@×××××.com>