AW: 1.5.16-1: chmod problem

2005-05-02 Thread Pach Roman (GS-EC/ESA4) *
Hello
I took a look at the drive properties ones more.
The following acl rights has been given me by the network administrator:
  - change file permission: no
  - all others: yes

Unfortunately the Windows has a special attribute 'write protection'
which can be set in the mask for file's attribute.
So there is a kind of conflict now. Despite I can't change file permissions (in 
the acl)
I can every time set/reset the bit 'write protection'.
I see, it is very interesting feature of the so called operating system.
There is the question at this place:
Should the implementation of chmod allow the setting/resetting of the 'write 
protection' bit
in spite of the missing permission 'change file permission' in the acl ?

Roman


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag
von Corinna Vinschen
Gesendet: Montag, 2. Mai 2005 16:03
An: cygwin@cygwin.com
Betreff: Re: 1.5.16-1: chmod problem


On May  2 07:41, Pach Roman (GS-EC/ESA4) * wrote:
> Hello,
> I have tried now using strace.
> The file strace.14 has been generated for cygwin-1.5.14-1, and strace.15 for 
> cygwin-1.5.15-1.
> 
> The command used was:
> > strace chmod +w /u/tmp/yahoo > /tmp/strace.15 2>&1
> 
> The concerned part from strace.14:
>...
>   3310  116505 [main] chmod 1448 set_process_privilege: 0 = 
> set_process_privilege (SeRestorePrivilege, 1)
>244  116749 [main] chmod 1448 set_file_attribute: 0 = set_file_attribute 
> (u:\tmp\yahoo, -1, -1, 0x124)
>  10376  127125 [main] chmod 1448 chmod: 0 = chmod (/u/tmp/yahoo, 0x124)
>699  127824 [main] chmod 1448 chdir: dir '/c'
>...
> 
> And the same from strace.15
>...
>199 5004896 [main] chmod 1436 fhandler_base::open: (u:\tmp\yahoo, 0x11)
>   1441 5006337 [main] chmod 1436 seterrno_from_win_error: 
> /netrel/src/cygwin-1.5.15-1/winsup/cygwin/fhandler.cc:668 windows error 5
>216 5006553 [main] chmod 1436 geterrno_from_win_error: windows error 5 == 
> errno 13
>186 5006739 [main] chmod 1436 fhandler_base::open: C022 = NtCreateFile 
> (0x0, E0100, u:\tmp\yahoo, io, NULL, 0, 7, 1, 4400, NULL, 0)
>187 5006926 [main] chmod 1436 fhandler_base::open: 0 = fhandler_base::open 
> (u:\tmp\yahoo, 0x11)
>181 5007107 [main] chmod 1436 fhandler_base::open_fs: 0 = 
> fhandler_disk_file::open (u:\tmp\yahoo, 0x1)
>185 5007292 [main] chmod 1436 chmod: -1 = chmod (/u/tmp/yahoo, 0x1B6)
>   1226 5008518 [main] chmod 1436 open: open (/usr/share/locale/locale.alias, 
> 0x0)
>...
> 
> The first thing I can see is that 'fhandler_base::open:' returns with the 
> 'windows error 5'
> Is that the reason for chmod to fail later?

Yes.  Opening the file fails with "access denied" and then chmod has
no file handle to work with.

I'm sorry but I tried with 1.5.15 and 1.5.16 and I couldn't find a
situation in which this happens for me.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/


--
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: Help !!! - Problem running Cygwin in Remote Desktop session with non-admin privileges

2005-05-02 Thread Moghe, Jayant
Corinna:

I have been facing problems in downloading Cygwin 1.5.16. Can you please
suggest a mirror site where this is available?

Thank you for your help.

Best regards,

Jayant

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Corinna Vinschen
Sent: Friday, April 29, 2005 7:15 PM
To: cygwin@cygwin.com
Subject: Re: Help !!! - Problem running Cygwin in Remote Desktop session
with non-admin privileges

On Apr 29 15:36, Corinna Vinschen wrote:
> On Apr 29 18:50, Moghe, Jayant wrote:
> > I there any way where I can avail paid support?
> 
> Sure, but isn't it easier to report your problem somewhat more
detailed
> and see if you get a free (as in "free beer") reply within a couple of
> days?

For the records:  I tried to reproduce your problem with a 2K3 Server
machine running terminal services.  Logging in via remote desktop with
a non-admin acocunt, I was able to use bash and any other tool just
fine.

This is with Cygwin 1.5.16.  Did you upgrade?  Perhaps that helps.
Other than that, I found that bash can be somewhat obdurate if the
/tmp directory is not writable for the user.  I suggest to change
the permissions with

 chmod 1777 /tmp


HTH,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/



--
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: execvp error:cygwin+make+busybox

2005-05-02 Thread Christopher Faylor
On Tue, May 03, 2005 at 10:39:13AM +1000, John Williams wrote:
>Attempting to cross-compile Busybox 1.00 under Cygwin (1.5.16-1) I am 
>hitting an error similar to one previously reported on the Cygwin list 
>(Jan 05):
>
>http://www.cygwin.com/ml/cygwin/2005-01/msg00657.html
>
>No resolution was posted to the list at that time.
>
>The busybox Makefile attempts to run the host CC (gcc in this case) to 
>build some setup/config tools, as well as spawning a shell script to do 
>a bit of preparatory work.  This is before any cross-compiling begins.
>
>Make reports the following error:
>
>gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep 
>/cygdrive/e/cygwin-uclinux/uClinux-dist/user/busybox/scripts/mkdep.c
>make[3]: execvp: gcc: Invalid argument
>make[3]: *** [scripts/mkdep] Error 127
>
>The problem occurs with Make versions 3.79.1 and 3.80 (haven't tested 
>any earlier versions)
>
>The Makefile fragment which fails looks like this:
>
>scripts/mkdep: $(top_srcdir)/scripts/mkdep.c
>$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
>
>HOSTCC and HOSTCFLAGS can be deduced from above output, but there's 
>nothing exotic in there.
>
>Another fragment which fails is this:
>
>.config.mkconfig: $(ROOTDIR)/config/.config
>sh ./mkconfig > .config.tmp
>
>This fragment fails with:
>make[3]: execvp: sh: Invalid argument
>
>If executed directly from the commandline, these commands complete fine 
>- it's only when spawning from within the Makefile.
>
>cygcheck output is attached.
>
>Any insights into the nature and possible solution of this problem would 
>be greatly appreciated.

IIRC, I also had this problem on Cygwin until I deleted the
.EXPORT_ALL_VARIABLES from Rules.mak.  I have a specialized build
environment so it is possible that there are other things required to
get things working after that, but this was the culprit which caused
these problems.

Another work around is to do this:

mount -X -b -f c:\cygwin\bin /bin
mount -X -b -f c:\cygwin\bin /usr/bin
mount -x -b -f c:\cygwin\bin\strace.exe /usr/bin/strace.exe
mount -x -b -f c:\cygwin\bin\strace.exe /bin/strace.exe
mount -x -b -f c:\cygwin\bin\cygcheck.exe /usr/bin/cygcheck.exe
mount -x -b -f c:\cygwin\bin\cygcheck.exe /bin/cygcheck.exe

Mounting your /bin directory with the -X flag will make cygwin bypass
the windows mechanism for passing environment variables to subprocesses.
The errors that you are seeing are coming from environment table
overflow in in make due to every single Makefile variable being forced
into the environment.

cgf

--
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/



mkdir -p and network drives

2005-05-02 Thread Pierre A. Humblet
According to the Cygwin Faq,

*
Why doesn't `mkdir -p' work on a network share?
Unfortunately, you cannot do something like this: 

bash$ mkdir -p //MACHINE/Share/path/to/new/dir
mkdir: cannot create directory `//MACHINE': No such file or directory

This is because mkdir checks for the existence of each directory on the path,
creating them as necessary. Since `//MACHINE' is not a directory (you can't cd
to it either), mkdir tries to create it, and fails. 
**

This behavior would be fine with me, but the latest mkdir (GNU coreutils)
5.3.0
creates /MACHINE/Share/path/to/new/dir and returns 0

Pierre




--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Christopher Faylor
On Tue, May 03, 2005 at 12:57:03AM +0100, Cliff Hones wrote:
>Gary R. Van Sickle wrote:
>> ...
>> [Yet more boring vitriolic rubbish.]
>> ...
>
>I've been on this list for a good four years now, and never ever
>considered setting up a filter.  I came close during the "fortune"
>flamewars and I'm getting even more close now.  Please, Gary and CGF,
>can you take your discussion offline.

Sorry, Cliff.  You're right.  I'll stop now.  I was having fun but it
was at the expense of the cygwin mailing list.

There really is no place to take this off-line since Gary has adamantly
vetoed the idea of personal email.  I guess the cygwin-talk list is an
option but there's no reason to bore people over there either.

So, I'll stop now.  My apologies to the cygwin list.

cgf

--
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/



execvp error:cygwin+make+busybox

2005-05-02 Thread John Williams
Hello,
Attempting to cross-compile Busybox 1.00 under Cygwin (1.5.16-1) I am 
hitting an error similar to one previously reported on the Cygwin list 
(Jan 05):

http://www.cygwin.com/ml/cygwin/2005-01/msg00657.html
No resolution was posted to the list at that time.
The busybox Makefile attempts to run the host CC (gcc in this case) to 
build some setup/config tools, as well as spawning a shell script to do 
a bit of preparatory work.  This is before any cross-compiling begins.

Make reports the following error:
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep 
/cygdrive/e/cygwin-uclinux/uClinux-dist/user/busybox/scripts/mkdep.c
make[3]: execvp: gcc: Invalid argument
make[3]: *** [scripts/mkdep] Error 127

The problem occurs with Make versions 3.79.1 and 3.80 (haven't tested 
any earlier versions)

The Makefile fragment which fails looks like this:
scripts/mkdep: $(top_srcdir)/scripts/mkdep.c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
HOSTCC and HOSTCFLAGS can be deduced from above output, but there's 
nothing exotic in there.

Another fragment which fails is this:
.config.mkconfig: $(ROOTDIR)/config/.config
sh ./mkconfig > .config.tmp
This fragment fails with:
make[3]: execvp: sh: Invalid argument
If executed directly from the commandline, these commands complete fine 
- it's only when spawning from within the Makefile.

cygcheck output is attached.
Any insights into the nature and possible solution of this problem would 
be greatly appreciated.

Thanks,
John

Cygwin Configuration Diagnostics
Current System Time: Tue May 03 10:26:33 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   c:\xilinx\edk7.1\cygwin\usr\local\bin
c:\xilinx\edk7.1\cygwin\bin
c:\xilinx\edk7.1\cygwin\bin
c:\xilinx\edk7.1\cygwin\bin
c:\xilinx\edk7.1\bin\nt
c:\xilinx\edk7.1\gnu\powerpc-eabi\nt\bin
c:\xilinx\edk7.1\gnu\microblaze\nt\bin
c:\xilinx\edk7.1\bin\nt
e:\Nutc\bin
e:\Nutc\bin\X11
e:\Nutc\mksnt
c:\EDK\bin\nt
c:\EDK\gnu\microblaze\nt\bin
c:\EDK\gnu\powerpc-eabi\nt\bin
c:\WINDOWS\SYSTEM32
c:\WINDOWS
c:\WINDOWS\SYSTEM32\WBEM
c:\PROGRAM FILES\SUPPORT TOOLS\
c:\PROGRAM FILES\J2SDK1.4.0\BIN
c:\PROGRAM FILES\J2SDK1.4.0\JRE\BIN
e:\Mentor\WG2002\LICENS~1
c:\matlab6p5p1\bin\win32
c:\Xilinx\ise7.1\bin\nt
c:\program files\winrsync\support
e:\Mentor\WG2002\vbsa\BIN
c:\Program Files\SSH Communications Security\SSH Secure Shell
h:\usr\bin

Output from c:\xilinx\edk7.1\cygwin\bin\id.exe (nontsec)
UID: 400(jwilliams) GID: 401(mkpasswd)
0(root) 544(Administrators) 545(Users)  401(mkpasswd)

Output from c:\xilinx\edk7.1\cygwin\bin\id.exe (ntsec)
UID: 400(jwilliams) GID: 401(mkpasswd)
0(root) 544(Administrators) 545(Users)  401(mkpasswd)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

HOME = `H:\'
MAKE_MODE = `unix'
PWD = `/cygdrive/e/cygwin-uclinux'
USER = `jwilliams'

Use `-r' to scan registry

c:  hd  NTFS 20481Mb  91% CP CS UN PA FC 
e:  hd  FAT32 8110Mb  80% CPUN   NEW VOLUME
g:  net NTFS 16553Mb  13% CP CS  groups
h:  net NTFS   1048432Mb  84% CP CS  jwilliams
s:  net NTFS 74433Mb  99% CP CS UN PA FC software
z:  net NTFS 29533Mb  97% CP CSPAjwilliam

c:\xilinx\edk7.1\cygwin  /  userbinmode
c:\xilinx\edk7.1\cygwin/bin  /usr/bin   userbinmode
c:\xilinx\edk7.1\cygwin/lib  /usr/lib   userbinmode
./cygdrive  userbinmode,cygdrive

Found: c:\xilinx\edk7.1\cygwin\bin\awk.exe
Found: c:\xilinx\edk7.1\cygwin\bin\bash.exe
Found: c:\xilinx\edk7.1\cygwin\bin\cat.exe
Found: c:\xilinx\edk7.1\cygwin\bin\cp.exe
Found: c:\xilinx\edk7.1\cygwin\bin\cpp.exe
Found: c:\xilinx\edk7.1\cygwin\bin\find.exe
Found: c:\xilinx\edk7.1\cygwin\bin\gcc.exe
Not Found: gdb
Found: c:\xilinx\edk7.1\cygwin\bin\grep.exe
Found: c:\xilinx\edk7.1\cygwin\bin\ld.exe
Found: c:\xilinx\edk7.1\cygwin\bin\ls.exe
Found: c:\xilinx\edk7.1\cygwin\bin\make.exe
Found: c:\xilinx\edk7.1\cygwin\bin\mv.exe
Found: c:\xilinx\edk7.1\cygwin\bin\rm.exe
Found: c:\xilinx\edk7.1\cygwin\bin\sed.exe
Found: c:\xilinx\edk7.1\cygwin\bin\sh.exe
Found: c:\xilinx\edk7.1\cygwin\bin\tar.exe

   55k 2004/09/14 c:\xilinx\edk7.1\cygwin\bin\cygbz2-1.dll
   18k 2004/07/06 c:\xilinx\edk7.1\cygwin\bin\cygcharset-1.dll
7k 2003/10/19 c:\xilinx\edk7.1\cygwin\bin\cygcrypt-0.dll
  895k 2004/04/28 c:\xilinx\edk7.1\cygwin\bin\cygdb-4.2.dll
 1156k 2004/04/28 c:\xilinx\edk7.1\cygwin\bin\cygdb_cxx-4.2.dll
  174k 2004/10/14 c:\xilinx\edk7.1\cygwin\bin\cygexpat-0.dll
   40k 2004/10/10 c:\xilinx\edk7.1\cygwin\bin\cygform-8.dll
   45k 2001/04/25 c:\xilinx\edk7.1\cygwin\bin\cygform5.dll
   35k 2002/01/09 c:\xilinx\edk7.1\cygwin\bin\cygform6.dll
   48k 2003/08/09 c:\xilinx\edk7.1\cygwin\bin\cygform7.dll
   28k 2003/07

Re: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Cliff Hones
Gary R. Van Sickle wrote:
> ...
> [Yet more boring vitriolic rubbish.]
> ...

I've been on this list for a good four years now, and never ever
considered setting up a filter.  I came close during the "fortune"
flamewars and I'm getting even more close now.  Please, Gary and CGF,
can you take your discussion offline.

-- Cliff

--
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/



postgresql and sockets

2005-05-02 Thread Krzysztof Duleba
Hi

I am using Cygwin postgresql as my db engine for high load jboss/Hibernate
web app. It works fine, but after some 10k transactions socket seems
broken and I get this message:

$ psql
psql: could not connect to server: Bad file descriptor
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

$ cat /tmp/.s.PGSQL.5432
!1304 s D872D6B4-84B51718-5811C571-3E0793C6

However, `psql -h localhost -p 5432' succeeds. So in fact the socket is
still there, but the link stored in /tmp/.s.PGSQL.5432 is broken.

If I restart postmaster service, psql works again. Now /tmp/.s.PGSQL.5432
has different content:

$ cat /tmp/.s.PGSQL.5432
!1661 s A50B48C0-681AB839-08CFE772-54D105A7

I use the default postgresql.conf, only the following line was changed:
tcpip_socket = true

Any ideas is the problem related to Cygwin? If yes then I will try to
provide more info. I know it's not too specific, but a month ago
postgresql worked more stable (it wasn't as loaded as it is now though).

Regards
Krzysztof Duleba


cygcheck.out
Description: Binary data
--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Gary R. Van Sickle
Chris, Chris, Chris.  I can imagine how anxious you must be, having to wait
up to several full hours for my responses to your avoid-the-issue posts, but
really you only have yourself to blame.  We could both go on to much more
productive things if you'd simply admit that you were out of line and have
been on far too many occaisions, and promise to behave better in the future.
And then, if you actually do behave better in the future, why, in thirty
years or so, we'll look back over a homebrew to your inexplicable rudeness
and this epiphany you're having after having been called on it enough times,
and O, how we'll laugh!

(BTW: that's not the royal "we", that's the Cygwin community "we", which is
lucky enough to be witnessing this historic event.  I know you believe that
you and I are some sort of "internet soulmates" or something, but, well, no,
we ain't.  And that's the "you and I" "we" there, lest anybody become any
more confused.)

Ok, fine, I'll write a short response for you here to tide you over, until
such time as I can address your aforementioned avoid-the-issue posts.  Don't
say I never did nothin for ya.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor
> Sent: Monday, May 02, 2005 4:16 PM
> To: cygwin@cygwin.com
> Subject: Re: Bespoke installations: simple elegance of 
> setup.exe when setup.ini is absent
> 
> On Mon, May 02, 2005 at 03:39:51PM -0500, Gary R. Van Sickle wrote:
> >- I am glad that Chris' comments clarified that.  Let us all 
> hope that 
> >he applies this helpful service across the board, and not just for 
> >those who call him on his often bizarre behavior here.  Well, except 
> >for the false accusations of dishonesty part, I don't think 
> that's very 
> >helpful to anybody.
> 
> Yes, Gary, I'll be glad to respond to you again.  You have 
> only but to profess indignation at a harmless turn of phrase 

You would characterize your deliberate, public, and unwarranted questioning
of my honesty as "harmless", Chris?  Are you so sure that such bizarre
behavior does you no harm?

> and I'll be there to provide you with the outlet you are 
> apparently looking for.
> 

Who's looking for what now?  Is that what your inexplicable rudeness and now
false accusations of dishonesty are?  Some sort of outlet for your pent up
hatred of the Cygwin community, or "the Man", or humanity, or "the World"?
One is indeed drawn to such a conclusion, in the absence of any other
logical explanation.  If that is so, let me ask you: Is it working?  Do your
snide comments ease the pain, Chris?  Do they, Chris?

Do they?

> To just to address your hope -- with my awful email style how 
> could I resist putting anyone in their place who dared step 
> out of line?

I don't know how, which is why I'm hoping you'll be able to apply this new
standard in the same fair and even-handed fashion that you've applied your
"puzzlingly unwarranted rudeness" policy.  Heretofore, I am unaware of any
instance in which you "kept anybody honest" and/or accused them of
dishonesty.  You certainly have to agree that implementing such a policy
will be a much more involved task than randomly spraying the Cygwin mailing
lists with rude comments.  It will involve many hours of checking the time
between various posts, poring over cvs logs, and who knows what other kinds
of time-consuming research.  I am well aware that you are already saddled
with more than enough work.  I simply hope you're up to the additional load.

>  Are you afraid that your strange power over me, 

Nobody has anything to fear from my strange power over you, Chris.

> where I immediately start being helpful after you've made one 
> of your every-few-weeks vituperative forays into this mailing 
> list, might cause me to shirk my duties?
> 

Well, I don't know what "vituperative" means, but if it's something along
the lines of "When Chris is called on his inappropriate behavior, he
temporarily 'shapes up', you can set your watch by it", well, frankly, yes.

> Have no fear Mr.  Mesmer, I'll do my duty.  I can resist your 
> powers just enough for that, at least.
> 

Excellent.  I shall await with bated breath the first instance of you
falsely accusing somebody else on this list of dishonesty!  What an exciting
time to be a member of the Cygwin community[1]!

-- 
Gary R. Van Sickle
[1] By "member of the Cygwin community" I of course mean what everybody
knows I mean, no more, no less.  Don't want to get two false accusations of
dishonesty in a row!


--
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: "read" bug in Cygwin 1.5.16?

2005-05-02 Thread Peter Farley
Thanks Brian, but I don't think support on earlier
versions of cygwin is going to be an issue.  There's
only one other person who tried and found this same
bug, so we're somewhat "rara avis" (rare birds).

If the snapshot fix works, I can wait for the release
to come out.  It isn't that urgent, since my
workaround is just to run in a console window instead
of an xterm.

Thanks again for the help.

Peter

--- Brian Dessent <[EMAIL PROTECTED]> wrote:
> 
> Christopher Faylor wrote:
> 
> > There was a problem with setting VMIN == VTIME ==
> 0 on ttys/ptys.  I've
> > just checked in a fix.  It will be in today's
> snapshot, when it shows
> > up: http://cygwin.com/snapshots/ .
> 
> Peter Farley wrote:
> 
> > kbattr.c_cc[VMIN] = 0;
> > kbattr.c_cc[VTIME] = 0;
> 
> If you're always using select() to read, you could
> set VMIN = 1 as a workaround if you need to support 
> versions of Cygwin prior to the above fix.
> 
> Brian


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Gary R. Van Sickle
> -Original Message-
> From: Brian Ford 
> Sent: Monday, May 02, 2005 5:45 PM
> To: Gary R. Van Sickle
> Cc: cygwin@cygwin.com
> Subject: RE: Bespoke installations: simple elegance of 
> setup.exe when setup.ini is absent
> 
> On Thu, 28 Apr 2005, 20:58:44 -0500 Gary R. Van Sickle wrote:
> 
> > As one of the many people responsible for setup...
> 
> On Mon, 2 May 2005, Gary R. Van Sickle wrote:
> 
> > - I am responsible for a good portion of setup's UI.  It 
> used to be a 
> > series of dialog boxes.  It is now a "Wizard"-style UI.  I did that.
> 
> I believe it was simply the choice of the word responsible 
> that cgf objected to.

Unfortunately no, Brian.  What Chris objected to was my taking him to task
over an uncalled-for rude comment he made.  His comments in this thread are,
in his mind anyway, some sort of "retribution" for that.

Yeah, I don't get it either.

-- 
Gary R. Van Sickle


--
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: "read" bug in Cygwin 1.5.16?

2005-05-02 Thread Peter Farley
Thanks Chris.  I will try to test the snapshot soon,
but I may have some RL events interrupting me before I
can do so.

I'll report back after testing.

Peter

--- Christopher Faylor
<[EMAIL PROTECTED]> wrote:
> On Sun, May 01, 2005 at 04:56:13PM -0700, Peter
> Farley wrote:
> >Hi all,
> >
> >I tried to forward this message to the main cygwin
> >list yesterday, but had a little trouble getting it
> >there, probably because I mentioned "xterm" in the
> >subject.  I'm trying again in case this is NOT an
> "X" problem but a base cygwin problem.
> >
> >I have attached the test program xtermbug.c instead
> >of pasting it inline.  I hope that is OK for this
> >list.
> 
> Thanks for the test program.
> 
> There was a problem with setting VMIN == VTIME == 0
> on ttys/ptys.  I've just checked in a fix.  It will 
> be in today's snapshot, when it shows
> up: http://cygwin.com/snapshots/ .
> 
> cgf


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
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 with cygwin setup

2005-05-02 Thread Brian Keener
Jds wrote:
> Short Version: 
> Could someone tell me the target for the cygwin shortcut that should get 
> installed? 
>  

>From what I recall it was dependent on your OS - for old Win9x OS's it was 
>placed in 
Desktop and for Win2k or WinNT and the like it was placed in Documents and 
setting and 
either All Users or your User Id based on how you answered the option for "all 
users" 
or "just me" during setup.

Thought - which option did you select and are you the administrator for this 
system - 
also what OS are you on and one last thought:

Looking at your log:

2005/05/02 13:22:22 running: C:\cygwin\bin\sh.exe -c 
/etc/postinstall/post-texmf.sh 
2005/05/02 13:35:42 Enabled Anti Virus software 
2005/05/02 13:35:43 mbox note: Nothing needed to be installed 
2005/05/02 13:35:44 Ending cygwin install 

Notice the Nothing needed to be installed note - did you actually see it 
download and 
install anything - did you in fact select something to be installed - from the 
Chooser 
screen when it shows you all the categories you must select at least the Base 
Category.

bk




--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Brian Ford
On Thu, 28 Apr 2005, 20:58:44 -0500 Gary R. Van Sickle wrote:

> As one of the many people responsible for setup...

On Mon, 2 May 2005, Gary R. Van Sickle wrote:

> - I am responsible for a good portion of setup's UI.  It used to be a series
> of dialog boxes.  It is now a "Wizard"-style UI.  I did that.

I believe it was simply the choice of the word responsible that cgf
objected to.  Along with the above use of the present tense am, I can see
how casual observers might be (and were) confused.

From
http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=responsible&x=0&y=0:

1 a: liable to be called on to answer
  b: liable to be called to account as the primary cause, motive, or agent
3  : marked by or involving responsibility or accountability

Perhaps:

As one of the many contributors to setup...

and

I contributed a good portion of setup's UI.

might have been better choices in hind sight.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...


--
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/



side effects of Cygwin's maximum memory test

2005-05-02 Thread Utku Ozcan
I *think* that the test below, which tests memory allocation limit of
Cygwin *might* produce problems in Windows XP:

http://sources.redhat.com/cygwin/cygwin-ug-net/setup-maxmem.html

In this page, I have compiled the C code, and after having run the
compiled executable, Windows XP gave suddenly a warning that virtual
memory setting has been changed (I think, that repeated malloc() calls
in this code somehow change the virtual memory settings in Windows
XP).

After that, I have observed harddisk related problems which I cannot
produce them repeated. Sometimes during power-on, harddisk locked, PC
never started (harddisk lamp lighted continuously). It helped to boot
the computer several times so that it can run. The last symptom was,
that PC could not boot itself and operating system dumped "ntfs
corrupt or damaged" message.

I have looked at internet, but could not find any information that I
could correlate the problems with it. The only thing I could find is
that Virtual Memory setting was user defined min: 768 MB, max: 1536 MB
(was not in automatical control of OS any more, compiled C code above
in the link must have forced the operating system to change it).

Then I have run defragmentation. The results can be viewed at:
http://www.geocities.com/utku_ozcan/vol_c_defrag.JPG

The only thing I can figure out is, that before and after the
defragmentation, harddisk has big holes in between. This cannot be
pagefile.sys, because it can be as much as 1,5 GB (max: 1536 MB). Big
holes between defragmented areas seems to be in 5-10 GB regions.

I know, I need proof, but sorry, not capable of producing it. Maybe my
harddisk had big fragment distances in Gigabytes before, OS cannot
boot because HD consume in that case excessive amount of time to read
fragmented sectors.

This problem occurred maybe when I run the C code above (fragmented
harddisk <-> manual change of virtual memory because of Cygwin test C
code).

Just a thought.

Utku

--
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: setup alternatives (was Re: Bespoke installations: simple elegance of setup.exe when setup.ini is absent)

2005-05-02 Thread James Renton
What about http://sourceforge.net/projects/wix/?
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Christopher Faylor
Sent: Monday, May 02, 2005 4:39 PM
To: cygwin@cygwin.com
Subject: setup alternatives (was Re: Bespoke installations: simple
elegance of setup.exe when setup.ini is absent)

On Mon, May 02, 2005 at 12:57:18PM -0700, Sean McMahon wrote:
>I for one appreciate the clarification as I sent a detailed bug-report 
>to this person assuming they were the maintainer.  My question as I've 
>asked before is, can or is someone working on improving accessibility 
>of setup.exe for those of us who have to use windows via a screenreader

>and keyboard.  Many of the buttons and controlls do not get focus and 
>can't be opperated in the normal manner.

Did you happen to follow the "setup.exe sucks" thread over in
cygwin-apps?  Basically, it boils down to the fact that I and others are
not really thrilled with setup.exe in its current form.  While it is an
impressive program in some ways, the UI is (apparently) too
non-intuitive and the mean-time between bug fixes is too long.

Are you aware of a setup-like program out there which "gets it right" as
far as UI is concerned?  It would be nice to transition to an
open-sources alternative which was actively supported.

cgf

--
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/


--
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 with cygwin setup

2005-05-02 Thread jds
Ok, I guess something else must've gone wrong because I don't have a cygwin.bat 
file. Thanks for your help, I'll try completely deleting everything and then 
re-installing it.

-Original Message-

> Date: Mon May 02 13:57:35 PDT 2005
> From: "Brian Dessent" <[EMAIL PROTECTED]>
> Subject: Re: Problem with cygwin setup
> To: cygwin@cygwin.com
>
> jds wrote:
> 
> > Maybe I don't understand you, or your don't understand me, or I'm just 
> > clueless, but what I really want to know is how to run cygwin now that it's 
> > installed, given that I don't have an icon on my desktop. I dunno, isn't 
> > the icon just a shortcut to some .exe, or is it something else? Thanks for 
> > your help, but I really didn't know what to do with that big thing that you 
> > copied for me.
> 
> There should be a cygwin.bat in the directory you choose to install to;
> just run that.
> 
> Alternatively, open a command prompt:
> 
> cd \cygwin\bin  # or whatever your location is
> bash -li
> 
> To run any postinstall scripts that did not complete, do the following
> from the bash prompt:
> 
> cd /etc/postinstall
> for F in *.sh; do . $F && mv $F $F.done; done
> 
> 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/
>


--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 03:39:51PM -0500, Gary R. Van Sickle wrote:
>- I am glad that Chris' comments clarified that.  Let us all hope that he
>applies this helpful service across the board, and not just for those who
>call him on his often bizarre behavior here.  Well, except for the false
>accusations of dishonesty part, I don't think that's very helpful to
>anybody.

Yes, Gary, I'll be glad to respond to you again.  You have only but to
profess indignation at a harmless turn of phrase and I'll be there to
provide you with the outlet you are apparently looking for.

To just to address your hope -- with my awful email style how could I
resist putting anyone in their place who dared step out of line?  Are
you afraid that your strange power over me, where I immediately start
being helpful after you've made one of your every-few-weeks vituperative
forays into this mailing list, might cause me to shirk my duties?

Have no fear Mr.  Mesmer, I'll do my duty.  I can resist your powers
just enough for that, at least.

cgf

--
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 with cygwin setup

2005-05-02 Thread Brian Dessent
jds wrote:

> Maybe I don't understand you, or your don't understand me, or I'm just 
> clueless, but what I really want to know is how to run cygwin now that it's 
> installed, given that I don't have an icon on my desktop. I dunno, isn't the 
> icon just a shortcut to some .exe, or is it something else? Thanks for your 
> help, but I really didn't know what to do with that big thing that you copied 
> for me.

There should be a cygwin.bat in the directory you choose to install to;
just run that.

Alternatively, open a command prompt:

cd \cygwin\bin  # or whatever your location is
bash -li

To run any postinstall scripts that did not complete, do the following
from the bash prompt:

cd /etc/postinstall
for F in *.sh; do . $F && mv $F $F.done; done

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 with cygwin setup

2005-05-02 Thread jds

Thanks for your help Reid, but...

> are you sure it's 'stuck' --- this might take a while:
Well, I let it sit for 20 minutes and nothing happened...


> Try running it by hand & letting it finish, then run setup again w/o
> selecting any more packages.

Maybe I don't understand you, or your don't understand me, or I'm just 
clueless, but what I really want to know is how to run cygwin now that it's 
installed, given that I don't have an icon on my desktop. I dunno, isn't the 
icon just a shortcut to some .exe, or is it something else? Thanks for your 
help, but I really didn't know what to do with that big thing that you copied 
for me.


Anyways, here's my log file if it helps (minus a whole bunch of stuff in the 
middle):

2005/05/02 13:21:46 Starting cygwin install, version 2.457.2.2
2005/05/02 13:21:46 Failed to set CYGWIN=nontsec
2005/05/02 13:21:46 Current Directory: C:\Jordan Work\cygwin
2005/05/02 13:21:46 Changing gid to Users
2005/05/02 13:21:46 Found McAfee anti virus program
2005/05/02 13:21:51 Disabled Anti Virus software
2005/05/02 13:21:53 source: network install
2005/05/02 13:21:56 root: C:\cygwin binary system
2005/05/02 13:21:58 Selected local directory: C:\Jordan Work\cygwin
2005/05/02 13:21:59 net: Direct
2005/05/02 13:22:01 site: 
ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/ftp/cygwin
2005/05/02 13:22:12 site: ftp://mirror.cpsc.ucalgary.ca/mirror/cygwin.com
2005/05/02 13:22:20 Visited: 547 nodes out of 552.
2005/05/02 13:22:20 Dependency ordered install:
[ ... deleted]
2005/05/02 13:22:22 running: C:\cygwin\bin\sh.exe -c 
/etc/postinstall/post-texmf.sh
2005/05/02 13:35:42 Enabled Anti Virus software
2005/05/02 13:35:43 mbox note: Nothing needed to be installed
2005/05/02 13:35:44 Ending cygwin install


-Original Message-

> Date: Mon May 02 13:17:03 PDT 2005
> From: "Reid Thompson" <[EMAIL PROTECTED]>
> Subject: RE: Problem with cygwin setup
> To: , cygwin@cygwin.com
>
> jds wrote:
> > Sorry, my question is very basic, but I have to ask it.
> > 
> > 
> > Short Version:
> > Could someone tell me the target for the cygwin shortcut that should
> > get installed? 
> > 
> > 
> > Long Version:
> > Basically, my problem is that when I install cygwin it gets stuck on
> > this screen: 
> 
> are you sure it's 'stuck' --- this might take a while:
> 
> #!/bin/sh
> rm -f /usr/info/dir
> for d in /usr/info /usr/share/info; do
> for f in $d/*; do
>   case "$f" in
>   *\**)
>   ;;
>   dir|dir.info*)
>   ;;
>   *-[0123456789]*)
>   ;;
>   *)
>   install-info --quiet $f /usr/share/info/dir ||
>   install-info  --quiet --entry="* $$f ($f): $$f" $$f
> /usr/share/info/dir
>   ;;
>   esac
> done
> done >/dev/null 2>&1
> 
> Try running it by hand & letting it finish, then run setup again w/o
> selecting any more packages.
> reid


--
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: CYGWIN sshd service could not be started

2005-05-02 Thread Neil Aggarwal
Brian:

Thanks for the help.  I appreciate it.

Thanks
Neil


--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent
> Sent: Monday, May 02, 2005 3:17 PM
> To: cygwin@cygwin.com
> Subject: Re: CYGWIN sshd service could not be started
> 
> 
> Neil Aggarwal wrote:
> 
> > So, how do I change it to All Users?  Just rerun the
> > setup.exe and select the All users option?
> 
> http://cygwin.com/faq/faq0.html#TOC33
> 
> --
> 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/
> 


--
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: CYGWIN sshd service could not be started

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 01:25:10PM -0700, Brian Dessent wrote:
>Brian Dessent wrote:
>
>> (It would probably be a good addition for ssh-host-config to check for
>> user mounts and bail or offer to remount them... this seems to come up a
>> lot.)
>
>Here is a patch against ssh-host-config that checks for this.

I wonder if it would make sense to eliminate the "just for me" option from
setup.exe and just present a screen if setup.exe is not able to install
mount points for the whole system.  Either that or always duplicate the
"just for me" mount points to the system mount points, too.

cgf

--
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/



setup alternatives (was Re: Bespoke installations: simple elegance of setup.exe when setup.ini is absent)

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 12:57:18PM -0700, Sean McMahon wrote:
>I for one appreciate the clarification as I sent a detailed bug-report
>to this person assuming they were the maintainer.  My question as I've
>asked before is, can or is someone working on improving accessibility
>of setup.exe for those of us who have to use windows via a screenreader
>and keyboard.  Many of the buttons and controlls do not get focus and
>can't be opperated in the normal manner.

Did you happen to follow the "setup.exe sucks" thread over in
cygwin-apps?  Basically, it boils down to the fact that I and others are
not really thrilled with setup.exe in its current form.  While it is an
impressive program in some ways, the UI is (apparently) too
non-intuitive and the mean-time between bug fixes is too long.

Are you aware of a setup-like program out there which "gets it right" as
far as UI is concerned?  It would be nice to transition to an
open-sources alternative which was actively supported.

cgf

--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Gary R. Van Sickle
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Sean McMahon
> Sent: Monday, May 02, 2005 2:57 PM
> To: cygwin@cygwin.com
> Subject: Re: Bespoke installations: simple elegance of 
> setup.exe when setup.ini is absent
> 
> I for one appreciate the clarification as I sent a detailed 
> bug-report to this person assuming they were the maintainer. 

Hi Sean,

A couple of things:

- One should never send any project-related questions directly to a
maintainer.  The mailing lists exist so that the entire community may all
benefit from the questions and answers asked there.
- I have never been the setup maintainer, nor have I ever claimed to be (in
public or private), nor have I ever attempted to imply that I was.
- I am responsible for a good portion of setup's UI.  It used to be a series
of dialog boxes.  It is now a "Wizard"-style UI.  I did that.
- I am glad that Chris' comments clarified that.  Let us all hope that he
applies this helpful service across the board, and not just for those who
call him on his often bizarre behavior here.  Well, except for the false
accusations of dishonesty part, I don't think that's very helpful to
anybody.
 
> My question as I've asked before is, can or is someone 
> working on improving accessibility of setup.exe for those of 
> us who have to use windows via a screenreader and keyboard.  
> Many of the buttons and controlls do not get focus and can't 
> be opperated in the normal manner.

As I hopefully addressed in my response to you, to the best of my knowledge
nobody is working on this.  As to the question of "can", the answer there is
a most resounding "yes".  There's plenty that needs doing in setup.

-- 
Gary R. Van Sickle
 
> - Original Message -
> From: "Christopher Faylor" <[EMAIL PROTECTED]>
> To: 
> Sent: Saturday, April 30, 2005 9:37 PM
> Subject: Re: Bespoke installations: simple elegance of 
> setup.exe when setup.ini is absent
> 
> 
> > On Sat, Apr 30, 2005 at 09:21:08PM -0500, Gary R. Van Sickle wrote:
> > >Chris, why are you doing this to yourself?
> >
> > Come on, GRVS.  You know the answer to that!  It's fun!
> >
> > I'm also doing it to help you, as I have repeatedly stated.  You now
> > have the outlet you've been craving for almost two years.  
> I'm sure this
> > has finally gotten your blood pumping after years of 
> non-response from
> > me.
> >
> > Also, if you must know, I'm getting something out of this, too.
> > I've got a wicked cold and am confined to the house for a few days.
> >
> > >As somebody falsely accused of dishonesty by you, Chris, 
> how could I
> > >not mind it?  I don't like being falsely accused of lying 
> any more than
> > >you like being rightfully accused of making uncalled-for 
> rude comments.
> >
> > po-tayt-o/po-tatt-o
> >
> > >I impatiently await your public explanation, if not 
> retraction, if not
> > >apology, for this disturbing new low in your behavior in 
> this forum.
> >
> > I think I see where you're trying to lead this.  Let me see if I can
> > clarify.
> >
> > Yes, you did contribute code and so you are historically 
> "responsible"
> > for pieces of setup.exe (unless they've been rewritten by 
> now, which is
> > doubtful, I guess).  You are not, however, responsible for actively
> > maintaining or supporting setup.exe currently.
> >
> > A casual reader of this mailing list might have been led to 
> believe that
> > you were somehow "responsible" for setup.exe as in the "I 
> have a problem
> > will you help me with it" sense.  So, I stepped in to clarify.
> >
> > It's difficult to say (although we can certainly guess) 
> which definition
> > of "responsible" you were talking about so please take the 
> "keeping you
> > honest" comment as "trying to make you communicate a little more
> > clearly".  I certainly was not intending to imply that you were some
> > vile, loathsome committer of falsehoods.  I'm sorry that you took it
> > that way.
> >
> > But, if you stop to think about it, if I was really doing 
> something like
> > that then, with my awful email style, wouldn't it be more 
> likely that
> > I'd say something like:
> >
> > "In what way would you think that you could possibly be 
> considered to be
> > responsible for setup.exe?  You haven't contributed anything to the
> > project in some time.  I can't see any useful reason for you to be
> > representing yourself in this matter.  This message does nothing to
> > advance this discussion."
> >
> > ?
> >
> > Instead, I was trying to emulate your lighthearted, playful style.
> > Apparently, I didn't emulate you as well as I thought since 
> surely, if I
> > had, you would have been instructed by my response just as you
> > continually try to lead me towards the light with all of your
> > thoughtful, humorous (if slightly repetitive) missives.
> >
> > I guess my ham-fistedness touched a nerve and so does rate another
> > apology.  I am sorry that I could not properly emulate your style so
> > as to

Re: CYGWIN sshd service could not be started

2005-05-02 Thread Brian Dessent
Brian Dessent wrote:

> (It would probably be a good addition for ssh-host-config to check for
> user mounts and bail or offer to remount them... this seems to come up a
> lot.)

Here is a patch against ssh-host-config that checks for this.

Brian--- ssh-host-config.orig2005-05-02 13:09:13.984375000 -0700
+++ ssh-host-config 2005-05-02 13:23:50.640625000 -0700
@@ -583,6 +583,16 @@
chown "${_user}".544 ${LOCALSTATEDIR}/log/sshd.log
   fi
 fi
+if mount | egrep -q 'on /(|usr/(bin|lib)) type user'
+then
+  echo
+  echo "Warning: It appears that you have user mode mounts (\"Just me\""
+  echo "chosen during install.)  Any daemons installed as services will"
+  echo "fail to function unless system mounts are used.  To change this,"
+  echo "re-run setup.exe and choose \"All users\"."
+  echo
+  echo "For more information, see http://cygwin.com/faq/faq0.html#TOC33";
+fi
   fi
 fi
 

--
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 with cygwin setup

2005-05-02 Thread Reid Thompson
jds wrote:
> Sorry, my question is very basic, but I have to ask it.
> 
> 
> Short Version:
> Could someone tell me the target for the cygwin shortcut that should
> get installed? 
> 
> 
> Long Version:
> Basically, my problem is that when I install cygwin it gets stuck on
> this screen: 

are you sure it's 'stuck' --- this might take a while:

#!/bin/sh
rm -f /usr/info/dir
for d in /usr/info /usr/share/info; do
for f in $d/*; do
case "$f" in
*\**)
;;
dir|dir.info*)
;;
*-[0123456789]*)
;;
*)
install-info --quiet $f /usr/share/info/dir ||
install-info  --quiet --entry="* $$f ($f): $$f" $$f
/usr/share/info/dir
;;
esac
done
done >/dev/null 2>&1

Try running it by hand & letting it finish, then run setup again w/o
selecting any more packages.
reid

--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Gary R. Van Sickle
Hi Sean, I'm redirecting this to the cygwin list so that we may all benefit:

> Is there any effort towards making setup.exe accessible?  

Not to my knowledge, no, which FWIW I find very unfortunate.

> Those of us who use a screen reading program and/or keyboard 
> access find it impossible to use setup.exe without 
> assistance.  The view button should activate with the 
> spacebar or enter key and does not.  The view button when 
> activated with the space bar should open up a list of 
> packages and does not.  Each item in the list should be a 
> multistate toggle which should be toggled with the spacebar.  
> Look at the windows installation program to see what I'm 
> talking about.  In the section which allows you to choose 
> accessories for example there is a button you can hit enter 
> or spacebar on which says details.  From there you are in a 
> list of programs you can select or deselect with the 
> spacebar.  This is how setup.exe should behave.

There are many problems with setup, hence my comment.  The unfortunate truth
is that setup development has historically been excruciatingly slow, and I
have no reason to believe that the level of activity will increase by any
appreciable extent in the forseeable future.  I know it may come as small
comfort, but it used to be worse.

If you are able to, I am certain that any effort you can lend to the
development of setup will be appreciated.

-- 
Gary R. Van Sickle
 

> - Original Message -
> From: "Gary R. Van Sickle" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, April 28, 2005 6:58 PM
> Subject: RE: Bespoke installations: simple elegance of 
> setup.exe when setup.ini is absent
> 
> 
> > [snip]
> >
> > Ahem.  As one of the many people responsible for setup, I 
> take issue with
> > the accusation that it is either "simple" or "elegant".
> >
> > ;-)
> >
> > -- 
> > Gary R. Van Sickle
> >
> >
> >
> > --
> > 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/
> 


--
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: CYGWIN sshd service could not be started

2005-05-02 Thread Brian Dessent
Neil Aggarwal wrote:

> So, how do I change it to All Users?  Just rerun the
> setup.exe and select the All users option?

http://cygwin.com/faq/faq0.html#TOC33

--
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/



Problem with cygwin setup

2005-05-02 Thread jds
Sorry, my question is very basic, but I have to ask it.


Short Version:
Could someone tell me the target for the cygwin shortcut that should get 
installed?


Long Version:
Basically, my problem is that when I install cygwin it gets stuck on this 
screen:

http://www.physionet.org/physiotools/cygwin/setup-13.png


If I hit cancel then it brings up a pop-up box saying that the installation is 
complete, and turns my anti-virus software back on, however, I never see this 
screen:

http://www.physionet.org/physiotools/cygwin/setup-14.png


and so I don't have an icon installed on my desktop/start menu. I think 
everything has installed properly, so really I don't care about getting it 
working properly, if someone could just tell me what the target should be for 
the cygwin shortcut, that'd be great.

Thanks,
Jordan


--
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: Bespoke installations: simple elegance of setup.exe when setup.ini is absent

2005-05-02 Thread Sean McMahon
I for one appreciate the clarification as I sent a detailed bug-report to this
person assuming they were the maintainer.  My question as I've asked before is,
can or is someone working on improving accessibility of setup.exe for those of
us who have to use windows via a screenreader and keyboard.  Many of the buttons
and controlls do not get focus and can't be opperated in the normal manner.
- Original Message - 
From: "Christopher Faylor" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, April 30, 2005 9:37 PM
Subject: Re: Bespoke installations: simple elegance of setup.exe when setup.ini
is absent


> On Sat, Apr 30, 2005 at 09:21:08PM -0500, Gary R. Van Sickle wrote:
> >Chris, why are you doing this to yourself?
>
> Come on, GRVS.  You know the answer to that!  It's fun!
>
> I'm also doing it to help you, as I have repeatedly stated.  You now
> have the outlet you've been craving for almost two years.  I'm sure this
> has finally gotten your blood pumping after years of non-response from
> me.
>
> Also, if you must know, I'm getting something out of this, too.
> I've got a wicked cold and am confined to the house for a few days.
>
> >As somebody falsely accused of dishonesty by you, Chris, how could I
> >not mind it?  I don't like being falsely accused of lying any more than
> >you like being rightfully accused of making uncalled-for rude comments.
>
> po-tayt-o/po-tatt-o
>
> >I impatiently await your public explanation, if not retraction, if not
> >apology, for this disturbing new low in your behavior in this forum.
>
> I think I see where you're trying to lead this.  Let me see if I can
> clarify.
>
> Yes, you did contribute code and so you are historically "responsible"
> for pieces of setup.exe (unless they've been rewritten by now, which is
> doubtful, I guess).  You are not, however, responsible for actively
> maintaining or supporting setup.exe currently.
>
> A casual reader of this mailing list might have been led to believe that
> you were somehow "responsible" for setup.exe as in the "I have a problem
> will you help me with it" sense.  So, I stepped in to clarify.
>
> It's difficult to say (although we can certainly guess) which definition
> of "responsible" you were talking about so please take the "keeping you
> honest" comment as "trying to make you communicate a little more
> clearly".  I certainly was not intending to imply that you were some
> vile, loathsome committer of falsehoods.  I'm sorry that you took it
> that way.
>
> But, if you stop to think about it, if I was really doing something like
> that then, with my awful email style, wouldn't it be more likely that
> I'd say something like:
>
> "In what way would you think that you could possibly be considered to be
> responsible for setup.exe?  You haven't contributed anything to the
> project in some time.  I can't see any useful reason for you to be
> representing yourself in this matter.  This message does nothing to
> advance this discussion."
>
> ?
>
> Instead, I was trying to emulate your lighthearted, playful style.
> Apparently, I didn't emulate you as well as I thought since surely, if I
> had, you would have been instructed by my response just as you
> continually try to lead me towards the light with all of your
> thoughtful, humorous (if slightly repetitive) missives.
>
> I guess my ham-fistedness touched a nerve and so does rate another
> apology.  I am sorry that I could not properly emulate your style so
> as to make my intent clearer to you.
>
> cgf
>
> --
> 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/


--
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: CYGWIN sshd service could not be started

2005-05-02 Thread Neil Aggarwal
Brian:

So, how do I change it to All Users?  Just rerun the
setup.exe and select the All users option?

Thanks,
Neil


--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent
> Sent: Monday, May 02, 2005 2:01 PM
> To: cygwin@cygwin.com
> Subject: Re: CYGWIN sshd service could not be started
> 
> 
> Neil Aggarwal wrote:
> 
> > For Install For, select Just Me
> 
> This is your problem.  You cannot install user mounts and then run
> system services, otherwise it will not see the mounts.
> 
> It seems like you might have copied and pasted those steps from some
> website somewhere.  That's precisely the reason why we recommend
> ignoring all such sites - they invariably give you misleading or wrong
> advice.
> 
> (It would probably be a good addition for ssh-host-config to check for
> user mounts and bail or offer to remount them... this seems 
> to come up a
> lot.)
> 
> 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/
> 


--
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 of __RUNTIME_PSEUDO_RELOC_LIST_END

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 12:19:03PM -0700, Brian Dessent wrote:
>sjtu wrote:
>
>> I test a simple hello.c
>> #include 
>> main() {printf("Hello");}
>> 
>> $ gcc -o hello hello.c
>> hello.c:6:2: warning: no newline at end of file
>> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
>> o)(.text+0x52): undefined reference to
>> `___RUNTIME_PSEUDO_RELOC_LIST_END__'
>> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
>> o)(.text+0x59): undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
>> collect2: ld returned 1 exit status
>
>This looks questionable:
>
>Package  Version
>...
>gcc  3.3.1-3
>gcc-core 3.3.3-3
>gcc-g++  3.3.3-3
>
>You should really have the same version of all those packages.  You're
>also using quite old versions of rather important packages:
>
>ash  20020131-1
>binutils 20011002-1
>cygwin   1.5.12-1
>(and many others)
>
>Try updating your Cygwin packages to something current.

I suspect that this is due to the use of a non-standard cygwin distro.
The cygwin DLL version was also not up-to-date.

cgf

--
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 of __RUNTIME_PSEUDO_RELOC_LIST_END

2005-05-02 Thread Brian Dessent
sjtu wrote:

> I test a simple hello.c
> #include 
> main() {printf("Hello");}
> 
> $ gcc -o hello hello.c
> hello.c:6:2: warning: no newline at end of file
> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
> o)(.text+0x52): undefined reference to
> `___RUNTIME_PSEUDO_RELOC_LIST_END__'
> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
> o)(.text+0x59): undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
> collect2: ld returned 1 exit status

This looks questionable:

Package  Version
...
gcc  3.3.1-3
gcc-core 3.3.3-3
gcc-g++  3.3.3-3

You should really have the same version of all those packages.  You're
also using quite old versions of rather important packages:

ash  20020131-1
binutils 20011002-1
cygwin   1.5.12-1
(and many others)

Try updating your Cygwin packages to something current.

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: CYGWIN sshd service could not be started

2005-05-02 Thread Brian Dessent
Neil Aggarwal wrote:

> For Install For, select Just Me

This is your problem.  You cannot install user mounts and then run
system services, otherwise it will not see the mounts.

It seems like you might have copied and pasted those steps from some
website somewhere.  That's precisely the reason why we recommend
ignoring all such sites - they invariably give you misleading or wrong
advice.

(It would probably be a good addition for ssh-host-config to check for
user mounts and bail or offer to remount them... this seems to come up a
lot.)

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: Newbie help compiling ATLAS

2005-05-02 Thread Brian Dessent
Studious Apprentice wrote:

> I would like to compile ATLAS on windows thanks to the cygwin environment
> however I get some weird answers from the make programs...

Seems like the manual gives you information on how to do this:
.  Have you read
those links?

> echo 16 >
> /home/Thyfate/builds/src/ATLAS/tune/sysinfo/WinNT_PIIISSE2/res/L1CacheSize
> /bin/sh:
> /home/Thyfate/builds/src/ATLAS/tune/sysinfo/WinNT_PIIISSE2/res/L1CacheSize:
> No such file or directory

Does that directory exist?

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/



CYGWIN sshd service could not be started

2005-05-02 Thread Neil Aggarwal
Hello:

When I try to run:
net start sshd

I get this message:
The CYGWIN sshd service could not be started.

The event viewer has this event:
The description for Event ID (0) in Source (sshd) cannot be found.
The local computer may not have the necessary registry information
or message DLL files to display messages from a remote computer.
You may be able to use the /AUXSOURCE= flag to retrieve this 
description; see Help and Support for details.  The following 
information is part of the event: sshd: PID 3700 : starting 
service `sshd' failed: execv: 255, error 255.

I am trying to run it on Windows Server 2003.

Here is what I did:

Create a direcotry C:\Cygwin

Visit http://sources.redhat.com/cygwin/ in your browser
Click on the Install Cygwin Now link.
Copy the setup.exe file to C:\Cygwin on your hard disk and run it.

On the cygwin setup intro screen, hit Next
Choose the "Install from Internet" selection and hit Next.

On the next screen:
For the Install Root Directory, give it C:\Cygwin
For Default Text File Type, select DOS
For Install For, select Just Me
Hit Next

For Local Package Directory, enter C:\Cygwin\Packages and hit Next.

For the connection, select Direct Connection and hit Next.

For the download site, choose any site prefixed by ftp:// and
hit Next.

On the select packages to install, I added the Net -> OpenSSH
package.

When the installation finishes, check the boxes for 
Create Desktop Icon and Add to Start Menu and hit Next.

Hit OK on the Installation Complete dialog.

Right click on My Computer, select Properties, click the Advanced tab, click
the Environmental Variables button
Click the New button under System variables, set the Variable name to
CYGWIN,
set the variable value to "ntsec tty" (without the quotes) and click the
OK button.
Select the Path variable, click the Edit button, append ;C:\Cygwin\bin to
the
value, and click the OK button
Click the OK button to close the Environmental Variables sceen
Click the OK button to close the System Properties screen
Open a cygwin window by double-clicking on the Cygwin icon on the desktop
Run ssh-host-config 

When the script asks you about "privilege separation", answer yes.
When the script asks about "local user", answer yes.
When the script asks you about "install sshd as a service", answer yes
When the script asks you to create a "sshd_server" account, answer yes
When prompted to enter a password for the "sshd_server" account,
enter a password and hit the enter key
When the script asks you for "CYGWIN=", type "ntsec tty" (Without the
quotes)

Type "net start sshd" to start the daemon

Any ideas what went wrong?

Thanks,
Neil

--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com


--
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: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Eric Blake
Christopher Faylor  cygwin.com> writes:

> 
> On Mon, May 02, 2005 at 02:36:12AM -0400, Lev S Bishop wrote:
> >On linux, both keep waiting for someone to write to the fifo.  On
> >cygwin, when the second cat tries to listen on the fifo, they both
> >exit.  I don't know how fifos are supposed to work, but I'm guessing
> >cygwin gets it wrong here.
> 
> Yes, this is one of the reasons that I can't say "fifos work fine" in
> cygwin.

Why not look at how POSIX defines FIFOs to work.  XBD 3.162 defines a FIFO as a 
special file whose behavior is further specified in open(2), read(2), write(2), 
and lseek(2).

open(2) states that when opening a FIFO, O_RDWR is undefined (you can only 
portably open a FIFO for just reading or just writing, so bash's `echo <>fifo' 
evokes undefined behavior).  Then, if O_NONBLOCK is set, O_RDONLY succeeds but 
O_WRONLY fails unless there is a previously open reader; if clear, O_RDONLY 
blocks until there is a writer and O_WRONLY blocks until there is a reader.

lseek(2) states that seeking on a FIFO fails with ESPIPE.

write(2) states that there are atomicity requirements on writes less than 
PIPE_BUF bytes.  It also states whether the write will succeed, fail with 
EPIPE, or with EAGAIN, based on blocking mode and available space in the pipe 
to the reader.  But in all cases, it will never return 0 (pipes always make 
progress, or in non-blocking mode return an error immediately).

read(2) states that a reader succeeds with 0 for end-of-file when there is no 
writer, fails immediately with EAGAIN if there is a writer but no data 
available in non-blocking mode, or blocks until the writer provides data (or 
the writer closes) in blocking mode.

When using redirections from the shell command line, you are opening the pipe 
in blocking mode.  So it shouldn't matter whether a writing process or a 
reading process is spawned first (the first end blocks until the second end has 
opened its descriptor), but neither process should complete until the last 
writing process closes its file descriptor (perhaps by exiting) to give the 
reader(s) an end-of-file indication, or the last reader closes its file 
descriptor to give the writer(s) an EPIPE.  The trick of `echo 99 >fifo&' 
ensures that there is a writer for a very long time, so that a reader never 
gets EOF.

--
Eric Blake



--
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/



Newbie help compiling ATLAS

2005-05-02 Thread Studious Apprentice
Hello to all!
I would like to compile ATLAS on windows thanks to the cygwin environment 
however I get some weird answers from the make programs...

I have installed cygwin with the GCC package on Windows XP service pack 2. I 
am running the following commands:

export BUILD_DIR=~/builds
export ATLAS_SRC=$BUILD_DIR/src/ATLAS
mkdir -p $ATLAS_SRC
cd $ATLAS_SRC/..
wget 
http://heanet.dl.sourceforge.net/sourceforge/math-atlas/atlas3.6.0.tar.gz
tar xzf atlas3.6.0.tar.gz
cd $ATLAS_SRC
make xconfig
./xconfig

I enter the most common values in the setup program and then it stops, 
outputting :
"Storing L1 cache size of 64KB.
Unable to store L1CacheSize, aborting."
as if the program were not able to create the file.

The make file log shows these lines :
rm -f 
/home/Thyfate/builds/src/ATLAS/tune/sysinfo/WinNT_PIIISSE2/res/L1CacheSize
echo 16 > 
/home/Thyfate/builds/src/ATLAS/tune/sysinfo/WinNT_PIIISSE2/res/L1CacheSize
/bin/sh: 
/home/Thyfate/builds/src/ATLAS/tune/sysinfo/WinNT_PIIISSE2/res/L1CacheSize: 
No such file or directory
make: *** [ISetL1] Error 1

Is this related to some file permissions possibilities?
I already managed to get the config program to run till the end using mingw 
instead of gcc and then I noticed two other problems :

- a Make.inc shortcut created by the config program cannot be found by the 
make program. Though the shortcut is in the directory it looks in, it does 
not find the file ("No such file or directory")
- when I replace the shortcut with the real file, gcc (not the mingw one, 
the cygwin one) can not be found by the make utility : /usr/bin/gcc can be 
run from the command line but the make file outputs an error message 
/bin/sh: /usr/bin/gcc No such file or directory

Thanks in advance for your help, I do not know where to start looking for 
help !

Charles

--
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 of __RUNTIME_PSEUDO_RELOC_LIST_END

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 10:27:20PM +0800, sjtu wrote:
>I test a simple hello.c
>#include 
>main() {   printf("Hello");} 
>
>$ gcc -o hello hello.c
>hello.c:6:2: warning: no newline at end of file
>/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
>o)(.text+0x52): undefined reference to
>`___RUNTIME_PSEUDO_RELOC_LIST_END__'
>/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
>o)(.text+0x59): undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
>collect2: ld returned 1 exit status
>
>And attachment is the output of my cygwin's "$ cygcheck -s -v -r >
>check.out"
>(for special cause, I must install both cygwin & JediView -- A IDE
>which will reinstall itself cygwin engine again - see attachement
>detail)

So, in other words, you have an installation that is not supported by
this mailing list.  It sounds like you should contact the "JediView"
people and ask them for help.

cgf

--
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: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 10:30:40AM -0400, Igor Pechtchanski wrote:
>On Sun, 1 May 2005, Christopher Faylor wrote:
>> If you want to more-or-less duplicate the behavior of 1.5.15 you can do
>> something like this:
>>
>> (echo 9&; echo YOUR TEXT HERE) > /tmp/FIFO 
>
>This is pretty obvious from the context and the following paragraph, but
>just to clarify for the archives: the above should be
>
>(sleep 9&; echo YOUR TEXT HERE) > /tmp/FIFO

Actually, it should be:

(sleep 9& echo YOUR TEXT HERE) > /tmp/FIFO

i.e., no semicolon.

But, then, 'cat <>' is better.

cgf

--
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: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Christopher Faylor
On Mon, May 02, 2005 at 02:36:12AM -0400, Lev S Bishop wrote:
>On linux, both keep waiting for someone to write to the fifo.  On
>cygwin, when the second cat tries to listen on the fifo, they both
>exit.  I don't know how fifos are supposed to work, but I'm guessing
>cygwin gets it wrong here.

Yes, this is one of the reasons that I can't say "fifos work fine" in
cygwin.

cgf

--
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: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Igor Pechtchanski
On Sun, 1 May 2005, Jerry D. Hedden wrote:

>  However, that said, the above WJFFM.  In fact, it works more like
>  linux in 1.5.16 than it does on 1.5.15, i.e., the cat command exits
>  after printing "YOUR TEXT HERE" whereas it continues to block in
>  1.5.15.
>
> >> I tried the 4/30 snapshot of cygwin1.dll.  It exhibited the behavior
> >> you mentioned with the 'cat' exiting after it reads text.  However,
> >> this is a bad thing.  It means that the FIFO is being set EOF after
> >> there is no more data.  I tried my client-server app with the
> >> snapshot cygwin1.dll, and it failed because of this.
> >>
> >> It seems to me that the behavior of FIFOs under 1.5.15 was correct,
> >> and that under both 1.5.16 and the snapshot, FIFOs are now broken.
>
> > FWIW, I just tested your example under Solaris 8 and it works just
> > like Christopher describes.
>
> Okay.  I have seen the error of my ways.  I'm going to rewrite my app to use
> UPD instead.

Try running your test case using "cat <>/tmp/FIFO".  If it works, look at
the bash sources to see how the <> redirection is implemented, and use
that in your app.  It should be less effort than rewriting all of the
communication code (unless your app is very small).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: cygwin-1.5.16-1: FIFOs broken

2005-05-02 Thread Igor Pechtchanski
On Sun, 1 May 2005, Christopher Faylor wrote:

> On Sat, Apr 30, 2005 at 09:52:28PM -0500, Ren? Berber wrote:
> >Jerry D. Hedden wrote:
> >[snip]
> >>> However, that said, the above WJFFM.  In fact, it works more like linux
> >>> in 1.5.16 than it does on 1.5.15, i.e., the cat command exits after
> >>> printing "YOUR TEXT HERE" whereas it continues to block in 1.5.15.
> >>
> >> I tried the 4/30 snapshot of cygwin1.dll.  It exhibited the behavior you
> >> mentioned with the 'cat' exiting after it reads text.  However, this is
> >> a bad thing.  It means that the FIFO is being set EOF after there is no
> >> more data.  I tried my client-server app with the snapshot cygwin1.dll,
> >> and it failed because of this.
> >>
> >> It seems to me that the behavior of FIFOs under 1.5.15 was correct, and
> >> that under both 1.5.16 and the snapshot, FIFOs are now broken.
> >
> >FWIW, I just tested your example under Solaris 8 and it works just like
> >Christopher describes.
>
> I think the previous <1.5.15 implementation of fifos represented my
> ever-evolving understanding of how they are supposed to work.  Either
> that or it was just a bug.
>
> (FWIW, I just tried the example on another machine and still see success
> with 1.5.16.)
>
> If you want to more-or-less duplicate the behavior of 1.5.15 you can do
> something like this:
>
> (echo 9&; echo YOUR TEXT HERE) > /tmp/FIFO

This is pretty obvious from the context and the following paragraph, but
just to clarify for the archives: the above should be

(sleep 9&; echo YOUR TEXT HERE) > /tmp/FIFO

> As long as there is something sitting around which has the fifo open,
> the cat process will not terminate.  Of course, there will be a long
> running sleep process sitting around in the above example and that
> may not be desirable.  So, there may be a more elegant way to do this.
>
> I thought that maybe something like:
>
> cat < FIFO 42>FIFO
>
> might work since that would cause cat to keep FIFO open for input and
> output but that just hangs on both cygwin and linux.

Interestingly enough,

cat <>/tmp/FIFO

seems to work for me on RH7.3 (kernel 2.4.18-3, bash 2.05a).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/



problem of __RUNTIME_PSEUDO_RELOC_LIST_END

2005-05-02 Thread sjtu
hi,

I test a simple hello.c
#include 
main() {printf("Hello");} 

$ gcc -o hello hello.c
hello.c:6:2: warning: no newline at end of file
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
o)(.text+0x52): undefined reference to
`___RUNTIME_PSEUDO_RELOC_LIST_END__'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc.
o)(.text+0x59): undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
collect2: ld returned 1 exit status

And attachment is the output of my cygwin's "$ cygcheck -s -v -r >
check.out"
(for special cause, I must install both cygwin & JediView -- A IDE
which will reinstall itself cygwin engine again - see attachement
detail)

thanks

liang Alei


check.out
Description: Binary data
--
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: Shutdown 1.7-1 problem when w2k screen is locked

2005-05-02 Thread Wheeler, Frederick W \(Research\)

> On Apr 29 09:27, Wheeler, Frederick W (Research) wrote:
> > 
> > I have found that when I "Lock Computer" in Windows 2000 just after running 
> > "shutdown --exitex 10"
> > then the computer does not shut down.  Nothing happens.  The command just 
> > exits.
> > 
> > When the computer is not locked, "shutdown --exitex 10" does a complete 
> > shutdown and power off.
> > 
> > If I lock the computer right after running "shutdown 10" (no --exitex) then 
> > the computer does shutdown,
> > but does not power off.  I get the "It is now safe to turn off your 
> > computer" screen.  I get the same
> > behavior from "shutdown 10" even if the computer is not locked.
>
> If the Workstation is locked, you must add the -f (or --force) flag to
> force the system to shut down.  At least that's documented for XP.  If
> it doesn't work for 2K, I don't know how to workaround it.  There's no
> such thing as an UnlockWorkstation function, AFAICS.
> 
> Corinna

Using --force makes shutdown work in 2K, even if the computer is locked.  I 
can't believe I missed that.
Thanks for pointing it out.

Thanks,
Fred Wheeler

--
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: "old" wtf? [Was: cygwin-1.5.16-1: FIFOs broken]

2005-05-02 Thread Igor Pechtchanski
On Sun, 1 May 2005, Lapo Luchini wrote:

> Christopher Faylor wrote:
> > However, that said, the above WJFFM.
>
> It *is* in the oloca but not found in command line "wtf", is this
> expected? (e.g. "a new version if waiting for some critical level of
> "new acronyms"?)

Umm, yes, thanks for the reminder -- a new version is about due.  In fact,
I have a fix for the OLOCA->WTF script from Dave Korn that I should
incorporate.  I'll try to release 'wtf' sometime this week.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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: 1.5.16-1: chmod problem

2005-05-02 Thread Corinna Vinschen
On May  2 07:41, Pach Roman (GS-EC/ESA4) * wrote:
> Hello,
> I have tried now using strace.
> The file strace.14 has been generated for cygwin-1.5.14-1, and strace.15 for 
> cygwin-1.5.15-1.
> 
> The command used was:
> > strace chmod +w /u/tmp/yahoo > /tmp/strace.15 2>&1
> 
> The concerned part from strace.14:
>...
>   3310  116505 [main] chmod 1448 set_process_privilege: 0 = 
> set_process_privilege (SeRestorePrivilege, 1)
>244  116749 [main] chmod 1448 set_file_attribute: 0 = set_file_attribute 
> (u:\tmp\yahoo, -1, -1, 0x124)
>  10376  127125 [main] chmod 1448 chmod: 0 = chmod (/u/tmp/yahoo, 0x124)
>699  127824 [main] chmod 1448 chdir: dir '/c'
>...
> 
> And the same from strace.15
>...
>199 5004896 [main] chmod 1436 fhandler_base::open: (u:\tmp\yahoo, 0x11)
>   1441 5006337 [main] chmod 1436 seterrno_from_win_error: 
> /netrel/src/cygwin-1.5.15-1/winsup/cygwin/fhandler.cc:668 windows error 5
>216 5006553 [main] chmod 1436 geterrno_from_win_error: windows error 5 == 
> errno 13
>186 5006739 [main] chmod 1436 fhandler_base::open: C022 = NtCreateFile 
> (0x0, E0100, u:\tmp\yahoo, io, NULL, 0, 7, 1, 4400, NULL, 0)
>187 5006926 [main] chmod 1436 fhandler_base::open: 0 = fhandler_base::open 
> (u:\tmp\yahoo, 0x11)
>181 5007107 [main] chmod 1436 fhandler_base::open_fs: 0 = 
> fhandler_disk_file::open (u:\tmp\yahoo, 0x1)
>185 5007292 [main] chmod 1436 chmod: -1 = chmod (/u/tmp/yahoo, 0x1B6)
>   1226 5008518 [main] chmod 1436 open: open (/usr/share/locale/locale.alias, 
> 0x0)
>...
> 
> The first thing I can see is that 'fhandler_base::open:' returns with the 
> 'windows error 5'
> Is that the reason for chmod to fail later?

Yes.  Opening the file fails with "access denied" and then chmod has
no file handle to work with.

I'm sorry but I tried with 1.5.15 and 1.5.16 and I couldn't find a
situation in which this happens for me.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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: unknown windows error 64

2005-05-02 Thread Shaffer, Kenneth

> Was this a copy to a network share?  That error is
> "ERROR_NETNAME_DELETED".

Yes, it was a copy from a local disk to an archive established on a share.

Is there a right way to copy to a share? I've done either of the
following:

   cp file //machine/share/directory

or

   cd //machine/share
   cp /c/directory/file directory

Do you know of any timeouts I might increase? Wonder why it would work for
many many block before it had a problem? (it's a large file)

--
Ken Shaffer



 - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, 
proprietary, privileged or otherwise protected by law. The information is 
solely intended for the named addressee (or a person responsible for delivering 
it to the addressee). If you are not the intended recipient of this message, 
you are not authorized to read, print, retain, copy or disseminate this message 
or any part of it. If you have received this e-mail in error, please notify the 
sender immediately by return e-mail and delete it from your computer.


--
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: Help me to unsubcribe

2005-05-02 Thread Corinna Vinschen
On May  2 15:05, giuseppe noce wrote:
> Sorry I wish to ubsubscribe but I do not Know how it is possible, who help 
> me ?

The signature of each posting to this list.

> --
> 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/


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/



'Setup' selection question

2005-05-02 Thread Mills, John M.
All -

I want to select packages for cygwin 'Setup' to install, and want to ensure
that all dependencies for my selected packages will also be installed. It
appears that, if I am in a submenu and de-select a package, it may deselect
components that are required by another selected package, thus:

 1. Enter submenu 'X'
 2. Select application 'A' for installation
Notice some other applications are selected, presumably as dependencies
 3. Enter submenu 'Y'
 4. De-select application 'B' for installation
Notice some other applications are de-selected, presumably as
dependencies

It appears that some packages selected in (2) to satisfy dependencies are
being _deselected_ in (4). If so, I'm afraid this could break my
installation.

I actually _download_ the overall selection, burn it to a CD, and install it
on another computer. This final installation seems to be broken. (Xwin won't
start.) When I erase all installation traces I can find in the system used
for downloading (including registry keys), I get clean installations in that
original system from the same CD.

Questions:
 1. Is it possible to deselect needed files from downloading and/or
installation by deselecting _other_ files for which they are dependencies?

 2. By specifically deselecting files that may dependencies of another
package, are they dropped from the download?

 3. Is there some way to test the coverage of a set of selected packages as
far as satisfying its own internal dependencies?

 4. Should I get error messages during installation if some dependencies
can't be satisfied?

I don't have any clear symptoms of the problem; I'm fishing around to debug
my broken "portable" installation.

Thanks for any suggestions on these issues.

 - John Mills

John M. Mills
Staff Engineer
EMS Technologies
660 Engineering Drive
Norcross, GA 30092
770.263.9200 ext4882


--
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/



Help me to unsubcribe

2005-05-02 Thread giuseppe noce
Sorry I wish to ubsubscribe but I do not Know how it is possible, who help 
me ?

thanks
Giuseppe 



Controllato da McAfee Appliance (150)
--
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: "old" wtf? [Was: cygwin-1.5.16-1: FIFOs broken]

2005-05-02 Thread zzapper
On Sun, 01 May 2005 15:23:13 +0200,  wrote:

>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Christopher Faylor wrote:
>> However, that said, the above WJFFM.
>
>It *is* in the oloca but not found in command line "wtf", is this
>expected? (e.g. "a new version if waiting for some critical level of
>"new acronyms"?)
>
>  Lapo

WJFFM   Works Just Fine For Me. As in "Nope, can't reproduce this here". Yet 
another way of saying
"We're Just Frighteningly Freaking Mean" (or insert your favorite F-words 
here). First used on the
list by Christopher Faylor. Also IWFM and WFM

http://www.cygwin.com/acronyms/   

OLOCA: The Official List of Cygwin Acronyms
WTF : cygwin acronym tool

http://www.acronymfinder.com/
http://www.astro.umd.edu/~marshall/abbrev.html

-- 
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips


--
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: Can cygwin create a ramdisk which is a cygwin filesystem?

2005-05-02 Thread Gary R. Van Sickle
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of William Deegan
> Sent: Sunday, May 01, 2005 9:11 PM
> To: cygwin@cygwin.com
> Subject: Can cygwin create a ramdisk which is a cygwin filesystem?
> 
> Greetings,
> 
> As I understand it cygwin access to NTFS is slow for various reasons.
> For my purposes a filesystem on ramdisk managed by cygwin 
> would work just fine.
> Is that possible?
> 
> -Bill
> 

Cygwin's access to an NTFS partition is not particularly slow in general.
Some operations have to go through some contortions to make things look
Unixy, which slows them down, but those are mainly related to permissions
and such.  Unless you're actually having some sort of showstopping disk
speed problems, I'd just stick to normal NTFS partitions and not worry about
a few percentage points of speed.

-- 
Gary R. Van Sickle
 


--
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/