Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch tmpbranch
Excluding Merge-Ins
This is equivalent to a diff from
e7e7b8483f
to eb73f1e80c
2018-02-13
| | |
05:51 |
|
check-in: 06641528f3 user: matt tags: trunk
|
05:49 |
|
Leaf
check-in: eb73f1e80c user: matt tags: tmpbranch
|
2018-02-11
| | |
00:44 |
|
check-in: ffc2302349 user: matt tags: trunk
|
2018-02-01
| | |
18:46 |
|
check-in: e7e7b8483f user: mrwellan tags: trunk
|
18:25 |
|
check-in: c12c68186d user: mrwellan tags: trunk
|
| | |
Deleted installall.logpro.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
|
|
|
Deleted installall.sh.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
#!/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.
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
|