source: branches/1.3/gui/apps/rappture.env.in @ 4518

Last change on this file since 4518 was 4518, checked in by gah, 10 years ago

fix vtk tcl path

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1#!/bin/sh
2# ----------------------------------------------------------------------
3#  RAPPTURE ENVIRONMENT
4#
5#  This is the main script that most people use to invoke the
6#  Rappture GUI.  It sets environment variables so that the Rappture
7#  GUI driver will work properly for the current installation.
8#
9# ======================================================================
10#  AUTHOR:  Michael McLennan, Purdue University
11#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
12#
13#  See the file "license.terms" for information on usage and
14#  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
15# ======================================================================
16#
17# If you install Rappture elsewhere, edit the line below:
18exec_prefix=@INSTALL_PREFIX@
19
20libdir=@libdir@
21bindir=@bindir@
22python_version=@PYTHON_VERSION@
23tcl_version=@TCL_VERSION@
24octave_version=@OCTAVE_VERSION_MAJOR@
25
26# No need to edit anything else
27PATH=${bindir}:$PATH
28
29LD_LIBRARY_PATH=${libdir}:$LD_LIBRARY_PATH
30
31# For MacOS X
32DYLD_LIBRARY_PATH=${libdir}:$DYLD_LIBRARY_PATH
33
34export PATH LD_LIBRARY_PATH DYLD_LIBRARY_PATH
35
36MATLABPATH=${libdir}/matlab:$MATLABPATH
37OCTAVE_LOADPATH=:${libdir}/octave3:$OCTAVE_LOADPATH
38OCTAVE_PATH=:${libdir}/octave${octave_version}:$OCTAVE_PATH
39
40export MATLABPATH OCTAVE_PATH OCTAVE_LOADPATH
41
42PERL5LIB=${libdir}/perl:$PERL5LIB
43PYTHONPATH=${libdir}/python${python_version}/site-packages:${PYTHONPATH}
44RUBYLIB=${libdir}/ruby:$RUBYLIB
45
46export PERL5LIB RUBYLIB PYTHONPATH
47
48TCLLIBPATH="${libdir}/tcltk/vtk $TCLLIBPATH"
49TCL_LIBRARY=${libdir}/tcl${tcl_version}:$TCL_LIBRARY
50TK_LIBRARY=${libdir}/tk${tcl_version}:$TK_LIBRARY
51
52export TCL_LIBRARY TK_LIBRARY TCLLIBPATH
53
54CLASSPATH=.:${libdir}/java:$CLASSPATH
55
56export CLASSPATH
57
58R_LIBS=${libdir}/R:$R_LIBS
59
60export R_LIBS
61
62RAPPTURE_PATH=${exec_prefix}
63
64export RAPPTURE_PATH
Note: See TracBrowser for help on using the repository browser.