Re: Help Wanted Installing jhbuild on LFS 6.8
Tshepang Lekhonkhobe wrote: Me too, but why not make an exception with jhbuild software. You already made an exception by breaking the guidelines of your package management system: according to it, each package must have its own package user, but with jhbuild, stuff built all have jhbuild as package user. Either that or find out how to make jhbuild stop installing everything under --prefix. You might need to change the code though. I suppose I could install to /opt and link to /usr, but I really want to work this out. The symlink package management ideas presented on LFS may be of interest as a workaround. I interpret a package as more than an individual application. For example, X windows has minimum requirements to be a functioning software package and they are released as a group, so the package is xorg or better xorg-core with group of xorg. jhbuild user installs jhbuild. ~/.jhbuildrc is practically empty. xorg-core user installs X. jhbuild build xserver xf86-video-intel xf86-input-keyboard xf86-input-mouse gnome-core user belongs to gnome group and installs gnome-core moduleset. individual gnome apps install as self (gedit user installs gedit, but also belongs to gnome group). Using this scenario if I wanted to upgrade X from 7.6 to 7.7 all I have to do is: forall_direntries_from "xorg-core" -depth \( -type d -exec rmdir {} \; \) -or \( -not -type d -exec rm -f {} \; \) and re-run jhbuild for xorg-core user. For the group gnome: forall_direntries_from "gnome" -depth \( -type d -exec rmdir {} \; \) -or \( -not -type d -exec rm -f {} \; \) This would remove gnome-core and gedit in example above ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
On Sun, 2011-05-08 at 10:38 -0700, bsquared wrote: > Tshepang Lekhonkhobe wrote: > > > > I would use /opt as jhbuild prefix and see how things churn out. Also, > > the only first-class jhbuild target is GNOME 3, meaning that Xorg > > support might be broken even, so you might have to follow BLFS Xorg > > instructions for it. But try the jhbuild way first, and report issues. > > You might pave the way for some of us who find the LFS a bit tedious, > > and want to automate it a bit, using a magnificent tool like jhbuild. > > > > Another thing that might help is visit LFS channel and/or the mailing > > list. I even think that this thread should have been cross-posted there. > > > > I haven't given up yet. I prefer installing to standard locations. Me too, but why not make an exception with jhbuild software. You already made an exception by breaking the guidelines of your package management system: according to it, each package must have its own package user, but with jhbuild, stuff built all have jhbuild as package user. Either that or find out how to make jhbuild stop installing everything under --prefix. You might need to change the code though. ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
Tshepang Lekhonkhobe wrote: I would use /opt as jhbuild prefix and see how things churn out. Also, the only first-class jhbuild target is GNOME 3, meaning that Xorg support might be broken even, so you might have to follow BLFS Xorg instructions for it. But try the jhbuild way first, and report issues. You might pave the way for some of us who find the LFS a bit tedious, and want to automate it a bit, using a magnificent tool like jhbuild. Another thing that might help is visit LFS channel and/or the mailing list. I even think that this thread should have been cross-posted there. I haven't given up yet. I prefer installing to standard locations. I think you may be right about cross posting on LFS. Thanks. ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
Milan Bouchet-Valat wrote: Le samedi 07 mai 2011 à 23:46 -0400, Jasper St. Pierre a écrit : But this approach only goes so far: there's eventually going to be a point where you'll need a newer polkit or networkmanager version, and whoops, those need to run those as root. That said, I think jhbuild is a convenient way of building and installing GNOME and its deps to /usr. PolicyKit, NetworkManager and friends can probably work if you install them as root. That can be tricky, but that's LFS after all... ;-) So to me your only problem (for now) is that --sysconfdir doesn't seem to be taken into account by jhbuild. Maybe you should ping more clued-up people about that, e.g. fpeters on #gnome-hackers (unless he answers here). But isn't there a recommended way of building GNOME on LFS? Regards LFS does not address X or Gnome. Beyond LFS does. However, they do not have Gnome 3 covered only Gnome 2 (KDE 3 & 4). This is why I am looking at this method. Maybe someone from Gnome project could make a similar reference? I would consider it myself if I knew how. Thanks for your response. -Brian ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
Jasper St. Pierre wrote: You already did. jhbuild will install in whatever you specified as prefix. [1] The jhbuild instructions are for people who already have a proper gnome2 install and want to try out gnome3 easily safely: run a shell script, jhbuild build, jhbuild run gnome-shell --replace. There's no chance that accidentally overriding your gnome2 gnome-settings-daemon with a gnome3 one will break your install, because jhbuild doesn't touch your install. There's a lot of gnome-specific voodoo playing with environment variables, LD_PRELOAD hacks so that you have no chance of touching anything outside of your jhbuild prefix. [2] But this approach only goes so far: there's eventually going to be a point where you'll need a newer polkit or networkmanager version, and whoops, those need to run those as root. I am unfamiliar iwth LFS: does it have a common packaging or build system? [3] [1] I was not clear. I understand the the 'make install' command was executed by jhbuild and the module was installed in the prefix as a chroot kind of environment, but How does one install Gnome 3 as it is in a distribution? In my Ubuntu system Gnome is not installed in /opt, it is installed in /usr. I believe that this would follow FHS. [2] To reiterate an earlier message, the Gnome site indicates using jhbuild in the 'how do I get it' page for Gnome 3. However, they don't seem to address how to use it in a "Live" environment. [3] LFS itself does not have a package manager. However there are suggestions offered, and I chose to use a user based package management system referred to as package users. Installs are done as specific package users eg. xorg user installs X windows packages, gnome-core user installs the gnome-core modules... As it is now my system in development has the basics of a GNU/Linux system, Now I want to add the X windows environment with Gnome 3. I do not have or want Gnome 2 installed. When I tried with /usr as the prefix, there were some issues beyond the 'etc' directory. The bootstrap command (run as jhbuild user) failed at nearly every module because it was attempting to re-install packages (some older versions) that had been installed as package users eg. automake was installed as automake user. root [ / ]# stat /usr/bin/automake File: `/usr/bin/automake' Size: 257062 Blocks: 512IO Block: 4096 regular file Device: 811h/2065d Inode: 266480 Links: 2 Access: (0755/-rwxr-xr-x) Uid: (10027/automake) Gid: (10026/automake) Access: 2011-05-07 19:57:19.0 -0700 Modify: 2011-03-24 09:37:18.0 -0700 Change: 2011-03-24 09:37:18.0 -0700 Birth: - jhbuild user cannot over write this user's files. So I have to figure this out as well. As always I appreciate the help. Thanks again, Brian ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
On Sat, 2011-05-07 at 18:53 -0700, bsquared wrote: > Tshepang Lekhonkhobe wrote: > > > > 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. > > > > I did so after your last message, and bootstrap ran (raises more > questions), but I do prefer to use /etc for config files. > > It was explained that jhbuild is intended to be used as chroot (the > reason prefix/etc is created). Am I building an interim environment? Do > I use an interim location and then 'make dist'? Yea, I saw the explanation. Makes sense. > How is one supposed to install Gnome 3? The web page > (http://www.gnome.org/getting-gnome/) indicates to use jhbuild. > > I have found no instructions that detail installation. Perhaps I have > not looked in the right place. > > Still open for suggestions. I would use /opt as jhbuild prefix and see how things churn out. Also, the only first-class jhbuild target is GNOME 3, meaning that Xorg support might be broken even, so you might have to follow BLFS Xorg instructions for it. But try the jhbuild way first, and report issues. You might pave the way for some of us who find the LFS a bit tedious, and want to automate it a bit, using a magnificent tool like jhbuild. Another thing that might help is visit LFS channel and/or the mailing list. I even think that this thread should have been cross-posted there. ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
Le samedi 07 mai 2011 à 23:46 -0400, Jasper St. Pierre a écrit : > But this approach only goes so far: there's eventually going to be a > point where you'll need a newer polkit or networkmanager version, and > whoops, those need to run those as root. That said, I think jhbuild is a convenient way of building and installing GNOME and its deps to /usr. PolicyKit, NetworkManager and friends can probably work if you install them as root. That can be tricky, but that's LFS after all... ;-) So to me your only problem (for now) is that --sysconfdir doesn't seem to be taken into account by jhbuild. Maybe you should ping more clued-up people about that, e.g. fpeters on #gnome-hackers (unless he answers here). But isn't there a recommended way of building GNOME on LFS? Regards ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
You already did. jhbuild will install in whatever you specified as prefix. The jhbuild instructions are for people who already have a proper gnome2 install and want to try out gnome3 easily safely: run a shell script, jhbuild build, jhbuild run gnome-shell --replace. There's no chance that accidentally overriding your gnome2 gnome-settings-daemon with a gnome3 one will break your install, because jhbuild doesn't touch your install. There's a lot of gnome-specific voodoo playing with environment variables, LD_PRELOAD hacks so that you have no chance of touching anything outside of your jhbuild prefix. But this approach only goes so far: there's eventually going to be a point where you'll need a newer polkit or networkmanager version, and whoops, those need to run those as root. I am unfamiliar iwth LFS: does it have a common packaging or build system? On Sat, May 7, 2011 at 11:21 PM, bsquared wrote: > Jasper St. Pierre wrote: > >> 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. >> >> > OK. I think I get it now. jhbuild represents the clean build environment > and toolchain like the tools directory for LFS. I have adjusted my > configuration to reflect this. > > So, my question now is... How do I install after building? > > Thanks for the information. > > > -Brian > ___ > desktop-devel-list mailing list > desktop-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/desktop-devel-list > ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
Jasper St. Pierre wrote: 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. OK. I think I get it now. jhbuild represents the clean build environment and toolchain like the tools directory for LFS. I have adjusted my configuration to reflect this. So, my question now is... How do I install after building? Thanks for the information. -Brian ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
Tshepang Lekhonkhobe wrote: 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. I did so after your last message, and bootstrap ran (raises more questions), but I do prefer to use /etc for config files. It was explained that jhbuild is intended to be used as chroot (the reason prefix/etc is created). Am I building an interim environment? Do I use an interim location and then 'make dist'? How is one supposed to install Gnome 3? The web page (http://www.gnome.org/getting-gnome/) indicates to use jhbuild. I have found no instructions that detail installation. Perhaps I have not looked in the right place. Still open for suggestions. Thanks, Brian. ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
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 > 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/2065dInode: 319934 Links: 3 > Access: (1775/drwxrwxr-t) Uid: (0/root) Gid: ( / install) > Access: 2011-05-07 14:14:11.0 -0700 > Modify: 2011-05-07 14:13:38.0 -0700 > Change: 2011-05-07 14:13:38.0 -0700 > Birth: - >File: `/usr/etc/gconf' >Size: 4096 Blocks: 8 IO Block: 4096 directory > Device: 811h/2065dInode: 319936 Links: 3 > Access: (0755/drwxr-xr-x) Uid: (10073/ jhbuild) Gid: (10062/ gnome) > Access: 2011-05-07 14:14:54.0 -0700 > Modify: 2011-05-07 14:13:38.0 -0700 > Change: 2011-05-07 14:13:38.0 -0700 > Birth: - >File: `/usr/etc/gconf/2' >Size: 4096 Blocks: 8 IO Block: 4096 directory > Device: 811h/2065dInode: 319940 Links: 2 > Access: (0755/drwxr-xr-x) Uid: (10073/ jhbuild) Gid: (10062/ gnome) > Access: 2011-05-07 14:15:10.0 -0700 > Modify: 2011-05-07 14:13:38.0 -0700 > Change: 2011-05-07 14:13:38.0 -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. ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
Jasper St. Pierre wrote: 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. So if I want to use jhbuild to build X and gnome what would be the correct configuration? Also, xorg lists jhbuild as an option for building all the packages that make up X. Should I install X and gnome to '/opt'? I like the jhbuild setup and would like to use it to continue building my system. I was thinking it may be a good tool to use to script an LFS system build. Thanks, Brian ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
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 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 >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: 4096Blocks: 8 IO Block: 4096 directory > Device: 811h/2065d Inode: 319934 Links: 3 > Access: (1775/drwxrwxr-t) Uid: (0/root) Gid: ( / install) > Access: 2011-05-07 14:14:11.0 -0700 > Modify: 2011-05-07 14:13:38.0 -0700 > Change: 2011-05-07 14:13:38.0 -0700 > Birth: - > File: `/usr/etc/gconf' > Size: 4096Blocks: 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.0 -0700 > Modify: 2011-05-07 14:13:38.0 -0700 > Change: 2011-05-07 14:13:38.0 -0700 > Birth: - > File: `/usr/etc/gconf/2' > Size: 4096Blocks: 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.0 -0700 > Modify: 2011-05-07 14:13:38.0 -0700 > Change: 2011-05-07 14:13:38.0 -0700 > Birth: - > > > On my host system these are in /etc. > > I would like to avoid having /usr/etc. Any suggestions? > > -Brian > > ___ > desktop-devel-list mailing list > desktop-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/desktop-devel-list > ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
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 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: 4096Blocks: 8 IO Block: 4096 directory Device: 811h/2065d Inode: 319934 Links: 3 Access: (1775/drwxrwxr-t) Uid: (0/root) Gid: ( / install) Access: 2011-05-07 14:14:11.0 -0700 Modify: 2011-05-07 14:13:38.0 -0700 Change: 2011-05-07 14:13:38.0 -0700 Birth: - File: `/usr/etc/gconf' Size: 4096Blocks: 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.0 -0700 Modify: 2011-05-07 14:13:38.0 -0700 Change: 2011-05-07 14:13:38.0 -0700 Birth: - File: `/usr/etc/gconf/2' Size: 4096Blocks: 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.0 -0700 Modify: 2011-05-07 14:13:38.0 -0700 Change: 2011-05-07 14:13:38.0 -0700 Birth: - On my host system these are in /etc. I would like to avoid having /usr/etc. Any suggestions? -Brian ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
On Sat, 2011-05-07 at 10:05 -0700, bsquared wrote: > Tshepang Lekhonkhobe wrote: > > On Fri, 2011-05-06 at 16:02 -0700, bsquared wrote: > >> I have installed jhbuild in a basic LFS environment using standard build > >> tools: configure --prefix=/usr ; make&& make install. files[1] are > >> installed to /usr. But modulsets dir remained with source, so I copied > >> to user dir /usr/src/jhbuild (jhbuild user's home). I changed > >> modulesets_dir = os.path.join(SRCDIR, 'modulesets') to > >> modulesets_dir = os.path.expanduser('~/modulesets') in > >> "/usr/lib/python2.6/site-packages/jhbuild/defaults.jhbuildrc" > >> > >> I made a very simple .jhbuildrc for testing with bootstrap: > >> > >> moduleset = '' > >> modules = [ ] > >> checkoutroot = '/sources/' > >> prefix = '/usr' > >> > >> I get this error: > >> > >> jhbuild [ ~ ]$ jhbuild bootstrap > >> Traceback (most recent call last): > >> File "/usr/bin/jhbuild", line 31, in > >> 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' > >> > >> So, it seems that it does not like this configuration. > >> > >> Any ideas are appreciated. > >> > >> -- > >> Thank you, > >> -Brian > >> > >> LFS 6.8 with More Control and Package Management using Package Users > > > > I don't exactly follow, but did you ensure that '/usr/etc' belongs to a > > group named 'install' (if you followed the suggestion of that elegant > > LFS package management system)? Did you ensure that jhbuild is a member > > of that group? > > > > Another thing is that if you are going to be using jhbuild (and just to > > confirm), are you going to be having the all packages built by it use > > the same package user? > > > Thank you for resonding. > Regarding your first question. I currently do not have a /usr/etc > folder. I would prefer setting be stored in /etc or /etc/jhbuild. As to > you second question, I want jhbuild to be available to all pkgusrs. For > example, a user named xorg will use jhbuild to build the modules in it's > ~/.jhbuildrc andmodulesets directory while user gnome-core would have a > different config file and modulesets directory. Interesting approach there. > Does that make sense? Is it possible? Have you tried using './configure --prefix=/usr --sysconfdir=/etc' for jhbuild? ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
Tshepang Lekhonkhobe wrote: On Fri, 2011-05-06 at 16:02 -0700, bsquared wrote: I have installed jhbuild in a basic LFS environment using standard build tools: configure --prefix=/usr ; make&& make install. files[1] are installed to /usr. But modulsets dir remained with source, so I copied to user dir /usr/src/jhbuild (jhbuild user's home). I changed modulesets_dir = os.path.join(SRCDIR, 'modulesets') to modulesets_dir = os.path.expanduser('~/modulesets') in "/usr/lib/python2.6/site-packages/jhbuild/defaults.jhbuildrc" I made a very simple .jhbuildrc for testing with bootstrap: moduleset = '' modules = [ ] checkoutroot = '/sources/' prefix = '/usr' I get this error: jhbuild [ ~ ]$ jhbuild bootstrap Traceback (most recent call last): File "/usr/bin/jhbuild", line 31, in 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' So, it seems that it does not like this configuration. Any ideas are appreciated. -- Thank you, -Brian LFS 6.8 with More Control and Package Management using Package Users I don't exactly follow, but did you ensure that '/usr/etc' belongs to a group named 'install' (if you followed the suggestion of that elegant LFS package management system)? Did you ensure that jhbuild is a member of that group? Another thing is that if you are going to be using jhbuild (and just to confirm), are you going to be having the all packages built by it use the same package user? Thank you for resonding. Regarding your first question. I currently do not have a /usr/etc folder. I would prefer setting be stored in /etc or /etc/jhbuild. As to you second question, I want jhbuild to be available to all pkgusrs. For example, a user named xorg will use jhbuild to build the modules in it's ~/.jhbuildrc andmodulesets directory while user gnome-core would have a different config file and modulesets directory. Does that make sense? Is it possible? Thanks, Brian ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
On Fri, 2011-05-06 at 16:02 -0700, bsquared wrote: > I have installed jhbuild in a basic LFS environment using standard build > tools: configure --prefix=/usr ; make && make install. files[1] are > installed to /usr. But modulsets dir remained with source, so I copied > to user dir /usr/src/jhbuild (jhbuild user's home). I changed > modulesets_dir = os.path.join(SRCDIR, 'modulesets') to > modulesets_dir = os.path.expanduser('~/modulesets') in > "/usr/lib/python2.6/site-packages/jhbuild/defaults.jhbuildrc" > > I made a very simple .jhbuildrc for testing with bootstrap: > > moduleset = '' > modules = [ ] > checkoutroot = '/sources/' > prefix = '/usr' > > I get this error: > > jhbuild [ ~ ]$ jhbuild bootstrap > Traceback (most recent call last): >File "/usr/bin/jhbuild", line 31, in > 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' > > So, it seems that it does not like this configuration. > > Any ideas are appreciated. > > -- > Thank you, > -Brian > > LFS 6.8 with More Control and Package Management using Package Users I don't exactly follow, but did you ensure that '/usr/etc' belongs to a group named 'install' (if you followed the suggestion of that elegant LFS package management system)? Did you ensure that jhbuild is a member of that group? Another thing is that if you are going to be using jhbuild (and just to confirm), are you going to be having the all packages built by it use the same package user? ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list
Re: Help Wanted Installing jhbuild on LFS 6.8
You need write access to whatever you assign to 'prefix'. On Fri, May 6, 2011 at 7:02 PM, bsquared wrote: > I have installed jhbuild in a basic LFS environment using standard build > tools: configure --prefix=/usr ; make && make install. files[1] are > installed to /usr. But modulsets dir remained with source, so I copied to > user dir /usr/src/jhbuild (jhbuild user's home). I changed > modulesets_dir = os.path.join(SRCDIR, 'modulesets') to > modulesets_dir = os.path.expanduser('~/modulesets') in > "/usr/lib/python2.6/site-packages/jhbuild/defaults.jhbuildrc" > > I made a very simple .jhbuildrc for testing with bootstrap: > > moduleset = '' > modules = [ ] > checkoutroot = '/sources/' > prefix = '/usr' > > I get this error: > > jhbuild [ ~ ]$ jhbuild bootstrap > Traceback (most recent call last): > File "/usr/bin/jhbuild", line 31, in >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' > > So, it seems that it does not like this configuration. > > Any ideas are appreciated. > > -- > Thank you, > -Brian > > LFS 6.8 with More Control and Package Management using Package Users > > [1] File List > /usr/bin/install-check > /usr/bin/jhbuild > /usr/lib/python2.6/site-packages/jhbuild > /usr/lib/python2.6/site-packages/jhbuild/buildbot > /usr/lib/python2.6/site-packages/jhbuild/buildbot/changes.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/changes.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/changes.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/factory.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/factory.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/factory.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/__init__.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/__init__.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/__init__.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/scheduler.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/scheduler.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/scheduler.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/__init__.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/__init__.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/__init__.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/bot.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/bot.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/bot.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/builder.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/builder.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/builder.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/build.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/build.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/build.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/changes.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/changes.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/changes.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/feeds.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/feeds.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/feeds.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/__init__.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/__init__.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/__init__.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/logs.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/logs.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/logs.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/step.py > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/step.pyc > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/step.pyo > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/waterfall.py > > /usr/lib/python2.6/site-packages/jhbuild/buildbot/status/web/waterfall.pyc > > /usr/lib/python2.6/site-packag