Problem in installing Mathematica 5.2 on FC5
I have been trying to install Mathematica 5.2 on Fedora Core 5.
On using the bash shell - $ ./MathhInstaller bash: ./MathInstaller: /bin/sh: bad interpreter: Permission denied Therefore I changed to csh, now it goes like this - $ cd /media/MATHEMATICA/Unix/Installer/ $ ./MathhInstaller ./MathInstaller: Permission denied. The same thing happens whether I am su or normal user. Could anyone please help me with this problem. Thanks a lot. |
bad interpreter would indicate a problem with the very first line of the file.
Correct interpreter line syntax should be something like: #!/bin/sh OR #!/bin/csh OR #!/bin/bash OR #!/usr/local/bin/perl The "#!" are REQUIRED. You can not typically use the csh in place of sh/bash. The scripting language for csh is completely different. The same is true of perl. |
In FC6 (and, I suspect, FC5) /bin/sh is just a symbolic link to /bin/bash. You might check to see if it's set that way in your /bin directory.
|
All times are GMT -5. The time now is 03:05 AM. |