Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450 - kde-base fails to compile
Summary: kde-base fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-31 00:31 UTC by Mark
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2002-01-31 00:31:37 UTC
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
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-01-31 13:09:26 UTC
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?
Comment 2 Mark 2002-01-31 18:19:07 UTC
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
Comment 3 Mark 2002-02-01 00:28:57 UTC
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 ...
Comment 4 Dan Armak (RETIRED) gentoo-dev 2002-02-01 01:56:09 UTC
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?

Comment 5 Mark 2002-02-01 07:59:50 UTC
No, I dont' have 10Xfree, my revision is xfree-4.2.0-r3
Comment 6 Dan Armak (RETIRED) gentoo-dev 2002-02-01 08:40:10 UTC
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).