SCIENTIFIC-LINUX-USERS Archives

June 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Peter Wainwright <[log in to unmask]>
Reply To:
Peter Wainwright <[log in to unmask]>
Date:
Wed, 13 Jun 2007 18:23:12 +0100
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (1867 bytes) , signature.asc (194 bytes)
On Wed, 2007-06-13 at 04:29 -0700, Radu-Cristian FOTESCU wrote:
> > -bash: ./MathInstaller: /bin/sh: bad interpreter: Permission denied
> 
> 
> > 
> > believe that this is because the CD was automounted with the noexec
> 
> > option, but I do not know how to fix this.  On Debian and SL305, it
> 
> > was a case of modifying /etc/fstab, and on SL44 software would 
> > install from CD right out of the box, but on SL5 there is no 
> > relevant line in /etc/fstab so presumably some other file needs tweaking.
> 
> 
> Sorry for attempting to answer you from a different Linux distro, but it should be easy to get your Math installed.
> 
> You're most definitely right, it's a noexec issue what you see. 
> 
> As it's not SL4 nor Debian Sarge, you will *not* have in /etc/fstab any CD-ROM line, but you will have it automatically mounted in GNOME/KDE. If it's not something SELinux-related, you should be able to fix it easily:
> (1) umount the CD and re-mount it manually, with '-o exec' ('defaults' should include 'exec' too) --or--
> (2) skip the umount and force a duplicate remount elsewhere, by mounting it with the option '--bind' passed to mount.
> 

An easier way, use the remount option:

# mount /device/or/mountpoint -o exec,remount


Peter

> 
> > SL5 does not include the latest version of R.  Which of the R rpms
> > at
> http://www.stats.bris.ac.uk/R/ would be appropriate?  There is no
> 
> > RHEL5 repository there at the moment.  Would any of the fedora
> 
> > repositories do?
> 
> 
> Sorry again for answering out of a SL5 box, but the only rpms that would have a chance to work are those for FC6: http://www.stats.bris.ac.uk/R/bin/linux/redhat/fc6/
> 
> 
> Regards,
> R-C
> 
> 
> 
> 
> 
> 
> 
>       Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com


ATOM RSS1 RSS2