View previous topic :: View next topic |
Author |
Message |
behzad n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Jan 2007 Posts: 2
|
Posted: Wed Jan 03, 2007 8:15 am Post subject: portage fails on compiling xorg-server |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
asiB4 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 16 Jan 2006 Posts: 370 Location: Inside the electric circus
|
Posted: Wed Jan 03, 2007 8:49 am Post subject: |
|
|
Quote: | !!! Cannot write to /usr/share /X11/xkb/compiled.
!!! Please check permissions and directories for broken symlinks. |
_________________ Registered Linux User #332738
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
behzad n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Jan 2007 Posts: 2
|
Posted: Wed Jan 03, 2007 9:49 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
fullaxx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Jan 2007 Posts: 8
|
Posted: Thu Jan 25, 2007 3:13 am Post subject: more explanation |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
fullaxx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Jan 2007 Posts: 8
|
Posted: Thu Jan 25, 2007 3:28 am Post subject: solved |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|