/[ascend]/trunk/base/unixAC213/reconfig
ViewVC logotype

Contents of /trunk/base/unixAC213/reconfig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 68 - (show annotations) (download)
Thu Dec 1 08:19:18 2005 UTC (14 years, 8 months ago) by johnpye
File size: 1014 byte(s)
Generalised this script for other users; default
install location using this script is ~/ascroot
Everything should 'just work' if you've installed the 
tcl/tk RPMs at http://pye.dyndns.org/ascend or if you
have tcl/tk installed in your home directory under ~/tk
1 #! /bin/bash
2
3 # Added some new stuff here to allow reconfig to be
4 # used without tweaking. Art, you should be able to use
5 # it unmodified. Likewise Ben.
6
7 # I tweaked it to install to ~/ascroot/bin/ascend4
8 # instead of the default /usr/local/bin
9 # so that you can test without having to log in as root.
10
11 if [ $TKVERSION ]; then
12 tkver=$TKVERSION
13 else
14 tkver=8.3
15 fi
16
17 if [ $TKTABLEVERSION ]; then
18 tktablever=$TKTABLEVERSION
19 else
20 tktablever=2.8
21 fi
22
23 if [ $TKROOT ]; then
24 tkroot=$TKROOT
25 elif [ -d ~/tk ]; then
26 tkroot=~/tk
27 elif [ -d ~/tk83 ]; then
28 tkroot=~/tk83
29 else
30 tkroot=/usr
31 fi
32
33 if [ $ASCROOT ]; then
34 ascroot=$ASCROOT;
35 else
36 ascroot=~/ascroot
37 fi
38
39 cmd="./configure \
40 --prefix=$ascroot \
41 --with-fortran=g77 \
42 --with-gcc \
43 --with-tcl="$tkroot/lib/libtcl$tkver.so,$tkroot/include/tcl.h" \
44 --with-tk="$tkroot/lib/libtk$tkver.so,$tkroot/include/tk.h" \
45 --with-wish="$tkroot/bin/wish" \
46 --with-tktable=$tkroot/lib/Tktable$tktablever/libTktable$tktablever.so"
47
48 echo "RUNNING CONFIGURE WITH"
49 echo $cmd
50 echo ""
51
52 $cmd

Properties

Name Value
svn:executable *

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22