From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5
Date: Thu, 17 Jun 2010 20:23:18 -0400 [thread overview]
Message-ID: <20100618002318.GA4357@waltdnes.org> (raw)
In-Reply-To: <4C1A3901.4000508@gmail.com>
On Thu, Jun 17, 2010 at 08:02:25AM -0700, Bill Longman wrote
> On 06/16/2010 05:33 PM, walt wrote:
> > On 06/16/2010 02:29 PM, Thomas Revell wrote:
> >> Hi everyone,
> >>
> >> I've got a bit of a problem with a new Gentoo install that I'm currently
> >> trying to install KDE on. The installation of kdebase/kfilereplace-4.3.5
> >> is failing, apparently due to a missing header file in its sources.
> >
> > <snip>
> >> [ 11%] ^[[34m^[[1mGenerating koptionsdlgs.h
> > <snip>
> >> ^[[0mmoc:
> >> /var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_build/kfilereplace/koptionsdlgs.h:
> >>
> >> No such file
> >
> > I have no idea what's going wrong, but I'm willing to make suggestions
> > anyway :)
>
> I have no better suggestion than to change your ricer CFLAGS and see if
> "-O2 -pipe -march=core2" works first. Especially since you have:
>
> "-mno-align-stringops -minline-stringops-dynamically"
>
> and kfilereplace.cpp:37 warns about QStringList& and further along, it
> creates kaddstringdlgs.h.
>
> BTW, -march=core2 implies -mmmx -msse -msse2 and -msse3 (and -mssse3).
Even better is "-march=native", and let the compiler figure out what
features are available/safe. I use the following...
CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe"
If you're building 64-bit Gentoo, the "-mfpmath=sse" gets picked up by
"-march=native" and you can drop the explicit mention.
And you wouldn't believe how many weird build problems are solved by...
MAKEOPTS="-j1"
...even on multi-core cpus. The *BUILD PROCESS* is a bit slower, but
the final binary is identical with -j8 or whatever. And the time you
"save" by a faster build in a tty will be lost the first time you start
bashing your head into a brick wall over some weird build problem.
--
Walter Dnes <waltdnes@waltdnes.org>
next prev parent reply other threads:[~2010-06-18 0:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-16 21:29 [gentoo-user] Unable to emerge kdebase/kfilereplace-4.3.5 Thomas Revell
2010-06-17 0:33 ` [gentoo-user] " walt
2010-06-17 15:02 ` Bill Longman
2010-06-18 0:23 ` Walter Dnes [this message]
2010-06-18 15:48 ` Bill Longman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100618002318.GA4357@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox