[Gelistirici] mono v.s sandbox

Furkan Duman coderlord at gmail.com
11 Haz 2007 Pzt 09:12:36 EEST


On 6/10/07, S.Çağlar Onur <caglar at pardus.org.tr> wrote:
> Yeni beagle ile catbox anlaşamıyor, mononun ya da beagle'ın neden /root.wapi
> yaratmaya çalıştığını da hızlı bir bakış ile bulamadım, fikri olan?

Mono paketini düzelteceğim.

http://pkg-mono.alioth.debian.org/cli-policy/ch-mono.html

4.3 MONO_SHARED_DIR

The Mono runtime uses a shared directory, by default ~/.wapi. This
directory will be created/used when any CLI application is executed
(like the C# compiler mcs).

There are 2 problems with this:

    *

      In an autobuilder environment often the running user has no home
directory.

    *

      Mono uses the wrong home directory when running within fakeroot
(it tries /root/.wapi instead of $HOME/.wapi).

In these cases, the package building will fail, applications will
hang, die with strange Mono runtime errors or segfault. This includes
dh_clideps or dh_makeclideps, since they run monodis.

The solution is to set the MONO_SHARED_DIR environment variable to a
custom directory in the debian/rules file:

             export MONO_SHARED_DIR=$(CURDIR)

The clean target should later remove the $(MONO_SHARED_DIR)/.wapi
directory. For more information on what this .wapi directory is used
for, please see mono(1).

-- 
Furkan Duman


Gelistirici mesaj listesiyle ilgili daha fazla bilgi