how to install xulrunner without write access to /etc?

Timo Lindfors timo.lindfors at iki.fi
Tue Mar 25 17:29:20 PDT 2008


Hi,

I need xulrunner to test icedtea's --enable-liveconnect. I tried to
install xulrunner to ~/l/xulrunner without root privileges with the
following steps:


----

hg clone http://hg.mozilla.org/mozilla-central/ src && cd src

export JAVA_HOME=/usr/lib/jvm/icedtea1.3
cat > .mozconfig <<EOF
mk_add_options MOZ_CO_PROJECT=xulrunner
mk_add_options MOZ_OBJDIR=/home/lindi/l/hg/xulrunner/obj-xulrunner
ac_add_options --enable-application=xulrunner
ac_add_options --prefix=/home/lindi/l/xulrunner
ac_add_options --sysconfdir=/home/lindi/l/xulrunner/etc
#ac_add_options --disable-javaxpcom
EOF

python client.py checkout

time script -c 'make -f client.mk build AUTOCONF=autoconf2.13' ../build.log
time script -c 'make -f client.mk install AUTOCONF=autoconf2.13' ../build2.log

----

but the build still tries to write to /etc:

ln -s /home/lindi/l/xulrunner/include/xulrunner-2.0a1pre/unstable /home/lindi/l/xulrunner/lib/xulrunner-devel-2.0a1pre/include
ln -s /home/lindi/l/xulrunner/share/idl/xulrunner-2.0a1pre/stable /home/lindi/l/xulrunner/lib/xulrunner-devel-2.0a1pre/sdk/idl
ln -s /home/lindi/l/xulrunner/share/idl/xulrunner-2.0a1pre/unstable /home/lindi/l/xulrunner/lib/xulrunner-devel-2.0a1pre/idl
/home/lindi/l/hg/xulrunner/obj-xulrunner/config/nsinstall -D /etc/gre.d
/home/lindi/l/hg/xulrunner/obj-xulrunner/config/nsinstall -t 2.0a1pre.system.conf /etc/gre.d
/home/lindi/l/hg/xulrunner/obj-xulrunner/config/nsinstall: cannot create /etc/gre.d/2.0a1pre.system.conf: Permission denied

Any ideas on what other options I might need to set in .mozconfig?

best regards,
Timo Lindfors



More information about the distro-pkg-dev mailing list