I: [SLE] Help me, problem with configure shell script

fsendmail@virgilio.it wrote : | I have SuSE Linux 7.3 version and I don't manage to install Rdesktop source | code. After the configure command line. " ./configure" it prints this | message: | | # ./configure | bash: ./configure: bad interpreter: No such file or directory | | Why? How can I solve this problem? Look in the configure script, perhaps the shell it is referring to is not on your system Look for the first line in the file #!/usr/bin/????? this is the shell that is going to execute this script, it might be a shell or a path to a shell that is not found -- <End of message> In the configure script there's: #!/bin/sh # # rdesktop: A Remote Desktop Protocol client # configure script ... In my directory /bin there's sh like link to bash command. Is it possible that bash isn't compatible with sh? My bash version is GNU bash, version 2.05.0(1)-release (i386-suse-linux)Copyright 2000 Free Software Foundation, Inc.

On Tue, 10 Dec 2002 15:20:10 +0100 <fsendmail@virgilio.it> wrote:
fsendmail@virgilio.it wrote : | I have SuSE Linux 7.3 version and I don't manage to install Rdesktop source | code. After the configure command line. " ./configure" it prints this | message: | | # ./configure | bash: ./configure: bad interpreter: No such file or directory | | Why? How can I solve this problem?
In my directory /bin there's sh like link to bash command. Is it possible that bash isn't compatible with sh?
The most likely problem is either 1. Your shebang line is bad, it needs to be #!/bin/bash with no spaces before it, or #!/bin/sh 2. You somehow got the script thru a windows server and it has dos line endings. Do a "joe script" or "vi script" and see if you see ^M's at the end of each line. If it does, do a dos2unix conversion on it. -- use Perl; #powerful programmable prestidigitation

Problem resolved thanks ----- Original Message ----- From: zentara <zentara@zentara.net> To: <suse-linux-e@suse.com> Sent: Tuesday, December 10, 2002 4:04 PM Subject: Re: [SLE] I: [SLE] Help me, problem with configure shell script
On Tue, 10 Dec 2002 15:20:10 +0100 <fsendmail@virgilio.it> wrote:
fsendmail@virgilio.it wrote : | I have SuSE Linux 7.3 version and I don't manage to install Rdesktop source | code. After the configure command line. " ./configure" it prints this | message: | | # ./configure | bash: ./configure: bad interpreter: No such file or directory | | Why? How can I solve this problem?
In my directory /bin there's sh like link to bash command. Is it possible that bash isn't compatible with sh?
The most likely problem is either 1. Your shebang line is bad, it needs to be #!/bin/bash with no spaces before it, or #!/bin/sh 2. You somehow got the script thru a windows server and it has dos line endings. Do a "joe script" or "vi script" and see if you see ^M's at the end of each line. If it does, do a dos2unix conversion on it.
-- use Perl; #powerful programmable prestidigitation
-- 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
participants (2)
-
fsendmail@virgilio.it
-
zentara