Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerging kdebase fails because of xmkmf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
michel v
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 100
Location: Corsica

PostPosted: Tue Jul 29, 2003 2:41 pm    Post subject: emerging kdebase fails because of xmkmf Reply with quote

I've been trying to emerge kdebase for some time, and even after upgrading portage to the last version I still get this error:
Quote:
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.

!!! ERROR: kde-base/kdebase-3.1.2 failed.
!!! Function kde_src_compile, Line 126, Exitcode 1
!!! died running ./configure, kde_src_compile:configure

What could be the cause of it?
Is there something I can do to fix it?
Back to top
View user's profile Send private message
michel v
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 100
Location: Corsica

PostPosted: Tue Jul 29, 2003 5:27 pm    Post subject: Reply with quote

EDIT: I found the problem in config.log :)
Quote:
configure:35483: checking various X settings
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
sh: line 1: /var/tmp/portage/kdebase-3.1.2/temp/imakej4gHjB: Permission denied

This was because I was emerging as root, and using FEATURES="sandbox userpriv".
That made the temp/ directory be created as root, and then accessed as the portage user because of the sandboxing.

Removing "sandbox userpriv" from the FEATURES fixed that issue. :)
I'll bring it back when I'm done, and at least now I know that typical imake/xmkmf problems are caused by these features...


P.S.: thanks to the folks on #gentoo, you guys rock!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum