View previous topic :: View next topic |
Author |
Message |
greenhorn n00b
Joined: 18 Apr 2002 Posts: 13
|
Posted: Sun Oct 27, 2002 9:28 am Post subject: KDE and XFree 4.2.1 |
|
|
I am using gentoo on several machines now...
Just installed 1.4rc1 on a Dual P3/800MHz, but emerging kde always fails (I even tried emerge -e kde!)
Compile error (due to freetype?):
Code: |
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/freetype2 -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -O2 -march=pentium3 -mcpu=pentium3 -O3 -pipe -c xftlex-kfi.c -fPIC -DPIC -o .libs/xftlex-kfi.o
In file included from xftgram.y:29,
from xftgram-kfi.c:23:
xftint.h:392: parse error before '*' token
In file included from xftlex.l:27,
from xftlex-kfi.c:23:
xftint.h:392: parse error before '*' token
make[4]: *** [xftgram-kfi.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [xftlex-kfi.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4/kcontrol/kfontinst/kfontinst'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4/kcontrol/kfontinst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4'
make: *** [all] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -6648, Exitcode 2
!!! died running emake, kde_src_compile:make
|
Has some one experimented that too?
I've looked up the source and can't quite get why this would fail!
Code: |
Bool
XftListValueListCompare (XftValueList *v1orig,
XftValueList *v2orig,
XftQual qual);
|
I'd go for the include part at the top of the file that tells what lib is used:
Code: |
#include <X11/Xlib.h>
#ifdef FREETYPE2
#include "X11/Xft/XftFreetype.h" /* CPD 31/05/2001 -- Added X11/Xft/ */
#else
#include "X11/Xft/Xft.h" /* CPD 31/05/2001 -- Added X11/Xft/ */
#endif
#define yylval KfiXftConfiglval /* CPD 06/06/2001 */
|
And again I could be completely wrong...
A bit sad I can't get to use kde on such a box where for once it could actually be used!
Well I'll stick to fluxbox as on my other boxes until I (or you ) get the problem solved
Any subgestions are more than welcome.
Thanks
Alex |
|
Back to top |
|
|
kraylus l33t
Joined: 07 Jun 2002 Posts: 648 Location: ft.worth.tx
|
Posted: Sun Oct 27, 2002 9:35 am Post subject: |
|
|
i think it has something to do with the latest portage tree... ive been getting similar errors left and right in varying apps. the latest is the gimp. the other apps i could live without but gimp... gotta have it.
i dunno what the hell's goin on because i followed the same install steps on the old HD that i did on this new one, and nothing's working right... _________________ I used gentoo BEFORE it was cool. |
|
Back to top |
|
|
zeroone n00b
Joined: 27 Oct 2002 Posts: 6 Location: DFW, TX. USA
|
Posted: Sun Oct 27, 2002 9:43 am Post subject: Simple fix |
|
|
This also happens with 1.2 Release (current rsync'd portage tree). The problem is KDE 3.0.4 Font Install program uses types that are not defined in XFree86 4.2.1. I am not sure who is at fault, I just know that the new X changed Xft.h and this breaks kde-base-3.0.4.
There is a hard/long fix and a simple fix/workaround.
Hard:
1) Remove XFree 4.2.1
2) Install XFree 4.2.0
3) Emerge kde-base
4) Upgrade XFree to 4.2.1 (or leave it at 4.2.0 if you want)
Simple (no recompile needed)
Backup /usr/include/X11/Xft/Xft.h
Replace with http://theninthbit.com/gentoo/Xft.h (this is from XFree 4.2.0)
emerge kde-base
Replace the old Xft.h with the backup copy you made.
This worked for me, so let me know if it doesnt work for you, but it should. I tested on several boxes I have. |
|
Back to top |
|
|
greenhorn n00b
Joined: 18 Apr 2002 Posts: 13
|
Posted: Sun Oct 27, 2002 1:38 pm Post subject: Simple way worked out... |
|
|
... for kdebase at least!
Emerging kdeaddons right now.
Thanks for the hint. While I thought my compile would use
#include "X11/Xft/XftFreetype.h"
over the Xft.h one, but anyway, thanks and it seems to actually work.
Still don't know who is at fault neither, might have a look at the kde website later today.
Thanks again...
Alex |
|
Back to top |
|
|
mwdiers n00b
Joined: 28 Oct 2002 Posts: 1
|
Posted: Mon Oct 28, 2002 6:06 pm Post subject: |
|
|
This is wonderful. I've been driving myself crazy on this one. My workaround has been: use Gnome for the meantime, and run an
emerge sync && emerge --update world && emerge kde
every few days or so, hoping someone fixes the problem.
Thanks for posting the workaround. _________________ Martin W. Diers
Chemnitz Data Services |
|
Back to top |
|
|
flatface n00b
Joined: 28 Oct 2002 Posts: 3 Location: Norway
|
Posted: Mon Oct 28, 2002 6:53 pm Post subject: zeroone got the fix to my problem |
|
|
BumptiBump
I went for zeroone's simple solution and it worked like a charm.
I had come so far in my debugging that I found that there was a missing typedef before I decided to check the forums.
I guess its not a GenToo bug after all, much rather like software inconsistensies between current version of kde and Xfree
Lucky us that we have people on this forum that finds solution to the problems.
Keep up the good work |
|
Back to top |
|
|
Mnemia Guru
Joined: 17 May 2002 Posts: 476
|
Posted: Mon Oct 28, 2002 8:23 pm Post subject: |
|
|
Yes, it has been impossible to compile the update for KDE for weeks and weeks on my 1.2 server. I think this is the record for the longest I've seen a major package stay broken on Gentoo. |
|
Back to top |
|
|
jcharum n00b
Joined: 11 Oct 2002 Posts: 25
|
|
Back to top |
|
|
olal n00b
Joined: 08 Sep 2002 Posts: 64 Location: Gothenburg, Sweden
|
Posted: Thu Oct 31, 2002 9:36 am Post subject: |
|
|
tanks alot
jcharum, im not familiar with the bug-database yet
have recently desided to leave windows for good, even as workstation (mostly caused by etic feelings due to palladium... )
can You please help me solve my problem?
i dont know what to do right now, is the easiest way still to do it the "long" way described in the thread you gave me? right now im "stuck" 100% in links.. (in school i got X though:))
tanks alot
.o |
|
Back to top |
|
|
jcharum n00b
Joined: 11 Oct 2002 Posts: 25
|
Posted: Thu Oct 31, 2002 1:05 pm Post subject: |
|
|
olal wrote: | can You please help me solve my problem? |
# cd /usr/include/X11/Xft
# mv Xft.h Xft.h.save
# wget -O Xft.h 'https://bugs.gentoo.org/showattachment.cgi?attach_id=5007'
# emerge kde
# mv Xft.h.save Xft.h
This is a workaround. As was mentioned before, a bug has already been filed and a fix is in the works. |
|
Back to top |
|
|
olal n00b
Joined: 08 Sep 2002 Posts: 64 Location: Gothenburg, Sweden
|
Posted: Thu Oct 31, 2002 6:02 pm Post subject: |
|
|
thanks alot
it worked
now im just upto fiddling around with the radeon-card
have got it working with radeon-framebuffer
so i guess im on the right way
peace!
.o |
|
Back to top |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Thu Oct 31, 2002 11:44 pm Post subject: |
|
|
This worked for me also, thanks for the post. |
|
Back to top |
|
|
geforce5_guy n00b
Joined: 10 Sep 2002 Posts: 39 Location: Apeldoorn, NL
|
Posted: Sat Nov 02, 2002 4:58 pm Post subject: |
|
|
i tried al the this in this topic, but nothings helps!
plz help me _________________ AMD 2500+ @ 2260 Mhz, 1024 MB, GF FX 5900XT, 2x 200 gb raid-0, 1x 120 gb |
|
Back to top |
|
|
JanErik Guru
Joined: 28 Oct 2002 Posts: 488 Location: Finland
|
|
Back to top |
|
|
robie1373 n00b
Joined: 03 Nov 2002 Posts: 13 Location: Fort Fun, Co.
|
Posted: Sun Nov 03, 2002 9:23 pm Post subject: |
|
|
Thanks Everybody! This thread exemplifies the reason I am now proud to call myself a gentoo-user! The quality of info in this thread and associated with gentoo in general is unmatched.
The positive attitude in these forums is appreciated as well. Once again, Thanks! _________________ Hippy Hiaku, Brother Trucker! --the scud |
|
Back to top |
|
|
phong Bodhisattva
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Sun Nov 03, 2002 10:47 pm Post subject: |
|
|
There have been a ton of threads lately having to do with KDE installation problems, and most seem to be at least partially related. Let's try to concentrate them all here (I've made it sticky). _________________ "An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer |
|
Back to top |
|
|
JanErik Guru
Joined: 28 Oct 2002 Posts: 488 Location: Finland
|
|
Back to top |
|
|
JanErik Guru
Joined: 28 Oct 2002 Posts: 488 Location: Finland
|
Posted: Mon Nov 04, 2002 5:25 pm Post subject: |
|
|
I have now installed kde-3.0.2 without problems, so that can be a good alternative if you can get the latest version to work. |
|
Back to top |
|
|
geforce5_guy n00b
Joined: 10 Sep 2002 Posts: 39 Location: Apeldoorn, NL
|
Posted: Mon Nov 04, 2002 9:06 pm Post subject: |
|
|
There is a r1 for xfree-4.2.1 maybe this ine solves the problem. _________________ AMD 2500+ @ 2260 Mhz, 1024 MB, GF FX 5900XT, 2x 200 gb raid-0, 1x 120 gb |
|
Back to top |
|
|
akhkharu99 Apprentice
Joined: 08 Jun 2002 Posts: 162 Location: Gainesville, FL
|
Posted: Wed Nov 06, 2002 3:55 am Post subject: |
|
|
geforce5_guy wrote: | There is a r1 for xfree-4.2.1 maybe this ine solves the problem. |
so, does anyone know if this is the case? |
|
Back to top |
|
|
dostro n00b
Joined: 28 Apr 2002 Posts: 8
|
Posted: Wed Nov 06, 2002 5:45 am Post subject: |
|
|
It does not solve the xft-problem. _________________ http://www.ondska.com |
|
Back to top |
|
|
sven Apprentice
Joined: 19 Apr 2002 Posts: 274
|
Posted: Wed Nov 06, 2002 6:25 am Post subject: |
|
|
What's about the new kdebase-3.0.4-r2 ebuild? It seems to patch the Xft.h but the compile still aborts... |
|
Back to top |
|
|
unixownz n00b
Joined: 22 Oct 2002 Posts: 31
|
Posted: Wed Nov 06, 2002 6:37 am Post subject: more kde problems.. |
|
|
I must suck.. For like the past 2 weeks I havent been able to get kde to merge... PLZ HELP..
Maybe the summation of these errors created my latest error.
Problem 1 = gimp1.2.3 cannot compile error
Solution = Different Version of gimp compiled 1.2.3-r2
Problem 2 = xfree4.2.1 + kde = no worky
Solution = Installed xfree4.2.0-r12
Final and Latest Problem
3 = emerge kdebase throws errors
These errors refer to
/var/tmp/portage/kde-libs/kde-libs3.0.4
Its says it can not compile and can not delete these files.
Error -6662
.... Help.. What do I do now ?
I am losing hope... Do i need to reinstall gentoo again ???
Thanks in advanced. |
|
Back to top |
|
|
JanErik Guru
Joined: 28 Oct 2002 Posts: 488 Location: Finland
|
Posted: Wed Nov 06, 2002 9:07 am Post subject: |
|
|
You could always try emerge =kde-3.0.2
That worked for me. |
|
Back to top |
|
|
unixownz n00b
Joined: 22 Oct 2002 Posts: 31
|
Posted: Wed Nov 06, 2002 9:15 am Post subject: =( |
|
|
Finnish wrote: | You could always try emerge =kde-3.0.2
That worked for me. |
Tried that.. still no go..
Thanks anyway tho. |
|
Back to top |
|
|
|