Re: [gentoo-user] can i rebuild the world with emerge -u -e --deep world?
On Friday 26 September 2003 13:47, HvR wrote: after installing gentoo for 2 weeks now and i finally figured out what i need for USE and CFLAGS, so now i want to rebuild my "world", can i just use: emerge -u --deep -e world ? will that rebuild everything on a running system or will things break. i rather not go back to stage1 also i like to keep all my config files intact. do i need to turn of X before i rebuild the world? I was in the same boat. I've recompiled world several times and have done it while using the system each time. That is, I've kept all my servers going (bind, postfix, etc) and have been using kde (konqueror, kmail, etc) without ever having a problem - even on the upgrade from qt31 to qt32. Just "emerge -e world" will do it. I suggest you find a way to track what you've rebuilt and what you haven't before your start, though, just in case. I usually use "emerge -ep world" and put the list of packages (without the version numbers) generated in a file called pkgs. I then use the following when rebuilding: for i in `cat pkgs`; do emerge --one-shot $i (grep -v $i pkgs pkgs2; mv pkgs2 pkgs) done That way you will have a list of any packages that fail to compile for some reason and a way to restart if it needs to be stopped for any reason. Regards, Jason -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] can i rebuild the world with emerge -u -e --deep world?
On Fri, 2003-09-26 at 00:48, Jason Stubbs wrote: On Friday 26 September 2003 13:47, HvR wrote: after installing gentoo for 2 weeks now and i finally figured out what i need for USE and CFLAGS, so now i want to rebuild my world, can i just use: emerge -u --deep -e world ? will that rebuild everything on a running system or will things break. i rather not go back to stage1 also i like to keep all my config files intact. do i need to turn of X before i rebuild the world? I was in the same boat. I've recompiled world several times and have done it while using the system each time. That is, I've kept all my servers going (bind, postfix, etc) and have been using kde (konqueror, kmail, etc) without ever having a problem - even on the upgrade from qt31 to qt32. Just emerge -e world will do it. I suggest you find a way to track what you've rebuilt and what you haven't before your start, though, just in case. I usually use emerge -ep world and put the list of packages (without the version numbers) generated in a file called pkgs. I then use the following when rebuilding: for i in `cat pkgs`; do emerge --one-shot $i (grep -v $i pkgs pkgs2; mv pkgs2 pkgs) done That way you will have a list of any packages that fail to compile for some reason and a way to restart if it needs to be stopped for any reason. isnt there an order to the packages? like you have to build the glibc first? doesnt every program get linked with it? or gcc do make the rest go faster? if not your trick is great: on another machine i had to do everything from scratch 3 times since something would happen in the middle of it and i didnt know how far it got. Regards, Jason -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] can i rebuild the world with emerge -u -e --deep world?
On Thu, Sep 25, 2003 at 09:47:47PM -0700, HvR wrote: just use: emerge -u --deep -e world ? will that rebuild everything No. Drop the -u to build everything. Brent (sounds painful, though) -- Aeacides arsono -- [EMAIL PROTECTED] mailing list