ADDED utils/installall.logpro Index: utils/installall.logpro ================================================================== --- /dev/null +++ utils/installall.logpro @@ -0,0 +1,35 @@ +;; (c) 2006,2007,2008,2009 Matthew Welland matt@kiatoa.com +;; +;; License GPL. + +;; first ensure your run at least started +;; + +(trigger "Body" #/^.*$/) ;; anything starts the body +;; (trigger "EndBody" #/This had better never match/) +(section "Body" "Body" "EndBody") + +(trigger "Chicken Build Start" #/^chicken-/) +(trigger "Chicken Build End" #/^make.*Leaving directory.*chicken-4.6.5/) +(section "Chicken build Start" "Chicken build End" "Chicken Build") + +(trigger "Eggs Start" #/alias.*http:..chicken/) +(trigger "Eggs End" #/Install sqlite3/) +(section "Eggs" "Eggs Start" "Eggs End") + +(for-each (lambda (egg) + (expect:required in "Eggs" > 0 (conc "Require install of " egg) (regexp (conc "installing " egg)))) + '(readline apropos base64 regex-literals format regex-case test coops trace)) + +(expect:ignore in "Body" < 99 "Ignore HAVE_STRERROR" #/define HAVE_STRERROR/) +(expect:ignore in "Body" < 99 "Ignore references to check-errors" #/check-errors/) +(expect:ignore in "Body" < 99 "Ignore references to type-errors" #/type-errors/) +(expect:ignore in "Body" < 99 "Ignore references to srfi-4-errors" #/srfi-4-errors/) +(expect:ignore in "Body" < 99 "Ignore redefinition of imported value bindings" #/Warning: redefinition of imported value binding/) +(expect:ignore in "Body" = 1 "Ignore CD native window driver warning" #/Warning: CD native window driver not found, some bindings cannot be compiled/) +(expect:ignore in "Body" < 99 "Ignore (setup-error-handling)" #/\(setup-error-handling\)/) +(expect:ignore in "Body" < 99 "Ignore install-other-files error" #/make.*install-other-files.*Error.*ignored/) +(expect:ignore in "Body" < 99 "Ignore scheme files with error in name" #/error[a-z\.A-Z0-9\-]*\.(scm|so)/) + +(expect:error in "Body" = 0 "WARNING" #/warning/i) +(expect:error in "Body" = 0 "ERROR" (list #/ERROR/ #/error/i)) ;; but disallow any other errors Index: utils/installall.sh ================================================================== --- utils/installall.sh +++ utils/installall.sh @@ -38,12 +38,13 @@ export KTYPE=26 else echo Using KTYPE=$KTYPE fi -if ! [[ -e chicken-4.6.5.tar.gz ]]; then - wget http://code.call-cc.org/dev-snapshots/2011/02/09/chicken-4.6.5.tar.gz +export CHICKEN_VERSION=4.7.0 +if ! [[ -e chicken-${CHICKEN_VERSION}.tar.gz ]]; then + wget http://code.call-cc.org/dev-snapshots/2011/05/27/chicken-${CHICKEN_VERSION}.tar.gz fi BUILDHOME=$PWD if [[ $PREFIX == "" ]]; then PREFIX=$PWD/inst @@ -56,12 +57,12 @@ echo PATH=$PATH echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH if ! [[ -e $PREFIX/bin/csi ]]; then - tar xfvz chicken-4.6.5.tar.gz - cd chicken-4.6.5 + tar xfvz chicken-${CHICKEN_VERSION}.tar.gz + cd chicken-${CHICKEN_VERSION} make PLATFORM=linux PREFIX=$PREFIX make PLATFORM=linux PREFIX=$PREFIX install cd $BUILDHOME fi