red_over_blue
03-25-2003, 09:46 PM
I hate to double post, so I must admit that I also posted this in the Gentoo forums, since I use Gentoo. However, it has less than 10 views and no replies, so I thought I would see if anyone here has some suggestions.
I purchased Mathematica 4.1 student version, but am having trouble getting it working.
The install docs say to mount the CD, then "cd /cdrom/Unix/Installers/Linux" and then execute the MathInstaller script. However, this is not working.
I tried to put as much pertenant info as possible in the following commands. Does anyone know what this means? I did some searching on "bad interpreter" but came up empty handed. I would really like to get this working since I actually paid money for it. Thanks for any hints or suggestions.
limbo Linux # ./MathInstaller
-bash: ./MathInstaller: /bin/sh: bad interpreter: Permission denied
limbo Linux # cat MathInstaller
#!/bin/sh
#
# MathInstaller for Mathematica Version 4
#
# This file and all scripts and messages accessed from this file
# (c) 2000 Wolfram Research, Inc. All rights reserved.
#
PROGRAM_NAME=`type $0 | awk '{print $3}'`
PROGRAM_DIR=`dirname $PROGRAM_NAME`
cd $PROGRAM_DIR
INSTALLARCH=Linux
export INSTALLARCH
FROMDIR=`pwd`
export FROMDIR
if [ .$TMPDIR = ."" ]; then
TMPDIR=/usr/tmp
export TMPDIR
fi
INSTALLLANG=English
export INSTALLLANG
if [ ! -d ../../Files/SystemFiles/Installation ]; then
echo
echo "Your system type cannot be determined. "
echo "You are in the wrong directory to run MathInstaller. "
echo "Try again following these instructions: "
echo "cd /cdrom/Unix/Installers/<\SystemID>"
echo "./MathInstaller "
echo
exit
fi
cd ../../Files/SystemFiles/Installation
SystemResources/Utilities/MathInstaller $*
limbo Linux # ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Mar 21 08:18 /bin/sh -> bash
limbo Linux # ls -l /bin/bash
-rwxr-xr-x 1 root root 627856 Mar 21 08:18 /bin/bash
I purchased Mathematica 4.1 student version, but am having trouble getting it working.
The install docs say to mount the CD, then "cd /cdrom/Unix/Installers/Linux" and then execute the MathInstaller script. However, this is not working.
I tried to put as much pertenant info as possible in the following commands. Does anyone know what this means? I did some searching on "bad interpreter" but came up empty handed. I would really like to get this working since I actually paid money for it. Thanks for any hints or suggestions.
limbo Linux # ./MathInstaller
-bash: ./MathInstaller: /bin/sh: bad interpreter: Permission denied
limbo Linux # cat MathInstaller
#!/bin/sh
#
# MathInstaller for Mathematica Version 4
#
# This file and all scripts and messages accessed from this file
# (c) 2000 Wolfram Research, Inc. All rights reserved.
#
PROGRAM_NAME=`type $0 | awk '{print $3}'`
PROGRAM_DIR=`dirname $PROGRAM_NAME`
cd $PROGRAM_DIR
INSTALLARCH=Linux
export INSTALLARCH
FROMDIR=`pwd`
export FROMDIR
if [ .$TMPDIR = ."" ]; then
TMPDIR=/usr/tmp
export TMPDIR
fi
INSTALLLANG=English
export INSTALLLANG
if [ ! -d ../../Files/SystemFiles/Installation ]; then
echo
echo "Your system type cannot be determined. "
echo "You are in the wrong directory to run MathInstaller. "
echo "Try again following these instructions: "
echo "cd /cdrom/Unix/Installers/<\SystemID>"
echo "./MathInstaller "
echo
exit
fi
cd ../../Files/SystemFiles/Installation
SystemResources/Utilities/MathInstaller $*
limbo Linux # ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Mar 21 08:18 /bin/sh -> bash
limbo Linux # ls -l /bin/bash
-rwxr-xr-x 1 root root 627856 Mar 21 08:18 /bin/bash