'/bin/sh' gone cannot build gcc

2010-01-11 Thread Aaron Gray
I have upgraded Cygwin and am trying to build 'llvm-gcc' which is
essentially the same as gcc and get the following :-

    bash: /home/ang/svn/llvm-gcc/configure: /bin/sh: bad interpreter:
Permission denied

Many thanks in advance,

Aaron

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: '/bin/sh' gone cannot build gcc

2010-01-11 Thread Christopher Faylor
On Mon, Jan 11, 2010 at 03:41:11PM +, Aaron Gray wrote:
I have upgraded Cygwin and am trying to build 'llvm-gcc' which is
essentially?the same as gcc and get the following :-

?? ?bash: /home/ang/svn/llvm-gcc/configure: /bin/sh: bad interpreter:
Permission denied

Many thanks in advance,

What does c:\cygwin\bin\ls -l c:\cygwin\bin\sh.exe have to say about
/bin/sh?  Also please provide the information from here:

http://cygwin.com/problems.html

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: '/bin/sh' gone cannot build gcc

2010-01-11 Thread Christopher Faylor
On Mon, Jan 11, 2010 at 04:12:48PM +, Aaron Gray wrote:
2010/1/11 Christopher Faylor cgf-use-the-mailinglist-ple...@cygwin.com:
 On Mon, Jan 11, 2010 at 03:41:11PM +, Aaron Gray wrote:
I have upgraded Cygwin and am trying to build 'llvm-gcc' which is
essentially?the same as gcc and get the following :-

I have tried building gcc-4.2.4 and am getting the same :-

$ /home/ang/src/gcc-4.2.4/configure --prefix=/home/ang/gcc-4.2.4-2
bash: /home/ang/src/gcc-4.2.4/configure: /bin/sh: bad interpreter:
Permission denied


?? ?bash: /home/ang/svn/llvm-gcc/configure: /bin/sh: bad interpreter:
Permission denied

Many thanks in advance,

Is this just my system is is anyone else got the same on the new Cygwin 1.7 ?

 What does c:\cygwin\bin\ls -l c:\cygwin\bin\sh.exe have to say about
 /bin/sh?

C:\Users\angc:\cygwin\bin\ls -l c:\cygwin\bin\sh.exe /usr/bin/ls:
cannot access c:\cygwin\bin\sh.exe: No such file or directory

?Also please provide the information from here:

Output from 'cygcheck -s -v -r  cygcheck.out' attached.

Have you tried reinstalling bash via setup.exe?

cgf

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: '/bin/sh' gone cannot build gcc

2010-01-11 Thread Aaron Gray
2010/1/11 Christopher Faylor cgf-use-the-mailinglist-ple...@cygwin.com:
 On Mon, Jan 11, 2010 at 04:12:48PM +, Aaron Gray wrote:
2010/1/11 Christopher Faylor cgf-use-the-mailinglist-ple...@cygwin.com:
 On Mon, Jan 11, 2010 at 03:41:11PM +, Aaron Gray wrote:
I have upgraded Cygwin and am trying to build 'llvm-gcc' which is
essentially?the same as gcc and get the following :-

I have tried building gcc-4.2.4 and am getting the same :-

$ /home/ang/src/gcc-4.2.4/configure --prefix=/home/ang/gcc-4.2.4-2
bash: /home/ang/src/gcc-4.2.4/configure: /bin/sh: bad interpreter:
Permission denied


?? ?bash: /home/ang/svn/llvm-gcc/configure: /bin/sh: bad interpreter:
Permission denied

Many thanks in advance,

Is this just my system is is anyone else got the same on the new Cygwin 1.7 ?

 What does c:\cygwin\bin\ls -l c:\cygwin\bin\sh.exe have to say about
 /bin/sh?

C:\Users\angc:\cygwin\bin\ls -l c:\cygwin\bin\sh.exe /usr/bin/ls:
cannot access c:\cygwin\bin\sh.exe: No such file or directory

?Also please provide the information from here:

Output from 'cygcheck -s -v -r  cygcheck.out' attached.

 Have you tried reinstalling bash via setup.exe?

Okay, working now after 2 bash reinstalls !

Many thanks Christopher,

Aaron

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: '/bin/sh' gone cannot build gcc

2010-01-11 Thread Christopher Faylor
On Mon, Jan 11, 2010 at 04:33:20PM +, Aaron Gray wrote:
2010/1/11 Christopher Faylor:
 Have you tried reinstalling bash via setup.exe?

Okay, working now after 2 bash reinstalls !

Many thanks Christopher,

You're welcome but it still raises the question of why this was needed.
Do you possibly have more than one version of cygwin on the system?  It
wasn't obvious from the cygcheck output but that doesn't mean there isn't
one.

Also, you have c:\cygwin\bin in your path three times.  One is sufficient.  :-)

cgf

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: '/bin/sh' gone cannot build gcc

2010-01-11 Thread Aaron Gray
2010/1/11 Christopher Faylor cgf-use-the-mailinglist-ple...@cygwin.com:
 On Mon, Jan 11, 2010 at 04:33:20PM +, Aaron Gray wrote:
2010/1/11 Christopher Faylor:
 Have you tried reinstalling bash via setup.exe?

Okay, working now after 2 bash reinstalls !

Many thanks Christopher,

 You're welcome but it still raises the question of why this was needed.

Yes.

 Do you possibly have more than one version of cygwin on the system?

I do have old versions that I cannot delete at all on Vista, but I was
not confusing them.

  It wasn't obvious from the cygcheck output but that doesn't mean there isn't
 one.

 Also, you have c:\cygwin\bin in your path three times.  One is sufficient.  
 :-)

Right thanks for pointing that out, they left over from the older installs.

Aaron

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: '/bin/sh' gone cannot build gcc

2010-01-11 Thread Aaron Gray
2010/1/11 Aaron Gray aaronngray.li...@googlemail.com:
 2010/1/11 Christopher Faylor cgf-use-the-mailinglist-ple...@cygwin.com:
 Also, you have c:\cygwin\bin in your path three times.  One is sufficient.  
 :-)

 Right thanks for pointing that out, they left over from the older installs.

They don't seem to be in my system path.

Aaron

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: '/bin/sh' gone cannot build gcc

2010-01-11 Thread Christopher Faylor
On Mon, Jan 11, 2010 at 04:45:58PM +, Aaron Gray wrote:
2010/1/11 Christopher Faylor cgf-use-the-mailinglist-ple...@cygwin.com:
 On Mon, Jan 11, 2010 at 04:33:20PM +, Aaron Gray wrote:
2010/1/11 Christopher Faylor:
 Have you tried reinstalling bash via setup.exe?

Okay, working now after 2 bash reinstalls !

Many thanks Christopher,

 You're welcome but it still raises the question of why this was needed.

Yes.

 Do you possibly have more than one version of cygwin on the system?

I do have old versions that I cannot delete at all on Vista, but I was
not confusing them.

I wasn't implying that you were.  I was wondering if they were causing
post-install initialization scripts to fail.

cgf

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple