DELETED installall.logpro Index: installall.logpro ================================================================== --- installall.logpro +++ installall.logpro @@ -1,35 +0,0 @@ -;; (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 DELETED installall.sh Index: installall.sh ================================================================== --- installall.sh +++ installall.sh @@ -1,139 +0,0 @@ -#!/bin/bash - -# Copyright 2007-2010, Matthew Welland. -# -# This program is made available under the GNU GPL version 2.0 or -# greater. See the accompanying file COPYING for details. -# -# This program is distributed WITHOUT ANY WARRANTY; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. - -echo You may need to do the following first: -echo sudo apt-get install libreadline-dev -echo sudo apt-get install libmotif3 -OR- set KTYPE=26g4 -echo KTYPE can be 26 or 26g4 -echo You are using PREFIX=$PREFIX -echo You are using proxy="$proxy" -echo Hit ^C now to do that - -# A nice way to run this script: -# -# script -c 'PREFIX=/tmp/delme ./installall.sh ' installall.log -# logpro installall.logpro installall.html < installall.log -# firefox installall.html - -sleep 5 - -if [[ $proxy == "" ]]; then - echo 'Please set the environment variable "proxy" to host.com:port (e.g. foo.com:1234) to use a proxy' - echo PROX="" -else - export http_proxy=http://$proxy - export PROX="-proxy $proxy" -fi - -if [[ $KTYPE == "" ]]; then - echo 'Using KTYPE=26' - export KTYPE=26 -else - echo Using KTYPE=$KTYPE -fi - -export CHICKEN_VERSION=4.7.3 -if ! [[ -e chicken-${CHICKEN_VERSION}.tar.gz ]]; then - wget http://code.call-cc.org/dev-snapshots/2011/08/17/chicken-${CHICKEN_VERSION}.tar.gz -fi - -BUILDHOME=$PWD -if [[ $PREFIX == "" ]]; then - PREFIX=$PWD/inst -fi - -export PATH=$PREFIX/bin:$PATH -echo "export PATH=$PREFIX/bin:\$PATH" > setup-chicken4x.sh -export LD_LIBRARY_PATH=$PREFIX/lib -echo "export LD_LIBRARY_PATH=$PREFIX/lib" >> setup-chicken4x.sh - -echo PATH=$PATH -echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH - -if ! [[ -e $PREFIX/bin/csi ]]; then - 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 - -for f in readline apropos base64 regex-literals format regex-case test coops trace csv dot-locking csv-xml rpc; do - chicken-install $PROX $f -done - -cd $BUILDHOME - -for a in `ls */*.meta|cut -f1 -d/` ; do - echo $a - (cd $a;chicken-install) -done - -echo Install sqlite3 -if ! [[ -e sqlite-autoconf-3070500.tar.gz ]]; then - wget http://www.sqlite.org/sqlite-autoconf-3070500.tar.gz -fi - -if ! [[ -e $PREFIX/bin/sqlite3 ]] ; then - if [[ -e sqlite-autoconf-3070500.tar.gz ]]; then - tar xfz sqlite-autoconf-3070500.tar.gz - (cd sqlite-autoconf-3070500;./configure --prefix=$PREFIX;make;make install) - CSC_OPTIONS="-I$PREFIX/include -L$PREFIX/lib" chicken-install $PROX sqlite3 - fi -fi - -if [[ `uname -a | grep x86_64` == "" ]]; then - export files="cd-5.4.1_Linux${KTYPE}_lib.tar.gz im-3.6.3_Linux${KTYPE}_lib.tar.gz iup-3.5_Linux${KTYPE}_lib.tar.gz" -else - export files="cd-5.4.1_Linux${KTYPE}_64_lib.tar.gz im-3.6.3_Linux${KTYPE}_64_lib.tar.gz iup-3.5_Linux${KTYPE}_64_lib.tar.gz" -fi - -mkdir -p $PREFIX/iuplib -for a in `echo $files` ; do - if ! [[ -e $a ]] ; then - wget http://www.kiatoa.com/matt/iup/$a - fi - (cd $PREFIX/lib;tar xfvz $BUILDHOME/$a;mv include/* ../include) -done - -# ffcall obtained from: -# cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/libffcall co ffcall - -if ! [[ -e ffcall.tar.gz ]] ; then - wget http://www.kiatoa.com/matt/iup/ffcall.tar.gz -fi - -tar xfvz ffcall.tar.gz - -cd ffcall -./configure --prefix=$PREFIX --enable-shared -make -make install - - -cd $BUILDHOME -export LIBPATH=$PREFIX/lib -export LD_LIBRARY_PATH=$LIBPATH -CSC_OPTIONS="-I$PREFIX/include -L$LIBPATH" chicken-install $PROX -D no-library-checks iup -CSC_OPTIONS="-I$PREFIX/include -L$LIBPATH" chicken-install $PROX -D no-library-checks canvas-draw - -# export CD_REL=d704525ebe1c6d08 -# if ! [[ -e Canvas_Draw-$CD_REL.zip ]]; then -# wget http://www.kiatoa.com/matt/iup/Canvas_Draw-$CD_REL.zip -# fi -# -# unzip -o Canvas_Draw-$CD_REL.zip -# -# cd "Canvas Draw-$CD_REL/chicken" -# CSC_OPTIONS="-I$PREFIX/include -L$LIBPATH" chicken-install $PROX -D no-library-checks - -echo You may need to add $LD_LIBRARY_PATH to your LD_LIBRARY_PATH variable, a setup-chicken4x.sh -echo file can be found in the current directory which should work for setting up to run chicken4x ADDED utils/chicken-installall.logpro Index: utils/chicken-installall.logpro ================================================================== --- utils/chicken-installall.logpro +++ utils/chicken-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