LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2007, 04:39 AM   #1
somitras
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Rep: Reputation: 0
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.
 
Old 03-22-2007, 09:07 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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.
 
Old 03-22-2007, 09:19 AM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Mathematica 5.2 and Maple 10.06 suses Linux - Software 0 03-15-2007 10:13 PM
Problem installing FC5 on a HP Netserver L3 shaitan667 Linux - Hardware 0 07-17-2006 06:21 AM
Problem installing FC5 on Athlon jthors Fedora 2 05-26-2006 07:04 PM
Problem Installing FC5 on HP Pavillion joeenet Fedora 1 05-17-2006 12:13 PM
Problem Installing FC5 joeenet Linux - Software 1 05-16-2006 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration