View previous topic :: View next topic |
Author |
Message |
Christian n00b
Joined: 31 Oct 2002 Posts: 6
|
Posted: Thu Oct 31, 2002 10:20 am Post subject: problems emerging kde |
|
|
After trying to emerge kde 3.0.4 on a fresh gentoo 1.4rc1 system (getting the error described in https://forums.gentoo.org/viewtopic.php?t=20024) I have somehow lost my kde headers since emerge now complains:
Code: |
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -6677, Exitcode 1
!!! died running ./configure, kde_src_compile:configure
|
Where can I get the correct stuff to have everything in place again?
[/code] |
|
Back to top |
|
|
Makaveli[FIN] n00b
Joined: 31 Oct 2002 Posts: 31 Location: Pori, Finland
|
Posted: Thu Oct 31, 2002 1:16 pm Post subject: |
|
|
I have the same problem here. Some help would be nice. _________________ https://niko.nwps.fi |
|
Back to top |
|
|
Christian n00b
Joined: 31 Oct 2002 Posts: 6
|
Posted: Thu Oct 31, 2002 8:49 pm Post subject: |
|
|
After emerging kde-3.0.2 I have emerged kde-3.0.4 again and this worked. But don't forget to exchange the file Xft.h which is described here: https://forums.gentoo.org/viewtopic.php?t=20024 |
|
Back to top |
|
|
cybersarge n00b
Joined: 31 Oct 2002 Posts: 17
|
Posted: Thu Oct 31, 2002 10:33 pm Post subject: Ditto, similar problems with KDE emerge |
|
|
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/freetyp
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 '*' tokenmake[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/k
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4/k
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.0.4/work/kdebase-3.0.4/k
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 -6672, Exitcode 2
!!! died running emake, kde_src_compile:make
~~~~~~~~~~~~ _________________ --
The Sarge |
|
Back to top |
|
|
cybersarge n00b
Joined: 31 Oct 2002 Posts: 17
|
Posted: Fri Nov 01, 2002 4:21 am Post subject: Success |
|
|
Used this:
# 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.
~~~~~~~~~~~~~~~~~
Anyone want to tell me how this will impact me in the future since this is a workaround and not a fix? _________________ --
The Sarge |
|
Back to top |
|
|
Christian n00b
Joined: 31 Oct 2002 Posts: 6
|
Posted: Fri Nov 01, 2002 6:55 am Post subject: |
|
|
I have used the simple way from
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 |
|
|
|