Megatest

Check-in [b3282dd656]
Login
Overview
Comment:Partial conversion to case for controlling iup install
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.62
Files: files | file ages | folders
SHA1: b3282dd65673297ec7df63d9b18093a54adb3621
User & Date: mrwellan on 2016-09-26 17:48:47
Other Links: branch diff | manifest | tags
Context
2016-09-28
14:24
Added options for other OS for installall script check-in: 419406362a user: jmoon18 tags: v1.62
2016-09-26
17:48
Partial conversion to case for controlling iup install check-in: b3282dd656 user: mrwellan tags: v1.62
17:22
added comments around point of failure with pre-1.15 logpro check-in: 0539c57942 user: bjbarcla tags: v1.62
Changes

Modified utils/installall.sh from [61ed82c622] to [e059aa1f66].

13
14
15
16
17
18
19
20
21

22
23
24
25
26
















27
28
29
30
31
32
33

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
#







<

>
|




>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







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

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
#
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"