Re: Help Wanted Installing jhbuild on LFS 6.8



On Sat, 2011-05-07 at 14:23 -0700, bsquared 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?

I would use that package manager of yours to remove jhbuild from the
system (uninstall_package jhbuild), and the re-run the conf>make>install
commands. This is just a guess, and me hopes someone who understands
this technology (can one specify sysconfdir to /etc?) will chime in.
Either that or giving jhbuild user write access to /usr/etc, and be done
with it.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]