./configure

2005-03-14 Thread Donald
I am a newbie for cygwin.When I try to typed ./configure, it shows that.

"$ ./configure"
"bash: ./configure: No such file or directory"

Is there missing some packages of cygwin?

Thanks for your help


--
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: ./configure

2005-03-14 Thread Donald
Paulo Sequeira  racsa.co.cr> writes:

> 
> Donald wrote:
> > I am a newbie for cygwin.When I try to typed ./configure, it shows that.
> > 
> > "$ ./configure"
> > "bash: ./configure: No such file or directory"
> > 
> > Is there missing some packages of cygwin?
> > 
> > Thanks for your help
> > 
> 
> where are you running that command from? Most likely, you won't find a 
> configure file in home, unless you've deliverately put one there.
> 
> what are you trying to configure?
> 


I have typed "./configure" under /usr/src
I try to install a program but I don't have any experience on compiling a 
program. :(

The readme of the program said :

Build
-

Goto the "src" directory and run "./configure". When this finishs
successfully, run "make".

But when I typed "./configure" ,
"bash: ./configure: No such file or directory"


--
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: ./configure

2005-03-16 Thread Donald
Base64  gmail.com> writes:

> 
> configure scripts come with a specific package or source you are
> trying to compile.  Usually these packages come in a .tar.gz or .bz2
> file.  After extracting this, in the directory there may be a
> configure script which would be executed by running ./configure and
> this would optimize the make settings and other options for your
> system (in this case cygwin).  If there is no configure file, then
> just try typing make as the package doesnt contain one.
> 
> On Mon, 14 Mar 2005 09:06:32 -0600, Paulo Sequeira
>  racsa.co.cr> wrote:
> > Donald wrote:
> > > I am a newbie for cygwin.When I try to typed ./configure, it shows that.
> > >
> > > "$ ./configure"
> > > "bash: ./configure: No such file or directory"
> > >
> > > Is there missing some packages of cygwin?
> > >
> > > Thanks for your help
> > >
> > 
> > where are you running that command from? Most likely, you won't find a
> > configure file in home, unless you've deliverately put one there.
> > 
> > what are you trying to configure?
> > 
> > --
> > Paulo
> > 
> > 
> > --
> > 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/
> > 
> >
> 
> 


Oh~ thanks all ^^
I can "./configure" it. But a new problem happened ><




bash-2.05b$ ./configure
Directories: /usr/bin /usr/sbin /usr/man
Looking for a C compiler... gcc
Checking if gcc accepts gcc warnings... yes
Looking for a C++ compiler... gcc
Checking if gcc accepts gcc warnings... yes
Checking if gcc accepts -O2... yes
Checking if gcc accepts -fno-rtti... yes
Checking if gcc accepts -fno-exceptions... yes
Checking for BSD signal semantics... yes
Checking for ncurses... no
Checking for traditional termcap... -ltermcap
Checking for GNU libc... no
Checking for forkpty... yes
Checking for logwtmp... yes
Checking for snprintf declaration... ok
Checking for snprintf implementation... ok
Generating MCONFIG...
bash-2.05b$ make
cd telnet ; make
make[1]: Entering directory `/usr/src/mudtelnet-1.03-1/src/telnet'
gcc -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-
prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -
Winline  -DUSE_TERMIO -DKLUDGELINEMODE -I../ ../mudtelnet/muddb.c -c
../mudtelnet/muddb.c:184:25: bits/signum.h: No such file or directory
../mudtelnet/muddb.c: In function `mudscript_stop':
../mudtelnet/muddb.c:1051: warning: implicit declaration of function `waitpid'
../mudtelnet/muddb.c:1051: error: `WNOHANG' undeclared (first use in this 
function)
../mudtelnet/muddb.c:1051: error: (Each undeclared identifier is reported only 
once
../mudtelnet/muddb.c:1051: error: for each function it appears in.)
make[1]: *** [muddb.o] Error 1
make[1]: Leaving directory `/usr/src/mudtelnet-1.03-1/src/telnet'
make: *** [telnet/mudtelnet] Error 2



After configure I can't "make" the file , 2 error happened.
I also give more information of the program this time.

readme:
Build
-

Goto the "src" directory and run "./configure". When this finishs
successfully, run "make".

Install
---

Either copy the "mudtelnet" binary in the "bin" directory to your
chosen location, or run "make install" which will copy it to the
"/usr/local/bin" directory.


software: mudtelnet
http://www.itechsc.com/software/free/mudtelnet/

Brothers, thank you for your help



--
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: ./configure

2005-03-16 Thread Donald

Oh~ thanks all ^^
I can "./configure" it. But a new problem happened ><




bash-2.05b$ ./configure
Directories: /usr/bin /usr/sbin /usr/man
Looking for a C compiler... gcc
Checking if gcc accepts gcc warnings... yes
Looking for a C++ compiler... gcc
Checking if gcc accepts gcc warnings... yes
Checking if gcc accepts -O2... yes
Checking if gcc accepts -fno-rtti... yes
Checking if gcc accepts -fno-exceptions... yes
Checking for BSD signal semantics... yes
Checking for ncurses... no
Checking for traditional termcap... -ltermcap
Checking for GNU libc... no
Checking for forkpty... yes
Checking for logwtmp... yes
Checking for snprintf declaration... ok
Checking for snprintf implementation... ok
Generating MCONFIG...
bash-2.05b$ make
cd telnet ; make
make[1]: Entering directory `/usr/src/mudtelnet-1.03-1/src/telnet'
gcc -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-
prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -
Winline  -DUSE_TERMIO -DKLUDGELINEMODE -I../ ../mudtelnet/muddb.c -c
../mudtelnet/muddb.c:184:25: bits/signum.h: No such file or directory
../mudtelnet/muddb.c: In function `mudscript_stop':
../mudtelnet/muddb.c:1051: warning: implicit declaration of function `waitpid'
../mudtelnet/muddb.c:1051: error: `WNOHANG' undeclared (first use in this 
function)
../mudtelnet/muddb.c:1051: error: (Each undeclared identifier is reported only 
once
../mudtelnet/muddb.c:1051: error: for each function it appears in.)
make[1]: *** [muddb.o] Error 1
make[1]: Leaving directory `/usr/src/mudtelnet-1.03-1/src/telnet'
make: *** [telnet/mudtelnet] Error 2



After configure I can't "make" the file , 2 error happened.
This time I also give more information of the program.

readme:
Build
-

Goto the "src" directory and run "./configure". When this finishs
successfully, run "make".

Install
---

Either copy the "mudtelnet" binary in the "bin" directory to your
chosen location, or run "make install" which will copy it to the
"/usr/local/bin" directory.


software: mudtelnet
http://www.itechsc.com/software/free/mudtelnet/

Brothers, thank you for your help





--
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: how do I know which system to choose when running setup?

2002-10-01 Thread Donald MacVicar


Ed wrote:

>>"Z" == Zieg, Mark <[EMAIL PROTECTED]> writes:
>>
>>
>
>Z> (1) The point of having multiple mirrors is so that everyone
>Z> won't hit the same server, thus slowing it down.  If we all
>Z> said "use THIS one, it's the best"...then everyone would shift
>Z> to it, and it would shortly be the worst.
>
>Z> (2) What's "fast for me" won't necessarily be "fast for you",
>Z> because we're probably on different networks, in different
>Z> parts of the country, etc.
>
>
>Yes, I understand that.
>
>But that still doesn't help me decide which one to pick.
>
>For example, download accelerator (free windows app) will try and find
>multiple locations for a download, and then will test each connection
>to see which is fast and which is slow.
>
>Since cygwin setup doesn't seem to let me switch between sites
>(without setup losing all knowledge of what is already downloaded), I
>can't even check to see if one site is better than another.
>  
>
You can pick multiple sites at once by holding down  as you make 
you selections. So if you pick a slow site but grab some stuff from it 
you can re-run setup - and just make sure you still choose it and the 
stuff in the directory will be used rather than re-download from another 
site. Most of the cygwin mirrors are pretty good - just check the 
download rate as it goes.

Use multiple sites also helps when updateing as some sites are slower 
than others at getting the latest releases. Setup will always pick the 
latest version from those available.

>How do I know that I didn't pick the slowest, farthest away site in NA
>for my cygwin downloads?
>
>Ed
>
>
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/
>




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: How do I get my .bashrc read at startup?

2002-10-01 Thread Donald MacVicar

Lane, Frank L wrote:
Have you setup your passwd file?
man mkpasswd

>Thanks to Randall for the bash(ing)!:-)
>
>How do I get my .bashrc read at startup?
>  
>

>
>
>Thanks,
>Frank
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/
>  
>




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin can't write to CIFS... but cmd.exe *can* (more)

2002-10-14 Thread Donald MacVicar

There is loads of stuff in the list archives on this. If you have local 
user accounts on the Win machine (rather than domain accounts) and 
access using shares using the unix account then the UID/GID are 
different, you can set CYGWIN too some value - I think it is smbnontsec, 
someone  can correct me if I cam wrong.

Using a different user for authentication on the samba share that the 
current user will work fine under win but because of the UID changes 
will not work under cygwin unless the smbnontsec is added to the CYGWIN 
enviroment variable.

A search of the archives will give you plenty more on this.

Donald.

Igor Pechtchanski wrote:

>Scott,
>I've had some trouble with file permissions on samba shares under Win2k.
>Not anything as severe as yours, but the files created on a share didn't
>inherit the world read permissions of the directories (and those couldn't
>be set).  I wonder if these are related?
>   Igor
>
>On Mon, 14 Oct 2002, Scott Prive wrote:
>
>  
>
>>...of course, when I do this (in either example), I have cd'd to the
>>CIFS share (/cygdrive/w/ in both cases)
>>
>>Also, the share is authenticated as a test account other than who I am
>>in the shell (shell user=Administrator; CIFS authenticated as user
>>'foo').
>>
>>I'm wondering if this has anything to do with my problem, but one would
>>expect to be able to authenticate CIFS shares as other users (I even
>>tried mapping the drive under plain Explorer).
>>
>>What puzzles me is if I start cmd.exe as a subprocess of bash, the
>>writes succeed.
>>
>>-Scott
>>
>>
>>
>>>Example:
>>>After authentication/mount (via net use), I try `echo "foo"
>>>  
>>>
>>>>myfile.txt`
>>>>
>>>>
>
>  
>




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: ssh from winxp -> RH-Linux w. Publickey

2002-04-02 Thread Donald MacVicar

Daniel,
Not really a cygwin question. The files on the unix end should not be
.authorized_keys but authorized_keys  - or even authorized_keys2 if you want
ssh2

Donald.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Daniel Holtkamp
Sent: 02 April 2002 10:25
To: [EMAIL PROTECTED]
Subject: ssh from winxp -> RH-Linux w. Publickey


Hello cygwin,

  Ok, i just browsed 10 pages of the mailing-list archives for the
  problem but that did not change anything. :-(

  I´ve got a new Cygwin install on my WinXP machine and a updated
  openssh on the RedHat Linux Machine. I got ntsec usage running fine
  with correct accounts (domain user n stuff).

  Doing a "ssh unixserver" works fine, asks me for a password and i´m
  in, but i want public key authentication (for batch-file usage).

  I ran ssh-user-config and ssh-host-config.

  on WinXP:
  ls -al ~/.ssh/
  total 3
  drwx--2 holtkamp RSIDUS-a0 Apr  2 10:53 .
  drwx--3 holtkamp RSIDUS-a0 Mar 28 16:04 ..
  -rw---1 SYSTEM   SYSTEM883 Mar 28 15:27 id_rsa
  -rw-r--r--1 SYSTEM   SYSTEM224 Mar 28 15:27 id_rsa.pub
  -rw-r--r--1 holtkamp RSIDUS-a  246 Apr  2 10:53 known_hosts

  on RH-Linux:
  ls -al ~/.ssh/
  drwx--2 holtkamp holtkamp 1024 Apr  2 10:52 .
  drwx--   14 holtkamp holtkamp 1024 Mar 28 11:00 ..
  -rw-r-1 holtkamp holtkamp  224 Mar 28 15:27 .authorized_keys
  -rw---1 holtkamp holtkamp  887 Mar 28 11:10 id_rsa
  -rw-r--r--1 holtkamp holtkamp  240 Mar 28 11:10 id_rsa.pub
  -rw-r--r--1 holtkamp holtkamp 3035 Mar 28 11:11 known_hosts

  The id_rsa.pub on the Cygwin-Machine matches the .authorized_keys on
  the Linux Machine.

  SSH with -vvv gives me the following (only listing interestening
  part)

  debug3: check_host_in_hostfile: match line 1
  debug3: check_host_in_hostfile: filename /home/holtkamp/.ssh/known_hosts
  debug3: check_host_in_hostfile: match line 1
  debug1: Host 'midas.rsidus.riege.de' is known and matches the RSA host
key.
  debug1: Found key in /home/holtkamp/.ssh/known_hosts:1
  debug1: bits set: 1594/3191
  debug1: ssh_rsa_verify: signature correct
  debug1: kex_derive_keys
  debug1: newkeys: mode 1
  debug1: SSH2_MSG_NEWKEYS sent
  debug1: waiting for SSH2_MSG_NEWKEYS
  debug1: newkeys: mode 0
  debug1: SSH2_MSG_NEWKEYS received
  debug1: done: ssh_kex2.
  debug1: send SSH2_MSG_SERVICE_REQUEST
  debug1: service_accept: ssh-userauth
  debug1: got SSH2_MSG_SERVICE_ACCEPT
  debug1: authentications that can continue:
publickey,password,keyboard-interactive
  debug3: start over, passed a different list
publickey,password,keyboard-interactive
  debug3: preferred publickey,keyboard-interactive,password
  debug3: authmethod_lookup publickey
  debug3: remaining preferred: keyboard-interactive,password
  debug3: authmethod_is_enabled publickey
  debug1: next auth method to try is publickey
  debug1: try pubkey: /home/holtkamp/.ssh/id_rsa
  debug3: send_pubkey_test
  debug2: we sent a publickey packet, wait for reply
  debug1: authentications that can continue:
publickey,password,keyboard-interactive
  debug2: we did not send a packet, disable method
  debug3: authmethod_lookup keyboard-interactive
  debug3: remaining preferred: password


  So what now ? I don´t know what i made wrong, permissions are right
  n stuff, connection with password works fine and the debug shows no
  problem with the key ... i would say it´s a connection problem
  because it says "did on send a packet" but i´m unsure ...

  Any suggestions ?

--
Daniel Holtkamp Riege Software International GmbH
System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED] Phone: +49-2159-9148-41
  Fax:   +49-2159-9148-11
-


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Bash shell extension ?

2002-04-12 Thread Donald MacVicar

Andrew DeFaria wrote:

> Sam Edge wrote:
>
>> [HKEY_CLASSES_ROOT\Directory\shell\BashHere]
>> @="&Bash Prompt Here"
>> [HKEY_CLASSES_ROOT\Directory\shell\BashHere\command]
>> @="c:\\cygwin\\bin\\bash.exe -c \"cd '%1' ; exec /bin/bash\""
>> [HKEY_CLASSES_ROOT\Drive\shell\BashHere]
>> @="&Bash Prompt Here"
>> [HKEY_CLASSES_ROOT\Drive\shell\BashHere\command]
>> @="c:\\cygwin\\bin\\bash.exe -c \"cd '%1' ; exec /bin/bash\""
>
>
> Personally I'm fond of "Bash this!" instead of "Bash Prompt Here" :-) !
>
> Also, the above does not handle the issue of the user's startup 
> scripts. Here's what I have:
>
> HKEY_CLASSES_ROOT\Directory\shell\BashHere]
> @="B&ash this!"
> [HKEY_CLASSES_ROOT\Directory\shell\BashHere\command]
> @="rxvt -e bash -c \"cd '%1';exec bash -rcfile ~/.bash_login\""
> [HKEY_CLASSES_ROOT\Drive\shell\BashHere]
> @="B&ash this!"
> [HKEY_CLASSES_ROOT\Drive\shell\BashHere\command]
> @="rxvt -e bash -c \"cd '%1';exec bash -rcfile ~/.bash_login\""
>
> Note if you do not wish to use rxvt then simply remove the "rxvt -e " 
> portion. This also makes the assumption that Cygwin's bin is in your 
> Windows System Environment variable PATH (which is should be, 
> especially if you use inetd) and that you've appropriately named your 
> bash startup stuff .bash

surely you could just have @="rxvt -ls -e bash -c \"cd '%1'; exec bash 
--login\"" and then all the startup scripts would be run properly?

>
>
>
> -- 
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Bash shell extension ?

2002-04-12 Thread Donald MacVicar

Andrew DeFaria wrote:

> Donald MacVicar wrote:
>
>> Andrew DeFaria wrote:
>>
>>> Sam Edge wrote:
>>>
>>>> [HKEY_CLASSES_ROOT\Directory\shell\BashHere]
>>>> @="&Bash Prompt Here"
>>>> [HKEY_CLASSES_ROOT\Directory\shell\BashHere\command]
>>>> @="c:\\cygwin\\bin\\bash.exe -c \"cd '%1' ; exec /bin/bash\""
>>>> [HKEY_CLASSES_ROOT\Drive\shell\BashHere]
>>>> @="&Bash Prompt Here"
>>>> [HKEY_CLASSES_ROOT\Drive\shell\BashHere\command]
>>>> @="c:\\cygwin\\bin\\bash.exe -c \"cd '%1' ; exec /bin/bash\""
>>>
>>>
>>>
>>> Personally I'm fond of "Bash this!" instead of "Bash Prompt Here" :-) !
>>>
>>> Also, the above does not handle the issue of the user's startup 
>>> scripts. Here's what I have:
>>>
>>> HKEY_CLASSES_ROOT\Directory\shell\BashHere]
>>> @="B&ash this!"
>>> [HKEY_CLASSES_ROOT\Directory\shell\BashHere\command]
>>> @="rxvt -e bash -c \"cd '%1';exec bash -rcfile ~/.bash_login\""
>>> [HKEY_CLASSES_ROOT\Drive\shell\BashHere]
>>> @="B&ash this!"
>>> [HKEY_CLASSES_ROOT\Drive\shell\BashHere\command]
>>> @="rxvt -e bash -c \"cd '%1';exec bash -rcfile ~/.bash_login\""
>>>
>>> Note if you do not wish to use rxvt then simply remove the "rxvt -e 
>>> " portion. This also makes the assumption that Cygwin's bin is in 
>>> your Windows System Environment variable PATH (which is should be, 
>>> especially if you use inetd) and that you've appropriately named 
>>> your bash startup stuff .bash
>>
>>
>>
>> surely you could just have @="rxvt -ls -e bash -c \"cd '%1'; exec 
>> bash --login\"" and then all the startup scripts would be run properly? 
>
>
> Nope! Because --login runs /etc/profile and /etc/profile cd's to $HOME!


Realised that about 10 secs after I sent the mail.
how about put the --login on the first bash - i.e. txvt -ls -e bash 
--login -c ..
Just tried that and it seems to wok.

Donald.

>
>>
>
>
>
>
> -- 
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Problem running g77,etc

2002-05-22 Thread Donald MacVicar

John Macallister wrote:

>I've installed cygwin (current version from www.cygwin.com ) (1.3.10-1 ?) on
>a Windows2000 system. I then installed the Mumit Khan distribution of gcc
>(2.95.2).
>When I try any of the compilers I get the message (for example with g77) :
>
>$ g77 gtest.for
>g77: installation problem, cannot exec `as': No such file or directory
>
>Anyone know what how what's wrong and how to get round this? The Mumit Khan
>distribution of gcc was the only one for Windows which I could find.
>
>The cygwin installation went through automatically and appears to be OK.
>Some of the details of the gcc installation were different but I copied the
>/.../lib and /.../bin files into the appropriate /usr/lib and /usr/bin
>directories. Perhaps there's another gcc distribution for Windows?
>
>John
>
>Name: John B. Macallister  E-mail: [EMAIL PROTECTED]
>Post: Denys Wilkinson Building, Keble Road, Oxford OX1 3RH,UK
>Phone: +44-1865-273388 (direct)  27 (reception)  273418 (Fax)
>
>
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/
>  
>
What is wrong with gcc that is part of Cygwin?

Donald.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Permission denied on Windows XP

2005-01-17 Thread Donald Hyun
I suffer from 'permission denied' problem on my note-pc (Windows XP)

After running big script (recursive make script), I have met 'resource
unavailable' message.
And then I can't execute any bash command because of 'permission denied' 
message.

I installed cygwin v1.5.9. I tried in the latest cygwin version, but I had the
same result.

How can I solve this problem?



--
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: Permission denied on Windows XP

2005-01-19 Thread Donald Hyun
Larry Hall  cygwin.com> writes:

> 
> At 12:39 AM 1/18/2005, you wrote:
> >I suffer from 'permission denied' problem
> >on my note-pc (Windows XP)
> >
> >After running big script (recursive make script), I have met 
> >'resource temporarily unavailable' message.
> >And then I can't execute any bash command because of
> >'permission denied' message.
> >
> >I installed cygwin v1.5.9. I tried in the latest cygwin version, 
> >but I had the same result.
> >
> >How can I solve this problem?
> 
> Start here:
> 
> >Problem reports:   http://cygwin.com/problems.html
> 
> --
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc. (508) 893-9779 - RFK Office
> 838 Washington Street(508) 893-9889 - FAX
> Holliston, MA 01746 
> 
> 


Since a few days ago, I met permission denied message when running my
compilation bash script.
My note-pc doesn't work after 'permission denied' happens. 
My colleague which suffers from this problem has formatted the hard disk.
Permission denied messsage is as follows.

-
make[1]: Leaving directory
'/cygdrive/d/Phevos/df/psdbg/modules/dbgman/srce'
mk: hwlcsl.gen: using /cygdrive/d/Phevos/df/hardwl/srce/hardwl.gen
. 
 
Compiling... [ hwlcsl1init.c ]
make[1]: Entering directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlcsl/srce'
 
 
Compiling... [ hwlcsl2req.c ]
 
 
Compiling... [ hwlcsl4ret.c ]
 
 
Making PTL file... [ hwlcsl.ptl ]
 
 
make[1]: Leaving directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlcsl/srce'
cut: permission denied
/usr/bin/uname: permission denied
/usr/bin/uname: permission denied
C:\cygwin\bin\cut.exe (132892): 
*** thread handle not set - 0x0<0x0>, Win32 error 1450
mk: hwlgpm.gen: using /cygdrive/d/Phevos/df/hardwl/srce/hardwl.gen
make[1]: execvp: /cygdrive/d/Phevos/build/_common/listmodules:
Permission denied
make[1]: Entering directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
make[1]: execvp: /bin/sh.exe: Permission denied
make[1]: Entering directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
make[1]: execvp: /cygdrive/d/Phevos/build/_common/listmodules:
Permission denied
make[1]: Entering directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
make[1]: execvp: /cygdrive/d/Phevos/build/_common/listmodules:
Permission denied
make[1]: Entering directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
make[1]: execvp: /cygdrive/d/Phevos/build/_common/listmodules:
Permission denied
make[1]: Entering directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
make[1]: execvp: /cygdrive/d/Phevos/build/_common/listmodules:
Permission denied
make[1]: Entering directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
make[1]: execvp: /cygdrive/d/Phevos/build/_common/listmodules:
Permission denied
make[1]: Entering directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
make[1]: execvp: /cygdrive/d/Phevos/build/_common/listmodules:
Permission denied
make[1]: Entering directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
make[1]: Entering directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
make[1]: /cygdrive/d/Phevos/build/_common/mk.mk:262: 
fork: Permission denied
make[1]: /cygdrive/d/Phevos/build/_common/mk.mk:269: 
fork: Permission denied
make[1]: /cygdrive/d/Phevos/build/_common/mk.mk:271: 
fork: Permission denied
make[1]: /cygdrive/d/Phevos/build/_common/mk.mk:340: 
fork: Permission denied
make[1]: /cygdrive/d/Phevos/build/_common/mk.mk:348: 
fork: Permission denied
make[1]: /cygdrive/d/Phevos/build/_common/mk.mk:615: 
fork: Permission denied
make[1]: fork: Permission denied
make[1]: vfork: Permission denied
make[1]: /cygdrive/d/Phevos/build/_common/mk.mk:615: 
fork: Permission denied
make[1]: fork: Permission denied
make[1]: vfork: Permission denied
make[1]: /cygdrive/d/Phevos/build/_common/mk.mk:615: 
fork: Permission denied
make[1]: fork: Permission denied
make[1]: vfork: Permission denied
make[1]: /cygdrive/d/Phevos/build/_common/mk.mk:615: 
fork: Permission denied
make[1]: fork: Permission denied
make[1]: vfork: Permission denied
make[1]: Leaving directory
'/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
make: *** [d:/Phevos/df/hardwl/modules/hwlgpm] Error 2
---

I have tested on cygwin 1.3.5, cygwin 1.5.9, 
and cygwin 1.5.12, but it's not solved.
After robooting windows XP, the script seems to work well. 
But during running the same message happens.

I don't want to format my note-pc. Is there any good idea?

Thanks in advance.



--
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: Permission denied on Windows XP

2005-01-24 Thread Donald Hyun
Luc Hermitte  free.fr> writes:

> 
> * On Thu, Jan 20, 2005 at 12:59:16AM +0000, Donald Hyun  
samsung.com> wrote:
> > Larry Hall  cygwin.com> writes:
> > [...]
> > fork: Permission denied
> > make[1]: fork: Permission denied
> > make[1]: vfork: Permission denied
> > make[1]: Leaving directory
> > '/cygdrive/d/Phevos/df/hardwl/modules/hwlgpm/srce'
> > make: *** [d:/Phevos/df/hardwl/modules/hwlgpm] Error 2
> > ---
> > 
> > I have tested on cygwin 1.3.5, cygwin 1.5.9, 
> > and cygwin 1.5.12, but it's not solved.
> > After robooting windows XP, the script seems to work well. 
> > But during running the same message happens.
> > 
> > I don't want to format my note-pc. Is there any good idea?
> 
> Are you using Agnitum Outpost Firewall ?
> Is so find another firewall that does not leak ressources.
> 
> HTH,
> 

I am not using Agnitum Outposr Firewall.

I run both cmd.exe and task manager. Then I run the build script.
When 'Permission denied' happens, the process in task manager are as follows.

System Idle Process  SYSTEM  98  16KB
taskmgr.exe  hyungari  01  5392KB
explorer.exe hyungari  01  24888KB
cmd.exe  hyugari  00  1792KB
V3IMPro.exe  hyungari  00  812KB
monsvcnt.exe SYSTEM  00  9128KB
wuauclt.exe  hyungari  00  7324KB
conime.exe   SYSTEM  00  2876KB
issch.exehyungari  00  1528KB
ictray.exe   hyungari  00  4928KB
monsysnt.exe hyungari  00  4340KB
spoolsv.exe  SYSTEM  00 6208KB
svchost.exe  LOCAL SERVICE  00  7064KB
svchost.exe  NETWORK SERVICE  00  2176KB
svchost.exe  SYSTEM  00  21024KB
incops3.exe  SYSTEM  00  5900KB
svchost.exe  SYSTEM  00  3928KB
Isass.exeSYSTEM  00  1724KB
services.exe SYSTEM  00  3468KB
winlogon.exe SYSTEM  00  4904KB
csrss.exeSYSTEM  00  8028KB
smss.exe SYSTEM  00  476KB
winfil32.exe SYSTEM  00  2176KB
ATKOSD.exe   hyungari  00  3672KB
wcescomm.exe hyungari  00 1476KB
ctfmon.exe   hyungari  00  3268KB
gateman.exe  SYSTEM  00  1368KB
v3p3at.exe   hyungari  00 1648KB
ati2evxx.exe SYSTEM  00  3088KB
alg.exe  LOCAL SERVICE  00  4420KB
AhnSDsv.exe  SYSTEM  00  2048KB
fpdisp5a.exe hyungari  00  4800KB
ahnsd.exehyungari  00 3072KB
Hcontrol.exe hyungari  00  3760KB
System   SYSTEM  00  280KB

Is there any clue?

Thanks in advance.



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



login: no shell: /bin/bash: Permission denied

2011-09-13 Thread Larson, Donald (Don)
Folks,
I have searched this and I see it has come up several times and I really don't 
want to frustrate anyone, but I have read the messages and was not able to see 
what the actual answer was.

I understand "su" does not work – answer use ssh. SSHD cannot start because 
user sshd cannot login. I run login sshd type in the password and then I get 
the message.

Any help is appreciated.

Thanks,
Don

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



RE: win95 pipe problems -- report + testcase + patch

2004-09-30 Thread Donald Wallace Rouse II
This patch is not in the current release (1.5.11-1).
I can't compile it myself, because ./config fails (because it uses pipes).
Can someone give me some kind of timeframe when the next version will be released 
(with this patch in it)?
Thanks.



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



stdbuf does not work

2018-08-18 Thread Donald Krieger via cygwin
Dear list,
I require line buffered output from program1 and line buffered input to 
program2.The following works under Linux but not under Cygwin.   stdbuf -oL -eL 
program 1 |& program2

I've searched the archive without success.I have tried -o0 -e0 -i0 and have 
also tried
  stdbuf -oL -eL program1 |& stdbuf -i0 program2
I have a fresh installation of cygwin as of a few months ago:  uname -a         
     yields:CYGWIN_NT-10.0 DESKTOP-S92525R 2.10.0(0.325/5/3) 2018-02-02 15:16 
x86_64 Cygwin
  stdbuf --version    yields:stdbuf (GNU coreutils) 8.26Packaged by Cygwin 
(8.26-2)Copyright (C) 2016 Free Software Foundation, Inc
Thanks for your help.
Best - Don

|  | Virus-free. www.avast.com  |


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



Re: stdbuf does not work

2018-08-18 Thread Donald Krieger via cygwin
Dear Eliot,
Thanks for getting back so quickly.Program1 is a windows routine, xgraph.  
http://www.xgraph.org/ms/index.htmlThis is a general purpose plotting program 
which writes out text whenever an operation is performed in its graphic window.
That text output is piped into Program2, a home-grown tcsh script.Program2 
reads the xgraph text output one line at a time and uses it to update the 
display list files which xgraph is polling to keep its graphic window up to 
date.
Here is the test harness I'm executing inside a cygwin window. For test 
purposes, Program2 is cat.   stdbuf -oL -eL xgraph | cat -A
Here's a typical output which is only seen once I've terminated xgraph by 
clicking the appropriate button in the graphic window. The only think I did 
while xgraph was running was click at one location in the graphics window; 
that's what generated the line: Clicked at (x,y) = (-0.62324, 0.255608)
XGraph v4.38^M$Window (800 x 594)^M$0 points read.^M$^M$Error:  No dimensional 
data was read.  Cannot determine axes ranges.^M$^M$   Clicked at (x,y) = 
(-0.62324, 0.255608)^M$Exiting XGraph.^M$
I tried 0 (zero) instead of L in the stdbuf switches just because.I also tried 
using stdbuf -i0 Program2in case that might make a difference.
I can easily eliminate the :  stdbuf -oL -eL xgraph | tr -d "\015" | cat 
-AThis produces the same output but with the ^M 's removed.I don't know how to 
alter the windows line endings but would like to.
Thanks again and for any further thoughts.
Best - Don

  From: Eliot Moss 
 To: cygwin@cygwin.com 
 Sent: Saturday, August 18, 2018 9:14 AM
 Subject: Re: stdbuf does not work
   
On 8/18/2018 8:36 AM, Donald Krieger via cygwin wrote:
> Dear list,
> I require line buffered output from program1 and line buffered input to 
> program2.The following works under Linux but not under Cygwin.   stdbuf -oL 
> -eL program 1 |& program2
> 
> I've searched the archive without success.I have tried -o0 -e0 -i0 and have 
> also tried
>    stdbuf -oL -eL program1 |& stdbuf -i0 program2
> I have a fresh installation of cygwin as of a few months ago:  uname -a       
>        yields:CYGWIN_NT-10.0 DESKTOP-S92525R 2.10.0(0.325/5/3) 2018-02-02 
> 15:16 x86_64 Cygwin
>    stdbuf --version    yields:stdbuf (GNU coreutils) 8.26Packaged by Cygwin 
>(8.26-2)Copyright (C) 2016 Free Software Foundation, Inc

Some thoughts to consider:

- -i0 means unbuffered; did you write the wrong description above?
- As noted in the strbuf man page, some programs don't use streams and thus are
  not affected by strbuf settings.  I agree this is not something likely to
  change for the same program ported from Linux to Cygwin.
- How do you have line endings set up on Cygwin or in any files you are
  processing?  The usual Windows line ending  being CR-LF instead of Linux's
  LF can confuse some programs.

It might also help potential responders to know a little more about what 
program1 and
program2 are.  Are they Windows or Cygwin programs?

Regards - EM

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



   

|  | Virus-free. www.avast.com  |


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



Re: stdbuf does not work

2018-08-19 Thread Donald Krieger via cygwin
Thank you again, Eliot, for this direction.I haven't had time to get everything 
working but winpty does appear to work.Note that the undocumented switch,  
-Xallow-non-tty must be included to use pipes.This now works, i.e. the text 
output from xgraph shows up immediately.
    winpty  -Xallow-non-tty xgraph | cat -A
winpty may be found here:    https://github.com/rprichard/winptyThe download is 
for the source. I was able to make it without a hiccup by doing the following 
in directory winpty-master:   ./configure   make   make install
rprichard includes he "undocumented" switches here:    
https://github.com/rprichard/winpty/issues/103
Thanks again.
Best - Don

  From: Eliot Moss 
 To: cygwin@cygwin.com 
 Sent: Saturday, August 18, 2018 1:01 PM
 Subject: Re: stdbuf does not work
  
Donald emailed me directly that this:

xgraph ... | strbuf -oL -eL tr -d '\015' | ...
does not fix the problem.  While I don't recall his ever having described
"the problem" that he is trying to use strbuf to solve, I now gather that
it has to do with xgraph doing more buffering of output than he would
like, so the downstream programs are not responding in a timely way.

The general problem is that this kind of buffering is usual for pipes, and
thus what the Microsoft C RunTime (CRT) does (cygwin's C run-time does
the same thing, I believe, but strbuf can override it).

The fix is to be writing to a character ("console") device of some kind.
This post on stackoverflow gives a solution:

https://stackoverflow.com/questions/11516258/what-is-the-equivalent-of-unbuffer-program-on-windows

The solution proposed there is a program called winpty, and use of
(apparently undocumented) flags to winpty to achieve the desired effect.
I am posting back to the list rather than to Don directly, in hope that
this works and his confirmation to the list may be helpful in the future
to others trying to achieve that same effect.

Regards - Eliot

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



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



Re: Invalid relocation. Offset 0x7ffb9097714 at address 0x100402ed8 doesn't fit into 32 bits

2018-10-13 Thread Donald Krieger via cygwin
I see the same error on my version of cygwin.$ uname -aCYGWIN_NT-10.0 
DESKTOP-S92525R 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin

I wonder if this is a 64-bit application trying to run in a 32-bit address 
space?
$ file /usr/bin/outguess.exe/usr/bin/outguess.exe: PE32+ executable (console) 
x86-64, for MS Windows
 Don

  From: KA G 
 To: cygwin@cygwin.com 
 Sent: Saturday, October 13, 2018 6:17 AM
 Subject: Invalid relocation. Offset 0x7ffb9097714 at address 0x100402ed8 
doesn't fit into 32 bits
   
I get this error when trying to run outguess. Invalid relocation.  Offset
0x7ffb9097714 at address 0x100402ed8 doesn't fit into 32 bits. I installed
it through the set up provided.
The program appears on the bin folder of outguess and
also C:\cygwin64\usr\src. The files that are found on C:\cygwin64\usr\src
are:
outguess-0.2 tar.gz
outguess-0.2-1.sh
outguess-0.2-1.sh.sig
outguess-0.2-1-cygwin.patch
outguess-0.2-1-cygwin.patch.sig.
I also have set the path as well. I did see a method that involved rebasing
the cygXt-6.dll however I was nogt able to locate it.

http://cygwin.1069669.n5.nabble.com/Invalid-relocation-for-xpdf-td126316.html
>

Could you please help? I'd like to add that the account that is being used
to try and run outguess is not the administrator account however I do have
access to the password of the administrator
Thank you

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



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



[no subject]

2024-01-10 Thread hancy donald via Cygwin



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


Re:

2024-01-10 Thread hancy donald via Cygwin
Hi My problem is that why can't i crack my zip file with John the rapper in
my Computer

On Wed, Jan 10, 2024, 5:51 PM hancy donald  wrote:

>

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