Re: REAL Problem building GCC on Cygwin on Vista

2007-08-20 Thread Aaron Gray

On 19 August 2007 20:22, Aaron Gray wrote:

Now I having a problem with libcpp getting the error :-

   checking dependancy style of gcc... 
/usr/src/gcc-4.2.0/libcpp/configure: line 2887: ./depcomp: premission 
denied.


AFACT this actually looks like a Vista problem.

I replaced line 2875 with :-

   cat $am_depcomp  conftest.dir/depcomp

from

   cp $am_depcomp conftest.dir

It works fine now with the cat.

Can someone look into this please,

Aaron


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



RE: REAL Problem building GCC on Cygwin on Vista

2007-08-20 Thread Dave Korn
On 20 August 2007 15:49, Aaron Gray wrote:

 On 19 August 2007 20:22, Aaron Gray wrote:
 Now I having a problem with libcpp getting the error :-
 
checking dependancy style of gcc...
 /usr/src/gcc-4.2.0/libcpp/configure: line 2887: ./depcomp: premission
 denied.
 
 AFACT this actually looks like a Vista problem.
 
 I replaced line 2875 with :-
 
 cat $am_depcomp  conftest.dir/depcomp
 
 from
 
 cp $am_depcomp conftest.dir
 
 It works fine now with the cat.

  Hm, that sounds like a file that you have write but not delete permissions
to.
 
 Can someone look into this please,

  Well, just to state the obvious, /you/ would be the most ideally-placed
person to do so.

  I don't even have Vista, so I'm kinda ruled out there, but I'd take a look
at the perms and ACLs of conftest.dir and the existing depcomp file in there,
using both 'getfacl' to show cygwin's view of the posix-style perms, and
'cacls' to compare with windoze's opinion.

  BTW, you didn't by any chance use winzip to unpack the tarball did you?


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: REAL Problem building GCC on Cygwin on Vista

2007-08-20 Thread Corinna Vinschen
On Aug 20 16:20, Dave Korn wrote:
 On 20 August 2007 15:49, Aaron Gray wrote:
  On 19 August 2007 20:22, Aaron Gray wrote:
  AFACT this actually looks like a Vista problem.
  [...]
   Hm, that sounds like a file that you have write but not delete permissions
 to.
  
  Can someone look into this please,
 
   Well, just to state the obvious, /you/ would be the most ideally-placed
 person to do so.
 
   I don't even have Vista, so I'm kinda ruled out there, but I'd take a look
 at the perms and ACLs of conftest.dir and the existing depcomp file in there,
 using both 'getfacl' to show cygwin's view of the posix-style perms, and
 'cacls' to compare with windoze's opinion.
 
   BTW, you didn't by any chance use winzip to unpack the tarball did you?

Apart from that, the file permission settings are the same in Vista
compared to older OSes.  The exception is the UAC stuff which could
result in some executables having less permissions than usual, if, for
instance, Internet Explorer has been used to download the executable.
We can hopefully rule this out here, so it's just some permission
problem which has nothing to do with the base OS.  Note: Not all
problems on Vista are Vista's (or, FWIW, Cygwin's) fault.  See, for
example http://cygwin.com/acronyms/#PEBCAK for one possible explanation
of the problem.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: REAL Problem building GCC on Cygwin on Vista

2007-08-20 Thread Aaron Gray

On Aug 20 16:20, Dave Korn wrote:

On 20 August 2007 15:49, Aaron Gray wrote:
 On 19 August 2007 20:22, Aaron Gray wrote:
 AFACT this actually looks like a Vista problem.
 [...]
  Hm, that sounds like a file that you have write but not delete
permissions
to.

 Can someone look into this please,

  Well, just to state the obvious, /you/ would be the most ideally-placed
person to do so.

  I don't even have Vista, so I'm kinda ruled out there, but I'd take a
look
at the perms and ACLs of conftest.dir and the existing depcomp file in
there,
using both 'getfacl' to show cygwin's view of the posix-style perms, and
'cacls' to compare with windoze's opinion.

  BTW, you didn't by any chance use winzip to unpack the tarball did you?


No.


Apart from that, the file permission settings are the same in Vista
compared to older OSes.  The exception is the UAC stuff which could
result in some executables having less permissions than usual, if, for
instance, Internet Explorer has been used to download the executable.
We can hopefully rule this out here, so it's just some permission
problem which has nothing to do with the base OS.


Works fine on XP. The only things that are diferent are the Cygwin
instillation and Vista.


 Note: Not all
problems on Vista are Vista's (or, FWIW, Cygwin's) fault.  See, for
example http://cygwin.com/acronyms/#PEBCAK for one possible explanation
of the problem.


Nice reply :)

Does look like a case of PEBCAK.

Unmodified GCC 4.2.0 compiles okay, but when modified cracks appear, only on 
Vista though, XP is okay. So must be something to do with permissions.


Aaron


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



RE: REAL Problem building GCC on Cygwin on Vista

2007-08-20 Thread Dave Korn
On 20 August 2007 17:42, Aaron Gray wrote:

 On Aug 20 16:20, Dave Korn wrote:

   BTW, you didn't by any chance use winzip to unpack the tarball did you?
 
 No.

  Just checking.  Windoze tools don't generally do the right thing for
cygwin's emulation of posix perms.

 Apart from that, the file permission settings are the same in Vista
 compared to older OSes.  The exception is the UAC stuff which could
 result in some executables having less permissions than usual, if, for
 instance, Internet Explorer has been used to download the executable.
 We can hopefully rule this out here, so it's just some permission
 problem which has nothing to do with the base OS.

  I want to throw an AYS in Corinna's general direction here... one of the
ongoing problems in 'doze security since wy back when is that the default
perms for user-created files, the equivalent of the default umask under posix,
have always been pretty wide open: AYS they haven't been tightened up for
Vista?

 Works fine on XP. The only things that are diferent are the Cygwin
 instillation and Vista.

  Heh, so that's a bit like saying The only things that are different are
everything, apart from the gcc source code.

 Unmodified GCC 4.2.0 compiles okay, but when modified cracks appear, only on
 Vista though, XP is okay. So must be something to do with permissions.

  So, what tool did you use to 'modify' it?


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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