Re: Bad Interperter?

2002-06-25 Thread Mike Martin

for info - general problems with shell scripts including ./configure

normally bad interpreter will mean the first line of a script is not
pointing to a file because

the path is wrong (eg: /usr/local/bin/sh rather than /bin/sh)
there are extra charcters etc

This is either in a shell script or a file that the shell script
calls

permission denied usually means file has not been made executable or
a file that is called has not been
 

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bad Interperter?

2002-06-25 Thread Eric Wood

Make sure this file didn't come from a DOS/Windows system as text files will
have carriage returns.

-eric
- Original Message -
> > [root@localhost source]# ./configure
> > bash: ./configure: bad interpreter: No such file or directory




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bad Interperter?

2002-06-25 Thread Rénald CASAGRAUDE

On lundi, juin 24, 2002, at 08:16 , David Busby wrote:

Hi !

> [root@localhost source]# ./configure
> bash: ./configure: bad interpreter: No such file or directory

Is your configure script executable ???
Try to see if x bit is set with :
$ ls -l

R.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bad Interperter?

2002-06-24 Thread David McGlone

On Monday 24 June 2002 05:35 pm, Michael Scottaline wrote:
> On Mon, 24 Jun 2002 15:03:43 -0400
>
> David McGlone <[EMAIL PROTECTED]> scribbled intuitively:
> >On Monday 24 June 2002 02:16 pm, David Busby wrote:
> >> List,
> >>I'm trying to make/install Samba 2.2.5 and I'm following the
> >
> >directions> but get this error when I try to run ./configure
> >
> >> Can someone provide assistance?  (I'm a n00b)
> >>
> >> [root@localhost source]# ./configure
> >> bash: ./configure: bad interpreter: No such file or directory
> >
> >try configure and make as normal user then su - to root and make install
> >
> >#./configure
> >#make
> >#su -
> >#make install
>
> ===
> Perhaps the su should be done w/o the -
> The - will put you into root's environment and out of the appropriate
> directory.  simply su; password; and then   make install

Yes, Im sorry, about that, but you can do su -m to maintain the current 
directory.

David M.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bad Interperter?

2002-06-24 Thread Michael Scottaline

On Mon, 24 Jun 2002 15:03:43 -0400
David McGlone <[EMAIL PROTECTED]> scribbled intuitively:

>On Monday 24 June 2002 02:16 pm, David Busby wrote:
>> List,
>>  I'm trying to make/install Samba 2.2.5 and I'm following the
>directions> but get this error when I try to run ./configure
>> Can someone provide assistance?  (I'm a n00b)
>>
>> [root@localhost source]# ./configure
>> bash: ./configure: bad interpreter: No such file or directory
>
>try configure and make as normal user then su - to root and make install
>
>#./configure
>#make
>#su -
>#make install
===
Perhaps the su should be done w/o the -
The - will put you into root's environment and out of the appropriate
directory.  simply su; password; and then   make install

Mike

-- 
"He may look like an idiot and talk like an idiot but don't let that
fool you., he really is an idiot."

-Groucho Marx



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bad Interperter?

2002-06-24 Thread David McGlone

On Monday 24 June 2002 02:16 pm, David Busby wrote:
> List,
>   I'm trying to make/install Samba 2.2.5 and I'm following the directions
> but get this error when I try to run ./configure
> Can someone provide assistance?  (I'm a n00b)
>
> [root@localhost source]# ./configure
> bash: ./configure: bad interpreter: No such file or directory

try configure and make as normal user then su - to root and make install

#./configure
#make
#su -
#make install



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bad Interperter?

2002-06-24 Thread Brian Ashe

Hello David,

Monday, June 24, 2002, 2:16:18 PM, you textually orated:

DB> List,
DB> I'm trying to make/install Samba 2.2.5 and I'm following the directions 
DB> but get this error when I try to run ./configure
DB> Can someone provide assistance?  (I'm a n00b)

DB> [root@localhost source]# ./configure
DB> bash: ./configure: bad interpreter: No such file or directory

It's complaining about the first line in the ./configure script. I haven't
looked lately but I'm assuming this should say...
#!/bin/sh

If it does then the file is possibly corrupted.

One possibility is that you had unzipped/tarred it on a WinXX box then FTPed
it using binary transfer. This would put bad characters at the ends of the
lines and cause this error. Samba transfers could also do this.

You could check for bad characters using od.
od -c configure

If you see a lot of "\r \n" then it is in Win format (bad). It should be just
"\n"

If you simply untarred the source directly in place then you may want to
check the integrity of the download.


Have fun,
-- 
_
 Brian Ashe CTO
 [EMAIL PROTECTED]  Dee-Web Software Services, LLC.
 http://www.dee-web.com/
-



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bad Interperter?

2002-06-24 Thread David Busby

List,
I did not have a space.  I'm running ./configure

/B

whoever wherever wrote:
> take out the space ./ configure should be ./configure
> 
> 
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
> 
> 
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bad Interperter?

2002-06-24 Thread whoever wherever

take out the space ./ configure should be ./configure


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Bad Interperter?

2002-06-24 Thread David Busby

List,
I'm trying to make/install Samba 2.2.5 and I'm following the directions 
but get this error when I try to run ./configure
Can someone provide assistance?  (I'm a n00b)

[root@localhost source]# ./configure
bash: ./configure: bad interpreter: No such file or directory

TIA
/B




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list