The compilation goes fine, but here's what happens when it tries to merge: !!! Cannot write to '/usr/X11R6/lib/X11/mwm'. !!! Please check permissions and directories for broken symlinks. !!! You may start the merge process again by using ebuild: !!! ebuild /usr/portage/x11-libs/lesstif/lesstif-0.93.40.ebuild merge !!! And finish by running this: env-update root@lisa root # ls /usr/X11R6/lib/X11/mwm ls: /usr/X11R6/lib/X11/mwm: No such file or directory root@lisa root # cd /usr/X11R6/lib/X11 root@lisa root # ls -l lrwxrwxrwx 1 root root 36 Jun 12 17:11 mwm -> ../../../.. /etc/X11/mwm/system.mwmrc The file or directory system.mwmrc doesn't exist, but /etc/X11/mwm/ does. The directory is empty.
Further, emerge -s lesstif shows that the package is installed: * x11-libs/lesstif Latest version available: 0.93.40 Latest version installed: 0.93.40 But qpkg -l will show no files: root@lisa etc # qpkg -l lesstif | wc -l 0
I have install 0.93.36-r3 and 0.93.40 with no problems.... 0.93.46 (which is not in portage) did not finish compiling for me... but that is a different problem. blackie root # ls /usr/X11R6/lib/X11/mwm blackie root # ls -Fsal /usr/X11R6/lib/X11/mwm 1 lrwxrwxrwx 1 root root 23 Jun 25 02:55 /usr/X11R6/lib/X11/mwm -> ../../../../etc/X11/mwm/ It looks as though you have an improper link... Delete the directory and re-merge lesstif.
Thanks, Nick. That worked. Any ideas how that symlink got broken?
maybe you had openmotif installed previously?