source: trunk/gui/apps/rappture.env.in @ 1191

Last change on this file since 1191 was 1191, checked in by dkearney, 16 years ago

adding colon infront of octave path variable because octave 2.1.73 does not properly separate paths from OCTAVE_PATH environment variable in my opinion.

  • Property svn:executable set to *
File size: 1.6 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-2008  Purdue Research Foundation
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:
18RAPPTURE_INSTALL_DIR=@prefix@
19
20# no need to edit the rest...
21export PATH=$RAPPTURE_INSTALL_DIR/bin:$PATH
22
23export TCLLIBPATH="$RAPPTURE_INSTALL_DIR/lib/vtk $TCLLIBPATH"
24
25export LD_LIBRARY_PATH=$RAPPTURE_INSTALL_DIR/lib:$RAPPTURE_INSTALL_DIR/lib/vtk:$RAPPTURE_INSTALL_DIR:$LD_LIBRARY_PATH
26
27export DYLD_LIBRARY_PATH=$RAPPTURE_INSTALL_DIR/lib:$RAPPTURE_INSTALL_DIR/lib/vtk:$DYLD_LIBRARY_PATH
28
29MATLABPATH=$RAPPTURE_INSTALL_DIR/lib/matlab:$MATLABPATH
30OCTAVE_PATH=:$RAPPTURE_INSTALL_DIR/lib/octave:$OCTAVE_PATH
31PERL5LIB=$RAPPTURE_INSTALL_DIR/lib/perl:$PERL5LIB
32RUBYLIB=$RAPPTURE_INSTALL_DIR/lib/ruby:$RUBYLIB
33TCL_LIBRARY=$RAPPTURE_INSTALL_DIR/lib/tcl8.4:$TCL_LIBRARY
34TK_LIBRARY=$RAPPTURE_INSTALL_DIR/lib/tk8.4:$TK_LIBRARY
35
36export MATLABPATH OCTAVE_PATH PERL5LIB RUBYLIB TCL_LIBRARY TK_LIBRARY
37
38# This is done specifically for python right now.
39python="$RAPPTURE_INSTALL_DIR/bin/python.env"
40if test -x "$python" ; then
41  . $python
42fi
43
Note: See TracBrowser for help on using the repository browser.