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

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

fix vtk tcl path

  • Property svn:executable set to *
File size: 1.8 KB
RevLine 
[629]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
[3177]11#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
[629]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:
[2095]18exec_prefix=@INSTALL_PREFIX@
[629]19
[1583]20libdir=@libdir@
21bindir=@bindir@
[1679]22python_version=@PYTHON_VERSION@
23tcl_version=@TCL_VERSION@
[1844]24octave_version=@OCTAVE_VERSION_MAJOR@
[1583]25
[1679]26# No need to edit anything else
27PATH=${bindir}:$PATH
[1090]28
[3330]29LD_LIBRARY_PATH=${libdir}:$LD_LIBRARY_PATH
[1081]30
[1679]31# For MacOS X
[3330]32DYLD_LIBRARY_PATH=${libdir}:$DYLD_LIBRARY_PATH
[1090]33
[1679]34export PATH LD_LIBRARY_PATH DYLD_LIBRARY_PATH
[1090]35
[1583]36MATLABPATH=${libdir}/matlab:$MATLABPATH
[1989]37OCTAVE_LOADPATH=:${libdir}/octave3:$OCTAVE_LOADPATH
[1844]38OCTAVE_PATH=:${libdir}/octave${octave_version}:$OCTAVE_PATH
[1393]39
[1261]40export MATLABPATH OCTAVE_PATH OCTAVE_LOADPATH
[1101]41
[1679]42PERL5LIB=${libdir}/perl:$PERL5LIB
[1583]43PYTHONPATH=${libdir}/python${python_version}/site-packages:${PYTHONPATH}
[1679]44RUBYLIB=${libdir}/ruby:$RUBYLIB
[1090]45
[1679]46export PERL5LIB RUBYLIB PYTHONPATH
47
[4518]48TCLLIBPATH="${libdir}/tcltk/vtk $TCLLIBPATH"
[1679]49TCL_LIBRARY=${libdir}/tcl${tcl_version}:$TCL_LIBRARY
50TK_LIBRARY=${libdir}/tk${tcl_version}:$TK_LIBRARY
51
52export TCL_LIBRARY TK_LIBRARY TCLLIBPATH
53
[1722]54CLASSPATH=.:${libdir}/java:$CLASSPATH
55
[1783]56export CLASSPATH
[1722]57
[2709]58R_LIBS=${libdir}/R:$R_LIBS
59
60export R_LIBS
[3985]61
62RAPPTURE_PATH=${exec_prefix}
63
64export RAPPTURE_PATH
Note: See TracBrowser for help on using the repository browser.