When trying to compile kdebase (3.0.1 or 3.0-r1 or 3.0-r3) I get: checking for xmkmf... /usr/X11R6/bin/xmkmf checking various X settings... failed configure: error: /usr/X11R6/bin/xmkmf (imake) failed. Make sure you have all necessary X development packages installed. sed: can't read confdefs.h: No such file or directory I can't recompile xfree either. Will post bug. (linux-2.4.18-xfs - gcc-3.1-r4)
Not a bug, since we do need xmkmf, or at least a good xfree tree, to build kde. Concentrate on the xfree bug I think. Also I understand this is with gcc 3.1? If so I'm not the person to ask, I'm not one of the gcc 3.1 testers.
Actually, xfree is installed, and it finds xmkmf, but the imake errors with confdefs.h, which it can't find, and I don't know where it should be. Is it a part of kdebase or xfree?
I saw this problem too in my own gcc3.1 config earlier on. Did you compile your portage with gcc3.1? If so you will have many problems. If not, re-emerge xfree (emerge xfree is known to work w/ gcc3.1). Then try to emerge kdebase. This is what I did, and it works. Also, check that you do not have more than one gcc installed. If you compiled your portage with gcc3.1 (a bad thing to do right now), here's a http://www.gentoo.org/~mkennedy/portage-1.9.13.tbz2 (compiled w/ gcc2.95.3 -- thanks to spider & not sure what CFLAGS he used either, but it works on my 686) you can with emerge --usepkg. If this helps you, *please* let me know so I can document it. BTW, I emerged a full xfree86, gnome and kde3 with gcc3.1... so it might be your config and/or the portage caveat I described. Matt
confdefs.h is a file created and used by the autoconf system. The real problem can't be its existence or nonexistence. Could you attach your config.log?
I'm sorry but I can't, I've successfully compiled the newer versions of kdebase with the gcc-2.95 portage. The problem solved itself with the newer versions.
i've the same problem on my Gentoo box: trying to compile kdebase-3.0.1-20020604 will give a xmkmf/imake error. kdebase-3.0.1 successfully compiled. I'm using xfree-4.2.0-r12, gcc-2.95.3-r3 and portage-2.0.8. i'm attaching my config.log... can you please help me?
i've the same problem on my Gentoo box: trying to compile kdebase-3.0.1-20020604 will give a xmkmf/imake error. kdebase-3.0.1 successfully compiled. I'm using xfree-4.2.0-r12, gcc-2.95.3-r7 and portage-2.0.8. i'm attaching my config.log... can you please help me?
Created attachment 1903 [details] config.log
Sorry I didn't respond... The config log shows: ----- configure:26704: checking various X settings imake -DUseInstalled -I/usr/X11R6/lib/X11/config sh: /tmp/imakeHacZYo: Permission denied /usr/X11R6/bin/xmkmf: line 70: 9831 Aborted imake $imake_defines $args ----- Do you have nonstandard permissions for /tmp? Does the new kdebase-3.0.2 emerge?
*** Bug 5160 has been marked as a duplicate of this bug. ***
Since you didn't reply I'm closing this. It may or may not be a duplicate of #5160.
Now clarified in #6801.