Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3104 - Can't compile kdebase
Summary: Can't compile kdebase
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-05-28 04:08 UTC by Patrik Kullman
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments
config.log (config.log,100.76 KB, application/octet-stream)
2002-07-01 14:22 UTC, Alessandro Pisani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrik Kullman 2002-05-28 04:08:00 UTC
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)
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-05-28 14:20:30 UTC
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. 
Comment 2 Patrik Kullman 2002-05-28 15:23:22 UTC
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?
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2002-05-28 21:26:54 UTC
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 
Comment 4 Dan Armak (RETIRED) gentoo-dev 2002-06-10 14:32:14 UTC
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? 
Comment 5 Patrik Kullman 2002-06-11 18:15:04 UTC
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.
Comment 6 Alessandro Pisani 2002-07-01 14:19:25 UTC
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?
Comment 7 Alessandro Pisani 2002-07-01 14:20:51 UTC
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?
Comment 8 Alessandro Pisani 2002-07-01 14:22:07 UTC
Created attachment 1903 [details]
config.log
Comment 9 Dan Armak (RETIRED) gentoo-dev 2002-07-06 09:39:29 UTC
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? 
 
Comment 10 Dan Armak (RETIRED) gentoo-dev 2002-07-19 14:37:04 UTC
*** Bug 5160 has been marked as a duplicate of this bug. ***
Comment 11 Dan Armak (RETIRED) gentoo-dev 2002-07-25 07:03:41 UTC
Since you didn't reply I'm closing this. It may or may not be a duplicate of 
#5160. 
Comment 12 Dan Armak (RETIRED) gentoo-dev 2002-08-30 08:09:13 UTC
Now clarified in #6801.