“bash: ./configure: /bin/sh: bad interpreter: Permission denied”

“bash: ./configure: /bin/sh: bad interpreter: Permission denied” error commonly occurs  when you have wrong options set in /etc/fstab and are trying to compile some code.

The partition you have mount that stores the source code you are trying to compile is identified in /etc/fstab by a line similar to the following one, also/etc/mtab has the same line displayed

/dev/hda13   /foo   ext3  user  1 2

look at the “user” flag, only displays user option

reading

man mount

~~~
user: Allow an ordinary user to mount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid).
~~~

Just change the user flag into defaults and you should be able to compile the whole world.

Related posts:

  1. get back coloured bash!
  2. Configure GRUB2 options and background
  3. ext3 > ext2
  4. mounting .iso & .img files
  5. problems mounting usb drive after installing from usb
  6. Disk quota management
  7. Swap Area not working
| Print This Post Print This Post | Email This Post Email This Post
RSS 2.0 | Trackback | Comment

Leave a Reply

XHTML: You can use these tags: b, cite, code, em, i, q cite="", strike, strong.