Overview
Context
Changes
Modified utils/installall.sh
from [f9d4429015]
to [0f976290bf].
1
2
3
4
5
6
7
8
|
1
2
3
4
5
6
7
8
9
10
|
+
+
|
#!/bin/bash
set -x
# 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
|
︙ | | |
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
-
+
|
cd $BUILDHOME
fi
# Some eggs are quoted since they are reserved to Bash
for f in matchable readline apropos base64 regex-literals format "regex-case" "test" coops trace csv dot-locking posix-utils posix-extras directory-utils hostinfo tcp rpc csv-xml fmt ; do
if ! [[ -e $PREFIX/lib/chicken/6/$f.so ]];then
chicken-install $PROX $f
chicken-install -deploy -prefix $DEPLOYTARG $PROX $f
# chicken-install -deploy -prefix $DEPLOYTARG $PROX $f
else
echo Skipping install of egg $f as it is already installed
fi
done
cd $BUILDHOME
|
︙ | | |
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
-
+
|
wget http://www.sqlite.org/sqlite-autoconf-$SQLITE3_VERSION.tar.gz
fi
if ! [[ -e $PREFIX/bin/sqlite3 ]] ; then
if [[ -e sqlite-autoconf-$SQLITE3_VERSION.tar.gz ]]; then
tar xfz sqlite-autoconf-$SQLITE3_VERSION.tar.gz
(cd sqlite-autoconf-$SQLITE3_VERSION;./configure --prefix=$PREFIX;make;make install)
CSC_OPTIONS="-I$PREFIX/include -L$PREFIX/lib" chicken-install -prefix $DEPLOYTARG -deploy $PROX sqlite3
# CSC_OPTIONS="-I$PREFIX/include -L$PREFIX/lib" chicken-install -prefix $DEPLOYTARG -deploy $PROX sqlite3
CSC_OPTIONS="-I$PREFIX/include -L$PREFIX/lib" chicken-install $PROX sqlite3
fi
fi
# chicken-install $PROX sqlite3
if [[ `uname -a | grep x86_64` == "" ]]; then
|
︙ | | |
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
|
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
|
-
+
-
+
-
+
-
+
+
+
-
-
+
+
+
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
|
mkdir -p $PREFIX/iuplib
for a in `echo $files` ; do
if ! [[ -e $a ]] ; then
wget http://www.kiatoa.com/matt/iup/$a
fi
echo Untarring $a into $BUILDHOME/lib
(cd $PREFIX/lib;tar xfvz $BUILDHOME/$a;mv include/* ../include)
(cd $DEPLOYTARG;tar xfvz $BUILDHOME/$a)
# (cd $DEPLOYTARG;tar xfvz $BUILDHOME/$a)
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 CSCLIBS=`echo $LD_LIBRARY_PATH | sed 's/:/ -L/g'`
CSC_OPTIONS="-I$PREFIX/include -L$CSCLIBS" chicken-install $PROX -D no-library-checks -feature disable-iup-web iup
CSC_OPTIONS="-I$PREFIX/include -L$CSCLIBS" chicken-install $PROX -D no-library-checks -feature disable-iup-web -deploy -prefix $DEPLOYTARG iup
# CSC_OPTIONS="-I$PREFIX/include -L$CSCLIBS" chicken-install $PROX -D no-library-checks -feature disable-iup-web -deploy -prefix $DEPLOYTARG iup
# iup:1.0.2
CSC_OPTIONS="-I$PREFIX/include -L$CSCLIBS" chicken-install $PROX -D no-library-checks canvas-draw
CSC_OPTIONS="-I$PREFIX/include -L$CSCLIBS" chicken-install $PROX -D no-library-checks -deploy -prefix $DEPLOYTARG canvas-draw
# CSC_OPTIONS="-I$PREFIX/include -L$CSCLIBS" chicken-install $PROX -D no-library-checks -deploy -prefix $DEPLOYTARG canvas-draw
# wget http://www.kernel.org/pub/linux/utils/util-linux/v2.22/util-linux-2.22.tar.gz
UTIL_LINUX=2.22
UTIL_LINUX=2.20.1
# UTIL_LINUX=2.20.1
if ! [[ -e util-linux-${UTIL_LINUX}.tar.gz ]] ; then
wget http://www.kiatoa.com/matt/util-linux-2.20.1.tar.gz
# wget http://www.kernel.org/pub/linux/utils/util-linux/v${UTIL_LINUX}/util-linux-${UTIL_LINUX}.tar.gz
fi
if [[ -e util-linux-${UTIL_LINUX}.tar.gz ]] ; then
tar xfz util-linux-${UTIL_LINUX}.tar.gz
cd util-linux-${UTIL_LINUX}
mkdir -p build
cd build
if [[ $UTIL_LINUX = "2.22" ]] ; then
../configure --prefix=$PREFIX \
--disable-silent-rules \
--disable-dependency-tracking \
--enable-shared \
--disable-use-tty-group \
--disable-makeinstall-chown \
--disable-makeinstall-setuid \
--disable-libtool-lock \
--disable-largefile \
--disable-nls \
--disable-rpath \
--disable-tls \
--disable-login \
--disable-sulogin \
--disable-su \
--disable-schedutils \
--disable-libblkid \
--disable-libmount \
--disable-mount \
--disable-losetup \
--disable-fsck \
--disable-partx \
--disable-mountpoint \
--disable-fallocate \
--disable-unshare \
--disable-eject \
--disable-agetty \
--disable-cramfs \
--disable-switch_root \
--disable-pivot_root \
--disable-kill \
--disable-libblkid \
--disable-utmpdump \
--disable-rename \
--disable-chsh-only-listed \
--disable-login \
--disable-sulogin \
--disable-su \
--disable-schedutils \
--disable-wall \
--disable-pg-bell \
--disable-require-password \
--disable-libtool-lock \
--disable-nls \
--disable-dmesg \
--without-ncurses
else
../configure --prefix=$PREFIX \
--enable-shared \
--disable-mount \
--disable-fsck \
--disable-partx \
--disable-largefile \
--disable-tls \
--disable-libmount \
--disable-mountpoint \
--disable-nls \
--disable-rpath \
--disable-agetty \
--disable-cramfs \
--disable-switch_root \
--disable-pivot_root \
--disable-fallocate \
--disable-unshare \
--disable-rename \
--disable-schedutils \
--disable-use-tty-group \
--disable-makeinstall-chown \
--disable-makeinstall-setuid \
--disable-wall
make install
# --disable-libblkid \
# --disable-chsh-only-listed
# --disable-pg-bell let pg not ring the bell on invalid keys
# --disable-require-password
# --disable-use-tty-group do not install wall and write setgid tty
# --disable-makeinstall-chown
# --disable-makeinstall-setuid
--without-ncurses
fi
make
make install
cp $PREFIX/include/uuid/uuid.h $PREFIX/include/uuid.h
fi
cd $BUILDHOME
|
︙ | | |
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
|
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
|
-
+
+
-
+
|
wget http://download.zeromq.org/${ZEROMQ}${zpatchlev}.tar.gz
fi
if [[ -e ${ZEROMQ}${zpatchlev}.tar.gz ]] ; then
tar xfz ${ZEROMQ}.tar.gz
cd ${ZEROMQ}
ln -s $PREFIX/include/uuid src
LDFLAGS=-L$PREFIX/lib ./configure --prefix=$PREFIX
# LDFLAGS=-L$PREFIX/lib ./configure --prefix=$PREFIX
LDFLAGS="-L/usr/lib64 -L$PREFIX/lib" ./configure --prefix=$PREFIX
make
make install
CSC_OPTIONS="-I$PREFIX/include -L$CSCLIBS" chicken-install $PROX zmq
CSC_OPTIONS="-I$PREFIX/include -L$CSCLIBS" chicken-install $PROX -deploy -prefix $DEPLOYTARG zmq
# CSC_OPTIONS="-I$PREFIX/include -L$CSCLIBS" chicken-install $PROX -deploy -prefix $DEPLOYTARG zmq
fi
cd $BUILDHOME
## WEBKIT=WebKit-r131972
## if ! [[ -e ${WEBKIT}.tar.bz2 ]] ; then
## # http://builds.nightly.webkit.org/files/trunk/src/WebKit-r131972.tar.bz2
|
︙ | | |