[gobolinux-users] Compiling Mono 1.2.2.1
André Detsch
detsch at gobolinux.org
Thu Jan 18 20:24:28 UTC 2007
On 1/18/07, marco.cagnoli at oltrelinux.com <marco.cagnoli at oltrelinux.com> wrote:
> Wow Lucas,
> with NO_UNIONFS it compiles!
> I have some more question:
> 1) can you try to explain me what I did...? :-) What is the meaning of
> NO_UNIONFS?
Compile employs a sandbox mechanism to avoid programs to place or
change files outside their /Programs/<Program>/<Version> directory. We
have an older sandbox, called "FiboSandbox" and a newer one, called
"UnionSandbox". While the latter is more powerful, it still was not
used as much as FiboSandbox, so some problems may arise (as you have
noticed :). So, we kept FiboSandbox there for such cases (which is
activated if the system kernel has no unionfs support, or if the
NO_UNIONFS is set).
> 2) do I need this variable only during the compilation or also when I use
> the program?
This variable is specific for Compile. So, there is no need to set it
during execution of the compiled program.
> 3) Is there any way to insert the export command in the recipe?
No. Our idea is to fix UnionSandbox, making it compatible with all
recipes. Most recent recipes were already tested with UnionSandbox,
so, thanks for reporting a case on which UnionSandbox should be
enhanced :)
> I still have to check for all the dependencies before I can update the
> recipe to the mailing list.
>
> Marco
>
> > On 1/16/07, marco.cagnoli at oltrelinux.com <marco.cagnoli at oltrelinux.com>
> > wrote:
> >> Hi Lucas,
> >> I have some more elements: I tried with your commans (export
> >> NO_UNION=yes)
> >> but it didn't wprk. However, now I know that the problem is in
> >> PrepareProgram script; this is part of the output
> >>
> >> ...
> >> PrepareProgram: /Programs/Mono/1.2.2.1 already exists. [r]emove, [k]eep,
> >> [C]ancel?
> >> r
> >> SandboxInstall: unionfs is available. Using UnionSandbox!
> >> SandboxInstall: Installing Mono...
> >> ...
> >>
> >> Any idea?
> >
> > Eww, sorry. It should be 'export NO_UNIONFS=yes' instead of NO_UNION.
> > Could you please try again with that name instead?
> >
> > ps: you might want to run 'Compile -W -L Mono' so that it cuts some
> > corners and do not recompile everything again. Just choose to keep the
> > current directory when it asks what to do with the existing dir at
> > /Files/Compile/Sources/mono.
> >
> > --
> > Lucas
> > powered by /dev/dsp
> > _______________________________________________
> > gobolinux-users mailing list
> > gobolinux-users at lists.gobolinux.org
> > http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
> >
>
>
> _______________________________________________
> gobolinux-users mailing list
> gobolinux-users at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>
--
Andre Detsch
More information about the gobolinux-users
mailing list