On Wednesday 11 July 2007 12:12 pm, Ken Moffat wrote:
> On Wed, Jul 11, 2007 at 03:12:15PM +0100, Kevin Barlow wrote:
> > TheOldFellow,
> > I'm certainly by no means an idiot I can assure you...
> > I couldn't even get jhALFS to build from the book never mind anything
> > else...
> > I'm not interested in automating anything from BLFS book since I have
> > shell scripts the does it all for me...
> > For example, to get KDE the script grabs XFree86 off my file server,
> > copys it to /src and builds it as well as copying modified files... it
> > then builds the dependencies for KDE by the same method and the KDE
> > itself followed by the KDE additional packages... if at any point there
> > is an error, the script stops and exits... only thing is that it doesn't
> > pick up where it left... I've only once had a script error, and it
> > errored for a darn good reason... I know scripts are out of date but I
> > like em, takes me back to the good ol days of dos 6.22 & windows 3.1,
> > 40mb hard drives and 16MHz 286's...
>
> 16MHz 286 wi' hard drive ? Luxury.
>
> But before I lapse into the Yorkshiremen sketch, scripts are not
> out of date - jhalfs produces a set of scripts. And if you've only
> had a script error once, either you're a lot better at it than I am,
> or you're not trying hard enough ;) Wait till you use modular X.
>
> Resuming after an error is conceptually easy - just touch a file (a
> 'stamp') after each package is completed, then wrap the build within
> a test to check that the stamp doesn't already exist.
>
Or wrap the build in a Makefile
for example:
Install := install
.PHONY: all clean DejaGnu-Installed Doxygen-Installed Expect-Installed
all: DejaGnu-Installed Doxygen-Installed Expect-Installed
clean:
$(MAKE) -C DejaGnu clean
$(MAKE) -C Doxygen clean
$(MAKE) -C Expect clean
DejaGnu-Installed:
$(MAKE) -C DejaGnu $(Install) && touch DejaGnu-Installed
Doxygen-Installed:
$(MAKE) -C Doxygen $(Install) && touch Doxygen-Installed
Expect-Installed: Tcl-8.4.13-Installed
$(MAKE) -C Expect $(Install) && touch Expect-Installed
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page