Re: Help Wanted Installing jhbuild on LFS 6.8
- From: "Jasper St. Pierre" <jstpierre mecheye net>
- To: bsquared <bwcode4u gmail com>
- Cc: gnome-desktop-devel <desktop-devel-list gnome org>
- Subject: Re: Help Wanted Installing jhbuild on LFS 6.8
- Date: Sat, 7 May 2011 18:00:44 -0400
jhbuild is not a general purpose build system for building gnome. It's designed to sandbox a gnome setup and keep anything from interacting with it... like a chroot, but more usable.
The prefix variable defines where things like "bin", "lib" and "etc" go. Because of the sandbox aspect, setting your prefix to "/usr" really defeats the whole point of the system... most people use a place in their userdir or /opt/gnome3 or something. I use $HOME/Source/gnome3/install
jhbuild also has a bunch of hacks suited for gnome. Here, it's trying to create $PREFIX/etc for a sandbox gconf configuration... and failing because you don't have write access to "/usr" so it can create the directory.
On Sat, May 7, 2011 at 5:23 PM, bsquared
<bwcode4u gmail com> wrote:
Tshepang Lekhonkhobe wrote:
Interesting approach there.
Does that make sense? Is it possible?
Have you tried using './configure --prefix=/usr --sysconfdir=/etc' for
jhbuild?
That was a good suggestion. I should have though of that myself, but no go. After './comfigure ; make && make install', I run
'jhbuild shell' and it still has error:
jhbuild [ ~ ]$ jhbuild shell
Traceback (most recent call last):
File "/usr/bin/jhbuild", line 31, in <module>
jhbuild.main.main(sys.argv[1:])
File "/usr/lib/python2.6/site-packages/jhbuild/main.py", line 130, in main
config = jhbuild.config.Config(options.configfile)
File "/usr/lib/python2.6/site-packages/jhbuild/config.py", line 194, in __init__
self.setup_env()
File "/usr/lib/python2.6/site-packages/jhbuild/config.py", line 448, in setup_env
os.makedirs(gconfpathdir)
File "/usr/lib/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/etc'
I find it odd. On my host system (Ubuntu lucid) jhbuild was installed to ~/.local, but there are no other 'etc' directories either under ~/.local or /usr.
Out of curiosity I created /etc/usr and ran 'jhbuild shell' as above. It succeeded. I then listed the directory:
bash-4.2$ find /usr/etc -exec stat {} \;
File: `/usr/etc'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 811h/2065d Inode: 319934 Links: 3
Access: (1775/drwxrwxr-t) Uid: ( 0/ root) Gid: ( 9999/ install)
Access: 2011-05-07 14:14:11.000000000 -0700
Modify: 2011-05-07 14:13:38.000000000 -0700
Change: 2011-05-07 14:13:38.000000000 -0700
Birth: -
File: `/usr/etc/gconf'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 811h/2065d Inode: 319936 Links: 3
Access: (0755/drwxr-xr-x) Uid: (10073/ jhbuild) Gid: (10062/ gnome)
Access: 2011-05-07 14:14:54.000000000 -0700
Modify: 2011-05-07 14:13:38.000000000 -0700
Change: 2011-05-07 14:13:38.000000000 -0700
Birth: -
File: `/usr/etc/gconf/2'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 811h/2065d Inode: 319940 Links: 2
Access: (0755/drwxr-xr-x) Uid: (10073/ jhbuild) Gid: (10062/ gnome)
Access: 2011-05-07 14:15:10.000000000 -0700
Modify: 2011-05-07 14:13:38.000000000 -0700
Change: 2011-05-07 14:13:38.000000000 -0700
Birth: -
On my host system these are in /etc.
I would like to avoid having /usr/etc. Any suggestions?
-Brian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]