Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage fails on compiling xorg-server
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
behzad
n00b
n00b


Joined: 02 Jan 2007
Posts: 2

PostPosted: Wed Jan 03, 2007 8:15 am    Post subject: portage fails on compiling xorg-server Reply with quote

I have installed gentoo 2006.1 lately.
I wanted to make my gentoo up to date. So I ran
#emerge --update world
but portage fails after compiling xorg-server 1.1.1-r1, with this message:

!!! Cannot write to /usr/share /X11/xkb/compiled .
!!! Please check permissions and directories for broken symlinks.


What should I do?
Back to top
View user's profile Send private message
asiB4
Guru
Guru


Joined: 16 Jan 2006
Posts: 370
Location: Inside the electric circus

PostPosted: Wed Jan 03, 2007 8:49 am    Post subject: Reply with quote

Quote:
!!! Cannot write to /usr/share /X11/xkb/compiled.
!!! Please check permissions and directories for broken symlinks.

_________________
Registered Linux User #332738

Back to top
View user's profile Send private message
behzad
n00b
n00b


Joined: 02 Jan 2007
Posts: 2

PostPosted: Wed Jan 03, 2007 9:49 am    Post subject: Reply with quote

The only thing that I could do was this:
#chmod 777 -R /usr/share /X11/xkb/compiled
But didn`t solve the problem.
Back to top
View user's profile Send private message
fullaxx
n00b
n00b


Joined: 25 Jan 2007
Posts: 8

PostPosted: Thu Jan 25, 2007 3:13 am    Post subject: more explanation Reply with quote

I have this exact same problem.

While emerging xorg-server-1.1.1-r4 I get this error (after compilation process)
!!! Cannot write to '/usr/share/X11/xkb/compiled'.
!!! Please check permissions and directories for broken symlinks.
!!! You may start the merge process again by using ebuild:
!!! ebuild /usr/portage/x11-base/xorg-server/xorg-server-1.1.1-r4.ebuild merge
!!! And finish by running this: env-update

/usr/share/X11/xkb/compiled is a link to -> /var/lib/xkb
and /var/lib/xkb does not exist!

What happened to /var/lib/xkb ??
Any help would be appreciated!
Back to top
View user's profile Send private message
fullaxx
n00b
n00b


Joined: 25 Jan 2007
Posts: 8

PostPosted: Thu Jan 25, 2007 3:28 am    Post subject: solved Reply with quote

I found the answer in another post:

/usr/share/X11/xkb/compiled is a bad symlink

just remove it:
Code:
rm /usr/share/X11/xkb/compiled


and then:
Code:
ebuild /usr/portage/x11-base/xorg-server/xorg-server-1.1.1-r4.ebuild merge && env-update
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