Gentoo Archives: gentoo-desktop

From: Christoph Nodes <cnodes@×××××.com>
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] Trying to install gnucash - g-wrap failure
Date: Thu, 22 Feb 2007 15:06:54
Message-Id: 9712a49f0702220703y33324bfftd0b679f311315e00@mail.gmail.com
In Reply to: Re: [gentoo-desktop] Trying to install gnucash - g-wrap failure by mail
1 On 2/22/07, mail <lists@×××××.net> wrote:
2 > On Thu, 2007-02-22 at 15:18 +0100, Christoph Nodes wrote:
3 > > On 2/22/07, mail <lists@×××××.net> wrote:
4 > > >
5 > > > I am still having the same problem.
6 > > > Anybody know what this could be?
7 > >
8 > > The error results from "extra tokens at end of #endif directive" in
9 > > /usr/lib/glib/include/glibconfig.h.
10 > > What does "sed -n 39p /usr/lib/glib/include/glibconfig.h" give you?
11 > >
12 > > The compiler flag -Werror is not very reasonable for most packages as
13 > > it issues an error on any warning (like the "extra tokens"-warning).
14 > > Did you set this flag in your CFLAGS variable?
15 >
16 > Thanks, this compile stuff is a bit foggy to me...
17 >
18 > here is the result of your command
19 >
20 > # sed -n 39p /usr/lib/glib/include/glibconfig.h
21 >
22 > #endif#define G_HAVE_GINT64 1
23
24 This is weird. Did you edit this file? My glibconfig.h looks something like
25
26 39 #endif
27 40
28 41 #define G_HAVE_GINT64 1
29
30 You could edit your /usr/lib/glib/include/glibconfig.h and insert 2
31 newlines between "#endif" and "#define G_HAVE_GINT64 1" and try to
32 emerge again, but that is certainly not the proper way to fix this.
33
34 > Here is the top of my make.conf file:
35 >
36 > CFLAGS="-O2 -march=i686 -pipe"
37 > CHOST="i686-pc-linux-gnu"
38 > CXXFLAGS="${CFLAGS}"
39 > MAKEOPTS="-j2"
40
41 So that is not the problem. The -Werror flag then is something the
42 g-wrap-ebuild wants.
43
44 > This is on an old 450Mhz PIII. I had gnucash running before, but I had a
45 > hd crash and am now reinstalling everything.
46 --
47 gentoo-desktop@g.o mailing list