Problems in compiling kdebase-3.0.4

Jani-Matti Hätinen <[email protected]> Mon, 28 Oct 2002 08:33:54 +0200
Newsgroups gmane.linux.gentoo.newbies
Message-ID <[email protected]>
      Hi

  I've just installed 1.4_RC1 onto a PII box, and I'm having serious=20
problems with the kdebase-3.0.4 ebuild. Up until kdebase everything has=20
compiled without any problems, but the kdebase package stops with the=20
same error every time.

  More precisely, while compiling the kfontinst package of kcontrol=20
(i.e.=20
/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4/kcontrol/kfontinst/kfon=
tinst=20
in my system) it prints out the following:

 >In file included from xftflex.l:27
 >                 from xftflex-kfi.c:23
 >xftint.h:392: parse error before * token

Then make exits from the subdirectories and emerge says:
 >!!!ERROR: The ebuild did not complete successfully.
 >!!!Function kde_src_compile, Line-6677, exitcode 2
 >!!!died running emake, kde_src_compile:make

  I've checked the xftint.h file, but since I'm not a programmer myself=20
I can't really find anything wrong with it. Nevertheless, here are a few=20
lines surrounding the erroneous one:
 >Bool
 >XftListValueCompare (XftValue  v1,
 >                     XftValue  v2);
 >
 >Bool
 >XftListValueListCompare (XftValueList  *v1orig, [the erroneous line 392=
]
 >                         XftValueList  *v2orig,
 >                         XftQual       qual);
 >
 >Bool
 >XftListMatch (XftPattern  *p,
 >              XftPattern  *font,
 >              XftQual     qual);

 One thing that I did notice was that XftValueList wasn't mentioned=20
anywhere else in the file. However, since I suspect that many people=20
have been able to compile this package without problems, I'm pretty sure=20
that the problem lies elsewhere.
  My use settings are: -3dnow -cups dga doc -gnome imap jikes maildir=20
mbox mozilla perl plotutils sse tetex tiff
  And my compile flags: -march:pentium2 -O3 -pipe -fomit-frame-pointer
  I have done both rsync and --update world recently (i.e. on the same=20
day) so that shouldn't cause problems either.

  Cheers,
Jani-Matti H=E4tinen