Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE and XFree 4.2.1
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
greenhorn
n00b
n00b


Joined: 18 Apr 2002
Posts: 13

PostPosted: Sun Oct 27, 2002 9:28 am    Post subject: KDE and XFree 4.2.1 Reply with quote

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
View user's profile Send private message
kraylus
l33t
l33t


Joined: 07 Jun 2002
Posts: 648
Location: ft.worth.tx

PostPosted: Sun Oct 27, 2002 9:35 am    Post subject: Reply with quote

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
View user's profile Send private message
zeroone
n00b
n00b


Joined: 27 Oct 2002
Posts: 6
Location: DFW, TX. USA

PostPosted: Sun Oct 27, 2002 9:43 am    Post subject: Simple fix Reply with quote

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
View user's profile Send private message
greenhorn
n00b
n00b


Joined: 18 Apr 2002
Posts: 13

PostPosted: Sun Oct 27, 2002 1:38 pm    Post subject: Simple way worked out... Reply with quote

... 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
View user's profile Send private message
mwdiers
n00b
n00b


Joined: 28 Oct 2002
Posts: 1

PostPosted: Mon Oct 28, 2002 6:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
flatface
n00b
n00b


Joined: 28 Oct 2002
Posts: 3
Location: Norway

PostPosted: Mon Oct 28, 2002 6:53 pm    Post subject: zeroone got the fix to my problem Reply with quote

:D
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
View user's profile Send private message
Mnemia
Guru
Guru


Joined: 17 May 2002
Posts: 476

PostPosted: Mon Oct 28, 2002 8:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
jcharum
n00b
n00b


Joined: 11 Oct 2002
Posts: 25

PostPosted: Mon Oct 28, 2002 10:11 pm    Post subject: Reply with quote

This thread discusses this same issue:
https://forums.gentoo.org/viewtopic.php?t=19337&sid=6dbb3bf4bf7e65cb31b30b09e4361300

And there has already been a bug filed for it. You can read all about it:
https://bugs.gentoo.org/show_bug.cgi?id=9423
Back to top
View user's profile Send private message
olal
n00b
n00b


Joined: 08 Sep 2002
Posts: 64
Location: Gothenburg, Sweden

PostPosted: Thu Oct 31, 2002 9:36 am    Post subject: Reply with quote

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
View user's profile Send private message
jcharum
n00b
n00b


Joined: 11 Oct 2002
Posts: 25

PostPosted: Thu Oct 31, 2002 1:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
olal
n00b
n00b


Joined: 08 Sep 2002
Posts: 64
Location: Gothenburg, Sweden

PostPosted: Thu Oct 31, 2002 6:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Thu Oct 31, 2002 11:44 pm    Post subject: Reply with quote

This worked for me also, thanks for the post.
Back to top
View user's profile Send private message
geforce5_guy
n00b
n00b


Joined: 10 Sep 2002
Posts: 39
Location: Apeldoorn, NL

PostPosted: Sat Nov 02, 2002 4:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Sat Nov 02, 2002 5:01 pm    Post subject: Reply with quote

It solved the xft problem, then I got this https://forums.gentoo.org/viewtopic.php?t=20871
Appears to be qt-related.
Back to top
View user's profile Send private message
robie1373
n00b
n00b


Joined: 03 Nov 2002
Posts: 13
Location: Fort Fun, Co.

PostPosted: Sun Nov 03, 2002 9:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Sun Nov 03, 2002 10:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Mon Nov 04, 2002 7:40 am    Post subject: Reply with quote

Here is another problem: https://forums.gentoo.org/viewtopic.php?t=20992
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Mon Nov 04, 2002 5:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
geforce5_guy
n00b
n00b


Joined: 10 Sep 2002
Posts: 39
Location: Apeldoorn, NL

PostPosted: Mon Nov 04, 2002 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
akhkharu99
Apprentice
Apprentice


Joined: 08 Jun 2002
Posts: 162
Location: Gainesville, FL

PostPosted: Wed Nov 06, 2002 3:55 am    Post subject: Reply with quote

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
View user's profile Send private message
dostro
n00b
n00b


Joined: 28 Apr 2002
Posts: 8

PostPosted: Wed Nov 06, 2002 5:45 am    Post subject: Reply with quote

It does not solve the xft-problem.
_________________
http://www.ondska.com
Back to top
View user's profile Send private message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Wed Nov 06, 2002 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
unixownz
n00b
n00b


Joined: 22 Oct 2002
Posts: 31

PostPosted: Wed Nov 06, 2002 6:37 am    Post subject: more kde problems.. Reply with quote

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. 8O

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
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Wed Nov 06, 2002 9:07 am    Post subject: Reply with quote

You could always try emerge =kde-3.0.2
That worked for me.
Back to top
View user's profile Send private message
unixownz
n00b
n00b


Joined: 22 Oct 2002
Posts: 31

PostPosted: Wed Nov 06, 2002 9:15 am    Post subject: =( Reply with quote

Finnish wrote:
You could always try emerge =kde-3.0.2
That worked for me.


Tried that.. still no go.. :cry:

Thanks anyway tho.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum