13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
echo You may need to do the following first:
echo sudo apt-get install libreadline-dev
echo sudo apt-get install libwebkitgtk-dev
echo sudo apt-get install libpangox-1.0-0 zlib1g-dev libfreetype6-dev
echo sudo apt-get install libssl-dev
echo sudo apt-get install libmotif3 -OR- set KTYPE=26g4
echo KTYPE can be 26, 26g4, or 32
echo
echo KTYPE=$KTYPE
echo You are using PREFIX=$PREFIX
echo You are using proxy="$proxy"
echo
echo "Set additional_libpath to help find gtk or other libraries, don't forget a leading :"
# NOTES:
#
# Centos with security setup may need to do commands such as following as root:
#
# NB// fix the paths first
#
# for a in /localdisk/chicken/4.8.0/lib/*.so;do chcon -t textrel_shlib_t $a; done
|
<
|
>
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
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
|
echo You may need to do the following first:
echo sudo apt-get install libreadline-dev
echo sudo apt-get install libwebkitgtk-dev
echo sudo apt-get install libpangox-1.0-0 zlib1g-dev libfreetype6-dev
echo sudo apt-get install libssl-dev
echo sudo apt-get install libmotif3 -OR- set KTYPE=26g4
echo
echo Set OPTION to std, currently OPTION=$OPTION
echo
echo You are using PREFIX=$PREFIX
echo You are using proxy="$proxy"
echo
echo "Set additional_libpath to help find gtk or other libraries, don't forget a leading :"
SYSTEM_TYPE=$(lsb_release -irs | tr '\n' '-')$(uname -i)-$OPTION
# Set up variables
#
case $SYSTEM_TYPE in
Ubuntu-16.04-i686-std)
KTYPE=44
CDVER=5.10
IUPVER=3.19.1
IMVER=3.11
;;
esac
echo KTYPE=$KTYPE
# NOTES:
#
# Centos with security setup may need to do commands such as following as root:
#
# NB// fix the paths first
#
# for a in /localdisk/chicken/4.8.0/lib/*.so;do chcon -t textrel_shlib_t $a; done
|
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
|
echo "$egg failed to install"
exit 1
fi
done
# $CHICKEN_INSTALL $PROX sqlite3
cd $BUILDHOME
# IUP versions
if [[ x$USEOLDIUP == "x" ]];then
CDVER=5.10
IUPVER=3.17
IMVER=3.11
else
CDVER=5.10
IUPVER=3.17
IMVER=3.11
fi
if [[ x$KTYPE == "x24g3" ]];then
CDVER=5.4.1
IUPVER=3.5
IMVER=3.6.3
fi
if [[ `uname -a | grep x86_64` == "" ]]; then
export ARCHSIZE=''
else
export ARCHSIZE=64_
fi
# 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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
echo "$egg failed to install"
exit 1
fi
done
# $CHICKEN_INSTALL $PROX sqlite3
cd $BUILDHOME
# # IUP versions
# if [[ x$USEOLDIUP == "x" ]];then
# CDVER=5.10
# IUPVER=3.17
# IMVER=3.11
# else
# CDVER=5.10
# IUPVER=3.17
# IMVER=3.11
# fi
# if [[ x$KTYPE == "x24g3" ]];then
# CDVER=5.4.1
# IUPVER=3.5
# IMVER=3.6.3
# fi
if [[ `uname -a | grep x86_64` == "" ]]; then
export ARCHSIZE=''
else
export ARCHSIZE=64_
fi
# 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"
|