2008/5/9 Michael Homer <[EMAIL PROTECTED]>:

> On Fri, May 9, 2008 at 4:33 PM, Jonas Karlsson <[EMAIL PROTECTED]>
> wrote:
> > On Thu, 08 May 2008 19:32:51 +0200, Daniele Maccari <
> [EMAIL PROTECTED]> wrote:
> >
> >> Hello everybody,
> >>
> >> I was trying to create a recipe for OpenOffice 2.4.0, so I simply
> >> newversioned the preexistent recipe. However, after having manually
> >> fixed the recipe a little I found a problem in the installation phase,
> >> namely it seems that Compile doesn't correctly recognize some
> >> directories as such. The problem seems to be related to these lines
> >> (starting at line 1445 of Compile)
> >>
> >> if [ -d "$src" -a -d "$fulldst" ]
> >>       then $sudo_exec cp -R "$src"/* "$fulldst"
> >>       else $sudo_exec cp -R $src "$fulldst"
> >> fi
> >>
> >> In fact, when trying to copy files from /usr/share and
> >> /opt/OpenOffice2.4/share to Shared the if check seems to not work as
> >> expected, thus treating share as a simple file to copy under Shared,
> >> leading to /P/OpenOffice/2.4.0_bin/Shared/share, which prevent the
> >> pre_link function to correctly perform its task of symlinking desktop
> >> entries.
> >
> > That's because the '-d' test returns false for symlinks and during an
> > install 'Shared' is a symlink to 'share', hence the second alternative
> > is being executed. Personally I don't see why PrepareProgram creates
> > Shared->share instead of share->Shared. I guess it's a legacy. ;)
> Are you sure? I wondered about that, but:
> ~]bash
> [EMAIL PROTECTED] ~][ -d /bin ] && echo /bin is a directory ; ls -l /bin
> /bin is a directory
> lrwxrwxrwx 1 root root 24 2008-04-19 10:46 /bin -> System/Links/Executables
> [EMAIL PROTECTED] ~]
>
> On the other hand, I don't see what else causes that problem.
> -Michael
>  <http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel>
>
I first thought about a permission problem, since /usr/share, to say, seems
to be owned by gobo:sys (don't ask me why, I believe this to come from the
rpms unpacking procedure), but also running Compile as root didn't give any
better result.
However, I  wouldn't want this problem to be openoffice related, so we
should probably find some manifest recipe to test (if what Jonas pointed out
were the problem, I think trying to copy something under bin, lib etc would
cause problem too, wouldn't it?)

Bye
_______________________________________________
gobolinux-devel mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to