Kde-base fails to compile complaining that it can't find xmkmf which is located in my /usr/X11R6/bin, how do I tell it to look in the right path, I tried exporting my path with /usr/X11R6/bin added, but it still cant' seem to find it
Can I have some more details please? The more the better! For example, where does it fail (directory), what is the actual output and errors? Also post your Makefile* files from that directory. Finally, what are your USE flags?
use flags : USE="slang readline gpm berkdb gdbm tcpd pam libwww ssl alsa nls mitshm perl python esd gif sdl vorbis ogg gnome gtk X qt kde motif opengl mozilla objprelink cups lame" log : Calculating dependencies.>>> md5 ;-) kdebase-2.2.2.tar.bz2 >>> Unpacking source... >>> Unpacking kdebase-2.2.2.tar.bz2 >>> Source unpacked. pam motif lame cups vorbis ssl ....... checking nogroup... nogroup checking for xmkmf... not found done! >>> emerge kde-base/kdebase-2.2.2-r2 to / !!! emerge aborting on /usr/portage/kde-base/kdebase/kdebase-2.2.2-r2.ebuild . and xmkmf is in /usr/X11R6/bin which is in my path, because I can do a: which xmkmf /usr/X11R6/bin/xmkmf mark
Well, it finally worked !!! I have /usr/X11R6/bin in my path 3x now :), one comes from /etc/profile, another from /etc/env.d/90X11R6 (which I made), and another from me doing a: export PATH=/usr/X11R6/bin:$PATH. So it finally found xmfkm and is building as we speak, hopefully the build won't fail, but at least it configured :) closing ...
This won't do, the thing should work out of the box. Let's try to trace it. You said you had xmkmf in your PATH from 3 places, which of these did you add and which existed beforehand? Specifically, do you have /etc/env.d/10xfree, which should come with the xfree package and do exactly the same thing as the 90X11R86 you describe? What version/revision of x11-base/xfree do you have?
No, I dont' have 10Xfree, my revision is xfree-4.2.0-r3
In that case, it's an xfree problem, since xfe shuold install 10xfree but didn't. Your xfree revision is an early one, many bugfixes have since gone into the xfree-4.2.0 ebuilds. You should emerge the latest (r5), which should among other things install a 10xfree (remove your custom path changes after that).