Hello list, I'm trying to install the last version of Mozilla and qpopper. When I try to execute the confugure/install script, linux says : user@server> ./configure bash: ./configure: bad interpreter: Permiso denegado I have SuSE 8.0, and it's the first time that this occurs to me. Thank you in advance.
On Wed, 4 Sep 2002 19:22:49 +0200
Joaquin Lopez
When I try to execute the confugure/install script, linux says :
user@server> ./configure bash: ./configure: bad interpreter: Permiso denegado
You probably have a bad shebang line on the script, or the script has dos line endings. Open the configure script with vi or joe, and if you see ^M at the line ends, do a dos2unix conversion. Make sure the shebang line is correct also, sometimes a space sneaks in. #!/bin/sh ->good #! /bin/sh -> bad #!/usr/bin/perl ->good #/usr/bin/perl ->bad -- use Perl; #powerful programmable prestidigitation
Hi there, Where did the script come from? Have you ftp'ed it or edited it? I have seen this error when a script does not have \n as the line termination. Try running dos2unix on the file concerned. Kind regards, Simon zentara wrote:
On Wed, 4 Sep 2002 19:22:49 +0200 Joaquin Lopez
wrote: When I try to execute the confugure/install script, linux says :
user@server> ./configure bash: ./configure: bad interpreter: Permiso denegado
You probably have a bad shebang line on the script, or the script has dos line endings.
Open the configure script with vi or joe, and if you see ^M at the line ends, do a dos2unix conversion.
Make sure the shebang line is correct also, sometimes a space sneaks in.
#!/bin/sh ->good #! /bin/sh -> bad #!/usr/bin/perl ->good #/usr/bin/perl ->bad
Thank you for your responses.
The problem is solved, but I don't know why It didn't work.
The problem started when I decided to put all the installable software in a
specific path (i.e.: /data/soft), in that path the scripts didn't work.
When I install software from one subdirectory of my home path (i.e.:
/home/user/soft) the scripts works perfectly.
Can anybody explain me this?
Thank tyou.
----- Original Message -----
From: "Simon Heaton"
Hi there,
Where did the script come from? Have you ftp'ed it or edited it?
I have seen this error when a script does not have \n as the line termination.
Try running dos2unix on the file concerned.
Kind regards,
Simon
zentara wrote:
On Wed, 4 Sep 2002 19:22:49 +0200 Joaquin Lopez
wrote: When I try to execute the confugure/install script, linux says :
user@server> ./configure bash: ./configure: bad interpreter: Permiso denegado
You probably have a bad shebang line on the script, or the script has dos line endings.
Open the configure script with vi or joe, and if you see ^M at the line ends, do a dos2unix conversion.
Make sure the shebang line is correct also, sometimes a space sneaks in.
#!/bin/sh ->good #! /bin/sh -> bad #!/usr/bin/perl ->good #/usr/bin/perl ->bad
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sun, 8 Sep 2002 10:25:46 +0200
"ximm"
Thank you for your responses. The problem is solved, but I don't know why It didn't work.
The problem started when I decided to put all the installable software in a specific path (i.e.: /data/soft), in that path the scripts didn't work. When I install software from one subdirectory of my home path (i.e.: /home/user/soft) the scripts works perfectly.
Can anybody explain me this?
Probably you didn't have the right to create files in /data/soft, and the scripts tried to create some files? Or some other permissions problem, like they have ownership by some user unknown to your system. Check the permissions and ownership on all the files and directories involved. -- use Perl; #powerful programmable prestidigitation
On Sunday 08 September 2002 10.25, ximm wrote:
Thank you for your responses. The problem is solved, but I don't know why It didn't work.
The problem started when I decided to put all the installable software in a specific path (i.e.: /data/soft), in that path the scripts didn't work. When I install software from one subdirectory of my home path (i.e.: /home/user/soft) the scripts works perfectly.
Can anybody explain me this?
What mount options do you use for /data? I expect it is something created by the SuSE install program, in which case it has mount option 'user' in /etc/fstab. Am I right? If so, it is mounted with 'noexec', which means that no programs or scripts stored on that partition may be executed. regards Anders
participants (5)
-
Anders Johansson
-
Joaquin Lopez
-
Simon Heaton
-
ximm
-
zentara