The following forum message was posted by jhameed2 at
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4788654:
Fabio,
I tried that, however that does not solve the problem. I am copying the file,
so that you can see what it does. Its not too big.
Thanks,
-Jehanzeb
# Set prompt
export PS1="\[\033[01;32m\]\u@\h:\[\033[01;34m\]\W\$ \[\033[00m\]"
# Set terminal title
echo -n -e "\033]0;FEniCS - Automation of Computational Mathematical Modelin$
FEniCS_RESOURCES=`echo "$BASH_SOURCE" | sed -e 's|/share/fenics/fenics.conf|$
export PATH=$FEniCS_RESOURCES/bin:$PATH
export DYLD_LIBRARY_PATH=$FEniCS_RESOURCES/lib:$FEniCS_RESOURCES/lib/vtk-5.6$
export PYTHONPATH=$FEniCS_RESOURCES/lib/python2.7/site-packages:$FEniCS_RESO$
export PKG_CONFIG_PATH=$FEniCS_RESOURCES/lib/pkgconfig:/usr/lib/pkgconfig:$P$
export MANPATH=$FEniCS_RESOURCES/man:$FEniCS_RESOURCES/share/man:$MANPATH
export BOOST_DIR=$FEniCS_RESOURCES
export SWIG_LIB=$FEniCS_RESOURCES/share/swig/2.0.0
if [ `python -c "import platform;print platform.architecture()[0]"` != "64bi$
then
export VERSIONER_PYTHON_PREFER_32_BIT=yes
fi
# Run post installation script the first time this file is sourced
if [ ! -e $FEniCS_RESOURCES/share/fenics/fenics-postinst-stamp ]
then
$FEniCS_RESOURCES/bin/fenics-postinst
touch $FEniCS_RESOURCES/share/fenics/fenics-postinst-stamp
fi
clear
if [ -z "$FENICS_CONF_SILENT" ]; then
cat << EOF
________ ________ __ ______ ______
/ |/ | / | / \ / \
88888888/ 88888888/ _______ 88/ /888888 |/888888 |
88 |__ 88 |__ / \ / |88 | 88/ 88 \__88/
88 | 88 | 8888888 |88 |88 | 88 \
88888/ 88888/ 88 | 88 |88 |88 | __ 888888 |
88 | 88 |_____ 88 | 88 |88 |88 \__/ |/ \__88 |
88 | 88 |88 | 88 |88 |88 88/ 88 88/
88/ 88888888/ 88/ 88/ 88/ 888888/ 888888/
This is a shell with PATH's setup to work with FEniCS. If you are new
to FEniCS you probably want to have a look at the DOLFIN demo
programs. They are located under
$FEniCS_RESOURCES/share/dolfin/demo
For more information please visit the project website:
http://www.fenicsproject.org
EOF
fi
if ! [[ -x /usr/bin/xcodebuild ]]; then
cat << EOF
*** Warning: This package requires XCode to be installed in order to run.
Please install XCode from the OS X install disc before you continue.
EOF
fi
if [[ `uname -r | cut -d '.' -f1` != 11 ]]; then
cat << EOF
*** Warning: This package will only work with Mac OS X 10.7.
EOF
fi
if [ `python -c "import sys;print sys.prefix"` != "/System/Library/Framework$
cat << EOF
*** Warning: Current Python is not set to system Python. This may or may
not work correctly.
EOF
fi
export OPAL_PREFIX=$FEniCS_RESOURCES
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users