FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-09-2008, 01:57 PM
"Manuel Gómez"
 
Default I cannot compile - bash: ./configu /bin/sh: bad interpreter: Permission refused

Hi, i would like install Xnee 3.02 but when i type "./configure" says "bash: ./configure: /bin/sh: bad interpreter: Permission refused". The readme says that it must* be installed by typing configure, make, and make install.


What could i do?

Thank you very much, a appreciate your help.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-10-2008, 05:33 AM
Nils Kassube
 
Default I cannot compile - bash: ./configu /bin/sh: bad interpreter: Permission refused

Manuel Gómez wrote:
> Hi, i would like install Xnee 3.02 but when i type "./configure" says
> "bash: ./configure: /bin/sh: bad interpreter: Permission refused". The
> readme says that it must be installed by typing configure, make, and
> make install.

Just a wild guess: You can try to change the configure script. Replace
every instance of "/bin/sh" with "/bin/bash".

And here is an explanation why that might work. In Ubuntu, /bin/sh really
is dash instead of bash. Dash is sh compliant like bash but it is faster
and it doesn't have the bash extensions.

Some scripts use bash specific syntax even though they don't use /bin/bash
but /bin/sh because /bin/sh has been bash on many (all?) Linux systems
for a long time. That is a fault of the script because it should really
use /bin/bash if it needs the bash syntax.


Nils

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-10-2008, 08:06 AM
"Marcin 'Qrczak' Kowalczyk"
 
Default I cannot compile - bash: ./configu /bin/sh: bad interpreter: Permission refused

2008/11/9 Manuel Gómez <mgdpz1@gmail.com>:

> Hi, i would like install Xnee 3.02 but when i type "./configure" says "bash:
> ./configure: /bin/sh: bad interpreter: Permission refused".

Perhaps this file has DOS/Windows line endings. If so, you can fix this by:

sed -i 's/
//' configure

--
Marcin Kowalczyk
qrczak@knm.org.pl
http://qrnik.knm.org.pl/~qrczak/
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 11:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org