Ken Moffat wrote: > Actually, since BLFS instructions assume you build as > a regular user, and only become root to install, /usr/src is probably > not the best place to build. ~/ is good.
This is just personal preference. I don't like to clutter my home directory with packages. The method I've used for years is to have the sources and build scripts in, say, /usr/src/pkg and do the actual build in /tmp: DIR=`pwd` PROGRAM=pkg-version ... BUILDDIR=/tmp/pkg rm -rf $BUILDDIR mkdir $BUILDDIR cd $BUILDDIR tar -xf $DIR/$PROGRAM.tar.?z* || exit 1 ... I modify the scripts according to situation. The xorg scripts are a bit different, but follow the general pattern. I've set up my bootscripts to not clean /tmp, so I can keep builds around for a while. Other directories could easily be used for /tmp, but I putting all the build directories in one place is convenient. /usr/src/ and all sub-directories there are owned by me, not root. I also have it as a separate partition. It all boils down to what you are comfortable with. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
