Re: Problem building GCC on Cygwin on Vista

2007-08-21 Thread Steve Holden

Dave Korn wrote:
[...] toiletless[*] in this matter.
[...]

[*] -  Y'know.  Nothing to go on.


snicker

regards
 Steve
--
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd   http://www.holdenweb.com
Skype: holdenweb  http://del.icio.us/steve.holden
--- Asciimercial --
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
--- Thank You for Reading -


--
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: Problem building GCC on Cygwin on Vista

2007-08-21 Thread Aaron Gray

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


Why is it different from gcc-4.2.0's ?


Okay I am kicking myself now many hours wasted it was because I used a
Windows program WinRAR to unpack my work rather than using tar !!!

It was a permissions problem afterall.

Very sorry for poluting your mailing list.


 Heh, I guess I shouldn't have been quite so specific when I asked about 
winzip.
It's basically any win32 gui unpacker that'll cause these kinds of 
problems.

Gotta use the cygwin tools!


Yep, no problem on XP though. I am finding Vista a bit of a dog, lots of 
wasted tim trying to do "bug fixes"/work arounds.


I had forgotten I had used WinRAR.

Many thanks for putting up with my postings,

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: Problem building GCC on Cygwin on Vista

2007-08-21 Thread Dave Korn
On 20 August 2007 22:53, Aaron Gray wrote:

>> Why is it different from gcc-4.2.0's ?
> 
> Okay I am kicking myself now many hours wasted it was because I used a
> Windows program WinRAR to unpack my work rather than using tar !!!
> 
> It was a permissions problem afterall.
> 
> Very sorry for poluting your mailing list.

  Heh, I guess I shouldn't have been quite so specific when I asked about 
winzip.
It's basically any win32 gui unpacker that'll cause these kinds of problems.
Gotta use the cygwin tools!


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: Problem building GCC on Cygwin on Vista

2007-08-20 Thread Aaron Gray

Why is it different from gcc-4.2.0's ?


Okay I am kicking myself now many hours wasted it was because I used a 
Windows program WinRAR to unpack my work rather than using tar !!!


It was a permissions problem afterall.

Very sorry for poluting your mailing list.

Regards,

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: Problem building GCC on Cygwin on Vista

2007-08-20 Thread Aaron Gray
Okay getfacl is reporting 'user::---' rather than 'user::rwx' for depcomp on 
my patched version of GCC.


This leads to two questions ...

How do I modify this to be correct ?

Why is it different from gcc-4.2.0's ?

Thanks for bearing with me.

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: Problem building GCC on Cygwin on Vista

2007-08-20 Thread Aaron Gray
Ignore the previous post depcomp is under src/gcc-4.2.0 not build/gcc-4.2.0 
!


Sorry to mess you about. I'll get some ACL results now ...

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: Problem building GCC on Cygwin on Vista

2007-08-20 Thread Aaron Gray
Okay I printed out '$am_depcomp' which was effectivly 
'gcc4.2.0/libcpp/../depcomp' and put an 'exit' at (effective) line 2888 and 
the file gcc4.2.0/depcomp does not seem to exist.


Very strange as I found 'depcomp' before previously and its printing 'line: 
2888: ./depcomp: permisssion denied' rather than 'file not found' still.


Is this just another missing Cygin package again ?

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: Problem building GCC on Cygwin on Vista

2007-08-20 Thread Aaron Gray

Aaron Gray wrote:


A Windows text editor called Zeus.


That's it.  I bet the problem disappears if you use a Cygwin text editor
such as vim.

When a native Windows app creates a file, it usually does not do
anything special with the ACL, so it gets whatever the default
inheritable permissions of the directory happen to be, which it looks
like are not correct.

You could also try a native editor that edits in-place instead of the
usual "create new file with temporary name then rename".


Except its not a file I have editted that is causing the problem, they are 
all behaving fine.


Things are a bit slow at this end due to other tasks and I am running out of 
time before I am back home away from my Vista machine at my parents so this 
may have to be put on hold as getting back to the original problem place is 
taking longer than I though and producing meaning full results from 
examining source will take a while.


Hopefully I will have some results soon...

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: Problem building GCC on Cygwin on Vista

2007-08-20 Thread Brian Dessent
Aaron Gray wrote:

> A Windows text editor called Zeus.

That's it.  I bet the problem disappears if you use a Cygwin text editor
such as vim.

When a native Windows app creates a file, it usually does not do
anything special with the ACL, so it gets whatever the default
inheritable permissions of the directory happen to be, which it looks
like are not correct.

You could also try a native editor that edits in-place instead of the
usual "create new file with temporary name then rename".

Brian

--
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: Problem building GCC on Cygwin on Vista

2007-08-20 Thread Dave Korn
On 20 August 2007 19:13, Aaron Gray wrote:

>> On 20 August 2007 18:16, Aaron Gray wrote:

>>> Hopefully I shall get to the bottom of it if I perservere, but any help or
>>> suggestions are welcome.
>> 
>>  Well, why don't you actually *look* at those perms, instead of asking people
>> who have no access to your computer and no idea what you've been doing to 
>> make
>> random guesses?  All your descriptions are way too vague for any attempt at
>> remote diagnosis.
> 
> Sorry I will have a look but I am not very strong in this area.


  Feel free to post the results of cacls and getfacl back here when you've got
them, but until then, we're basically toiletless[*] in this matter.


cheers,
  DaveK

[*] -  Y'know.  Nothing to go on.
-- 
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: Problem building GCC on Cygwin on Vista

2007-08-20 Thread Aaron Gray

On 20 August 2007 18:16, Aaron Gray wrote:

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?


A Windows text editor called Zeus.

I have been altering the C source code and some configureation and
gcc/makefile but AFAICT nothing that should effect gcc/configure though.

Its all very odd.

Hopefully I shall get to the bottom of it if I perservere, but any help 
or

suggestions are welcome.


 Well, why don't you actually *look* at those perms, instead of asking 
people
who have no access to your computer and no idea what you've been doing to 
make
random guesses?  All your descriptions are way too vague for any attempt 
at

remote diagnosis.


Sorry I will have a look but I am not very strong in this area.

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: Problem building GCC on Cygwin on Vista

2007-08-20 Thread Dave Korn
On 20 August 2007 18:16, Aaron Gray wrote:

>>> 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?
> 
> A Windows text editor called Zeus.
> 
> I have been altering the C source code and some configureation and
> gcc/makefile but AFAICT nothing that should effect gcc/configure though.
> 
> Its all very odd.
> 
> Hopefully I shall get to the bottom of it if I perservere, but any help or
> suggestions are welcome.

  Well, why don't you actually *look* at those perms, instead of asking people
who have no access to your computer and no idea what you've been doing to make
random guesses?  All your descriptions are way too vague for any attempt at
remote diagnosis.

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: Problem building GCC on Cygwin on Vista

2007-08-20 Thread Aaron Gray

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?


A Windows text editor called Zeus.

I have been altering the C source code and some configureation and 
gcc/makefile but AFAICT nothing that should effect gcc/configure though.


Its all very odd.

Hopefully I shall get to the bottom of it if I perservere, but any help or 
suggestions are welcome.


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: Problem building GCC on Cygwin on Vista

2007-08-19 Thread Aaron Gray

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

On building GCC on Vista I am getting a permissions error on building 
'intl'

with 'libintl.h' being unaccessable.

Any insights or help welcomed,


 Welcome to the Cywin Package List:

http://cygwin.com/packages/

 Do you have libintl.h installed?  It's in the gettext package:

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=libintl.h


Many thanks Dave, thats solved that one, nice of GCC to do a pre check for 
'gettext', not.


Imay do a patch for that at some point.

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.


Many thanks in advance,

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: Problem building GCC on Cygwin on Vista

2007-08-19 Thread Dave Korn
On 19 August 2007 20:22, Aaron Gray wrote:

> On building GCC on Vista I am getting a permissions error on building 'intl'
> with 'libintl.h' being unaccessable.
> 
> Any insights or help welcomed,

  Welcome to the Cywin Package List:

http://cygwin.com/packages/

  Do you have libintl.h installed?  It's in the gettext package:

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=libintl.h


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/