[gobolinux-users] Compile KDE-Base fails (again) in Rootless: "apps/dcopidlng/kalyptus": No such file or directory
Lucas C. Villa Real
lucasvr at gobolinux.org
Tue Mar 6 03:54:25 UTC 2007
On 3/6/07, mpb <mpb.mail at gmail.com> wrote:
> Hi,
>
> I am still trying to figure out why my Programs' Shared directories
> are not being symlinked into ~/System/Links/Shared when running in
> Rootless.
>
> I do not understand the following logic in SymlinkProgram:
>
> --------
> # Creates links from one directory into another.
> function link_directory() {
> Parameters "$@" from to
> local rfrom here j
>
> rfrom=`readlink -f "$from"`
>
> if ! Is_Empty_Directory "$rfrom"
> then
> # call LinkOrExpand
> # [snip]
> --------
>
> In this case:
>
> from=Shared
> to=~/System/Links/Shared
>
> We are running in ~/Programs/Emacs/Current. Shared is a directory,
> not a link. So rfrom=`readlink -f "$from"` sets rfrom to the empty
> string.
Why does it set to an empty string? It shouldn't, at least with GNU
CoreUtils 5.97:
lucasvr at Ummagumma ~]mkdir foo
lucasvr at Ummagumma ~]readlink -f foo
/Users/lucasvr/foo
GNU CoreUtils shows an empty string when one skips -f flag, though:
lucasvr at Ummagumma ~]readlink foo
lucasvr at Ummagumma ~]
> Why readlink -f a directory?
Probably to take its full path, as seen in my version of readlink -f.
> It looks like bin, sbin, lib and every other directory except for
> Shared are passed to link_directory as ~/Programs/Emacs/Current/<dir>
> (where Current is, of course, a link). But Shared is just 'Shared'
> (with no path and therefore not a link). Looks like a bug to me.
I'm taking a look there..
--
Lucas
powered by /dev/dsp
More information about the gobolinux-users
mailing list