Re: [1.7] pthread_mutex_lock/pthread_mutex_unlock strange blocking problem

2009-06-03 Thread Corinna Vinschen
On Jun 3 01:12, Dave Korn wrote: > Corinna Vinschen wrote: > > On Jun 2 16:11, Thomas Stalder wrote: > >> Hello, > >> > >> Sometimes pthread_mutex_lock ou pthread_mutex_unlock block. > > > > Isn't that basically the same problem Dave sent the patch to fix the > > hangs in pthread_create? > > >

Re: UAC .manifest files

2009-06-03 Thread Corinna Vinschen
On Jun 2 23:21, Yaakov S wrote: > I think the best solution is to let cygport detect susceptible apps > and generate .manifest files automatically. > > 1. AFAICS, this affects EXEs with names containing "install", "patch", > "setup", or "update". Are there any more patterns? I never saw more

RE: Cygwin SSH Multiple Users

2009-06-03 Thread Holikar, Sachin (ext)
Hello, We have configured Cygwin on Windows XP. SOmehow we managed to configure the SSH onto cygwin for a user called "mac". We could login to windows XP with the local user name mac and then start the cygwin. And then /usr/sbin/sshd. Its the only way currently how we get to start the sshd d

Re: UAC .manifest files

2009-06-03 Thread Corinna Vinschen
On Jun 3 10:11, Corinna Vinschen wrote: > On Jun 2 23:21, Yaakov S wrote: > > I think the best solution is to let cygport detect susceptible apps > > and generate .manifest files automatically. > > > > 1. AFAICS, this affects EXEs with names containing "install", "patch", > > "setup", or "upda

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread Marc Girod
Larry Hall (Cygwin) wrote: > > Try another mirror. It's listed on one or both of the mirrors below: > > ftp://sourceware.mirrors.tds.net > ftp://mirrors.kernel.org > OK, Thanks! Got that from the latter. However now that I compile the perl CPAN module: Math::GMP 2.05, I get a lot of compilati

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread Marc Girod
Marc Girod wrote: > > Where does IV come from is what I'll try to find next. > This seems to be from the perlapi: sv_iv A private implementation of the "SvIVx" macro for compilers which can't cope with complex macro expressions. Always use the macro inste

Re: Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread sisyphus1
> Marc Girod wrote: > I get a lot of compilation errors: > > gcc -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing > -pipe > -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"2.05\" > -DXS_VERSION=\"2.05\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" GMP.c > GMP.c: In fu

Re: Cygwin SSH Multiple Users

2009-06-03 Thread Georg Nikodym
On 3-Jun-09, at 4:13 AM, Holikar, Sachin (ext) wrote: Hello, We have configured Cygwin on Windows XP. SOmehow we managed to configure the SSH onto cygwin for a user called "mac". We could login to windows XP with the local user name mac and then start the cygwin. And then /usr/sbin/sshd.

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread Marc Girod
Sisyphus wrote: > > No error there - just a warning, but that's not going to stop the > compilation and should not be a problem. Correct, but after I install the result, trying to use it dumps core, which is why I suspected this (no other errors). e.g. 'perl Makefile.PL' for Net-SSH-Perl-1.34..

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread sisyphus1
> Marc Girod wrote: > > No error there - just a warning, but that's not going to stop the > > compilation and should not be a problem. > Correct, but after I install the result, trying to use it dumps core, > which is why I suspected this (no other errors). Any errors during the 'make test'

Can I install cygwin from my own setup.ini?

2009-06-03 Thread Pan ruochen
Hi All, I only want to install the following modules: -- bash base-files sed gawk -- But it's an uneasy work to deselect all the unwanted modules from the default status on the cygwin setup dialog box. (And the selection work must be done again ever

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Edward Lam
Corinna Vinschen wrote: On May 29 17:21, Edward Lam wrote: I think the problem I'm running into is: - I give cygwin 1.7's bash a string that is in my system default code page. - cygwin 1.7 thinks the string is actually UTF-8 and tries to convert it as UTF-8 into UTF-16, resulting in a truncated

Re: Trouble with ssh-agent (maybe opening socket?)

2009-06-03 Thread Christian Anton
I want to re-anime this thread because until now i did not figure out what the problem is, and using ssh from an admin station without ssh-agent is annoying. The problem appears only when ssh-agent is _not_ started with the -d "==debug" option. So this means that only when ssh-agent forks after st

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread Marc Girod
Sisyphus wrote: > > I've found Net::SSH2 to be quite good (though I've only used it on > 'native' win32) - haven't tried Net::SSH::Perl. > Thanks. tried it. However, 'perl Makefile.PL' doesn't seem to find the bits I installed from libssh2-devel. I had to set: my $lib = '/usr/lib'; my $inc = '

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread Marc Girod
Sisyphus wrote: > > Any errors during the 'make test' phase of the Math-GMP-2.05 build ? > Yes. Sorry: I forgot about them. I attach the transcript. I couldn't build Net::SSH2... Marc http://www.nabble.com/file/p23852073/mathgmp.test mathgmp.test -- View this message in context: http://www.

RE: Cygwin SSH Multiple Users

2009-06-03 Thread Holikar, Sachin (ext)
Hello, Thanks for the reply. We did play around a lot with ssh-host-config but it used to give errors such that, Win32 error 1062 . Kindly suggest. - Sac -Original Message- From: Georg Nikodym [mailto:geo...@bitmover.com] Sent: Mittwoch, 3. Juni 2009 14:43 To: Holikar, Sachin (ex

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Corinna Vinschen
On Jun 3 09:18, Edward Lam wrote: > Corinna Vinschen wrote: >> The question is, what do you expect? [...] > [...] > Wikipedia has several suggestions on how to handle invalid UTF-8 byte > sequences (http://en.wikipedia.org/wiki/UTF-8). Personally, I favor the > rule that uses the replacement

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Edward Lam
Corinna Vinschen wrote: What's left as questionable is the LANG=C default case. Due to the discussion from the last month we now use UTF-8 as default encoding, because it's the only encoding which covers all (valid) characters. Sure, we could also convert the command line using the current ANSI

Re: OpenSSH server installation error on Windows Vista Business/Ultimate

2009-06-03 Thread 7aboir
I have intalled sshd on Vista. The only major (weird) difference I can remember from XP is that you should start your cygwin.bat using "Run as an administrator" before starting the installation. Being an administrator is not enough, using a default vista installation with user control activated, a

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread IWAMURO Motonori
Hi. How about the addition of the setting of the locale environment variable (like LANG) to the Cygwin installer? 2009/6/3 Corinna Vinschen : > On Jun  3 09:18, Edward Lam wrote: >> Corinna Vinschen wrote: >>> The question is, what do you expect?  [...] >> [...] >> Wikipedia has several suggestio

Re: Cygwin SSH Multiple Users

2009-06-03 Thread Georg Nikodym
On 3-Jun-09, at 10:10 AM, Holikar, Sachin (ext) wrote: Hello, Thanks for the reply. We did play around a lot with ssh-host-config but it used to give errors such that, Win32 error 1062 . Kindly suggest. To be honest, I don't know. I run ssh-host-config, say yes to privilege separation,

FAQ 4.46, applications interfere with subversion or not?

2009-06-03 Thread masc
Hello, When using cygwin's cvs2svn with subversion (1.6.2 r37639) while running Avira AntiVir (http://www.avira.com/en/pages/index.php), svnadmin is failing sporadically due to permission failure moving files. Reading up on FAQ and mailing lists, I found that 3rd party software like antivirus p

RE: Unable to convert postscript to usable form, using either ps2pdf or gs

2009-06-03 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of David Karr > Sent: Monday, June 01, 2009 2:33 PM > To: cygwin@cygwin.com > Subject: Unable to convert postscript to usable form, using either ps2pdf > or gs > > I have a generated postscrip

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Corinna Vinschen
On Jun 3 10:43, Edward Lam wrote: > Corinna Vinschen wrote: >> What's left as questionable is the LANG=C default case. Due to the >> discussion from the last month we now use UTF-8 as default encoding, >> because it's the only encoding which covers all (valid) characters. >> Sure, we could also c

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Corinna Vinschen
http://cygwin.com/acronyms/#PCYMTNQREAIYR http://cygwin.com/acronyms/#TOFU On Jun 4 00:03, IWAMURO Motonori wrote: > 2009/6/3 Corinna Vinschen > > What's left as questionable is the LANG=C default case.  Due to the > > discussion from the last month we now use UTF-8 as default encoding, > > beca

Re: Cygwin SSH Multiple Users

2009-06-03 Thread Corinna Vinschen
On Jun 3 11:11, Georg Nikodym wrote: > Also, "Win32 error 1062" doesn't tell anybody anything. Paste more of > the session to provide some context. bash$ net helpmsg 1062 The service has not been started. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Edward Lam
Corinna Vinschen wrote: No. I'm suggesting to convert the command line always using the default ANSI codepage, same as Windows when calling CreateProcessA. This only affects non-Cygwin processes anyway since Cygwin uses another mechanism to send the command line arguments to the child process.

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Christopher Faylor
On Wed, Jun 03, 2009 at 04:27:55PM +0200, Corinna Vinschen wrote: >On Jun 3 09:18, Edward Lam wrote: >> Corinna Vinschen wrote: >>> The question is, what do you expect? [...] >> [...] >> Wikipedia has several suggestions on how to handle invalid UTF-8 byte >> sequences (http://en.wikipedia.org/

Re: FAQ 4.46, applications interfere with subversion or not?

2009-06-03 Thread David Rothenberger
On 6/3/2009 8:20 AM, masc wrote: When using cygwin's cvs2svn with subversion (1.6.2 r37639) while running Avira AntiVir (http://www.avira.com/en/pages/index.php), svnadmin is failing sporadically due to permission failure moving files. Reading up on FAQ and mailing lists, I found that 3rd part

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Corinna Vinschen
On Jun 3 12:02, Christopher Faylor wrote: > On Wed, Jun 03, 2009 at 04:27:55PM +0200, Corinna Vinschen wrote: > >On Jun 3 09:18, Edward Lam wrote: > >> Corinna Vinschen wrote: > >>> The question is, what do you expect? [...] > >> [...] > >> Wikipedia has several suggestions on how to handle inva

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Corinna Vinschen
On Jun 3 12:01, Edward Lam wrote: > Corinna Vinschen wrote: >> No. I'm suggesting to convert the command line always using the default >> ANSI codepage, same as Windows when calling CreateProcessA. This only >> affects non-Cygwin processes anyway since Cygwin uses another mechanism >> to send th

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Corinna Vinschen
On Jun 3 18:12, Corinna Vinschen wrote: > On Jun 3 12:01, Edward Lam wrote: > > Corinna Vinschen wrote: > >> No. I'm suggesting to convert the command line always using the default > >> ANSI codepage, same as Windows when calling CreateProcessA. This only > >> affects non-Cygwin processes anywa

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread IWAMURO Motonori
I think that this problem is caused by missing setting the locale environment variable. Therefore, I think that the problem can be solved by compelling the setting with setup.exe. 2009/6/4 Corinna Vinschen : > > http://cygwin.com/acronyms/#PCYMTNQREAIYR > http://cygwin.com/acronyms/#TOFU > > On Ju

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread IWAMURO Motonori
And, I think that UTF-8 is best solution when the setting of LC_CTYPE category is C. 2009/6/4 IWAMURO Motonori : > I think that this problem is caused by missing setting the locale > environment variable. > Therefore, I think that the problem can be solved by compelling the > setting with setup.ex

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread Reini Urban
Marc Girod schrieb: Larry Hall (Cygwin) wrote: Try another mirror. It's listed on one or both of the mirrors below: ftp://sourceware.mirrors.tds.net ftp://mirrors.kernel.org OK, Thanks! Got that from the latter. However now that I compile the perl CPAN module: Math::GMP 2.05, I get a lot of

Re: FAQ 4.46, applications interfere with subversion or not?

2009-06-03 Thread masc
Im using 1.5, will try 1.7 now to see how that goes.. How can I help you to trace it down? David Rothenberger wrote: > > Are you using Cygwin 1.5 or 1.7? I have disabled this hack in the 1.7 > build because I was hoping 1.7's more robust file renaming and deleting > code would come to the resc

Re: How to change the file mode to link?

2009-06-03 Thread Peng Yu
> No. Shortcuts created with Windows contain more and different > information than Cygwin symlinks. If you need a symlink, create it > under Cygwin. If I am willing to loose the additional information, is there a way to convert a windows link to a cygwin link? Regards, Peng -- Unsubscribe info

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Edward Lam
Corinna Vinschen wrote: On Jun 3 12:02, Christopher Faylor wrote: On Wed, Jun 03, 2009 at 04:27:55PM +0200, Corinna Vinschen wrote: On Jun 3 09:18, Edward Lam wrote: Corinna Vinschen wrote: The question is, what do you expect? [...] [...] Wikipedia has several suggestions on how to handle

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Edward Lam
IWAMURO Motonori wrote: And, I think that UTF-8 is best solution when the setting of LC_CTYPE category is C. 2009/6/4 IWAMURO Motonori : I think that this problem is caused by missing setting the locale environment variable. Therefore, I think that the problem can be solved by compelling the se

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Christopher Faylor
On Wed, Jun 03, 2009 at 12:55:57PM -0400, Edward Lam wrote: >Corinna Vinschen wrote: >> On Jun 3 12:02, Christopher Faylor wrote: >>> On Wed, Jun 03, 2009 at 04:27:55PM +0200, Corinna Vinschen wrote: On Jun 3 09:18, Edward Lam wrote: > Corinna Vinschen wrote: >> The question is, what

Re: Cygwin SSH Multiple Users

2009-06-03 Thread Georg Nikodym
On 3-Jun-09, at 11:52 AM, Corinna Vinschen wrote: On Jun 3 11:11, Georg Nikodym wrote: Also, "Win32 error 1062" doesn't tell anybody anything. Paste more of the session to provide some context. bash$ net helpmsg 1062 The service has not been started. Awesome! Old dog, new tricks. -g

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread Reini Urban
Marc Girod schrieb: Sisyphus wrote: No error there - just a warning, but that's not going to stop the compilation and should not be a problem. Correct, but after I install the result, trying to use it dumps core, which is why I suspected this (no other errors). e.g. 'perl Makefile.PL' for Net

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Edward Lam
Christopher Faylor wrote: As Corinna said above: "Chris implemented using the invalid code point solution" That's what is in Cygwin's CVS and in the latest snapshot. I see, you silently committed a fix while this discussion was ongoing? http://www.cygwin.com/snapshots/winsup-changelog-2009053

Re: FAQ 4.46, applications interfere with subversion or not?

2009-06-03 Thread masc
1.7 seems to work well.. imported 8500 revisions on first attempt, while 1.5 was failing each of 5 attempts, never getting beyond rev 600. -- View this message in context: http://www.nabble.com/FAQ-4.46%2C-applications-interfere-with-subversion-or-not--tp23853503p23855609.html Sent from the Cygw

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread Marc Girod
Excellent! Reini Urban wrote: > > t/01_gmppm.ok > So this seems to be our only difference. Math-GMP-2.05> make testdb TEST_FILE=t/01_gmppm.t /usr/bin/perl.exe -d "-Iblib/lib" "-Iblib/arch" t/01_gmppm.t Loading DB routines from perl5db.pl version 1.3 Editor support available. Enter h

Re: Can I install cygwin from my own setup.ini?

2009-06-03 Thread Larry Hall (Cygwin)
Pan ruochen wrote: Hi All, I only want to install the following modules: -- bash base-files sed gawk -- I used an extern tool to calculate all the required modules from the basic module set by parsing the download setup.ini file and generate a

Re: How to change the file mode to link?

2009-06-03 Thread Larry Hall (Cygwin)
Peng Yu wrote: No. Shortcuts created with Windows contain more and different ^^ information than Cygwin symlinks. If you need a symlink, create it under Cygwin. If I am willing to loose the additional information, is there a way

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Alexey Borzenkov
On Wed, Jun 3, 2009 at 6:27 PM, Corinna Vinschen wrote: > What's left as questionable is the LANG=C default case.  Due to the > discussion from the last month we now use UTF-8 as default encoding, > because it's the only encoding which covers all (valid) characters. > Sure, we could also convert t

Re: [1.7] pthread_mutex_lock/pthread_mutex_unlock strange blocking problem

2009-06-03 Thread Dave Korn
Thomas Stalder wrote: > Hello, > > Sometimes pthread_mutex_lock ou pthread_mutex_unlock block. Thank you very much for the simple testcases. I have located an invalid racy optimisation in cygwin's internal lock handling that leads to a deadlock owing to unmatched lock acquire/releases, and pos

[1.7][BUG] winsup/cygwin/strfuncs.cc

2009-06-03 Thread IWAMURO Motonori
Hi. I found a trivial bug. *pmbs is unsigned char. '\x80' is -128 because it is char literal (not unsigned char). -> "*pmbs > '\x80'" is always true. # Is not "> 0x80" but ">= 0x80" correct? --- winsup/cygwin/strfuncs.cc 31 May 2009 03:59:38 - 1.30 +++ winsup/cygwin/strfuncs.cc 3 J

RE: How to change the file mode to link?

2009-06-03 Thread Buchbinder, Barry (NIH/NIAID) [E]
Larry Hall (Cygwin) wrote on Wednesday, June 03, 2009 1:38 PM: > Peng Yu wrote: >>> No. Shortcuts created with Windows contain more and different > ^^ >>> information than Cygwin symlinks. If you need a symlink, create it >>> under C

Re: [1.7][BUG] winsup/cygwin/strfuncs.cc

2009-06-03 Thread Corinna Vinschen
On Jun 4 03:11, IWAMURO Motonori wrote: > Hi. > > I found a trivial bug. > > *pmbs is unsigned char. > '\x80' is -128 because it is char literal (not unsigned char). > -> "*pmbs > '\x80'" is always true. > > # Is not "> 0x80" but ">= 0x80" correct? You're right. I meant to fix that when I app

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Christopher Faylor
On Wed, Jun 03, 2009 at 01:19:45PM -0400, Edward Lam wrote: >Christopher Faylor wrote: >>As Corinna said above: "Chris implemented using the invalid code point >>solution" >> >>That's what is in Cygwin's CVS and in the latest snapshot. > >I see, you silently committed a fix while this discussion wa

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-03 Thread Larry Hall (Cygwin)
On 06/03/2009, Christopher Faylor wrote: If you really must know, I was waiting for Corinna to return from vacation before advertising the fix because I wanted her to look at it first before it was exposed to sound and fury of the cygwin mailing list. Looks like you gotyour wish. ;-) -- Larry

Re: [1.7] pthread_mutex_lock/pthread_mutex_unlock strange blocking problem

2009-06-03 Thread Thomas Stalder
The patchs from DaveK seems to correct all the problems. Thanks to DaveK for his great and quick work. Thomas 2009/6/3 Dave Korn : > Thomas Stalder wrote: >> Hello, >> >> Sometimes pthread_mutex_lock ou pthread_mutex_unlock block. > >  Thank you very much for the simple testcases.  I have locate

Tool equivelent for rundll32.exe "user32.dll,LockWorkStation"

2009-06-03 Thread Jason Pyeron
Is there a tool like shutdown, etc to lock the workstation or should I stick with rundll32.exe "user32.dll,LockWorkStation"? -Jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron

Re: How to change the file mode to link?

2009-06-03 Thread Peng Yu
On Wed, Jun 3, 2009 at 12:37 PM, Larry Hall (Cygwin) wrote: > Peng Yu wrote: >>> >>> No.  Shortcuts created with Windows contain more and different > >                                               ^^ >>> >>> information than Cygwin symlinks.  If you need a symlink, create it >>> u

Re: How to change the file mode to link?

2009-06-03 Thread Mark Geisert
Peng Yu writes: > Is there such a cygwin command to extract the link from a windows > link. Did you not see Barry's response on this thread? ..mark -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: h

Re: Can I install cygwin from my own setup.ini?

2009-06-03 Thread Fergus
> I only want to install the following modules: > bash > base-files > sed > gawk The easiest way (that I know of, anyway) is to take the existing current setup.ini and insert these lines as the 1st entry under setup-timestamp: setup-version: leaving the rest of setup.ini unaltered. @ anyna

RE: Can I install cygwin from my own setup.ini?

2009-06-03 Thread Buchbinder, Barry (NIH/NIAID) [E]
Pan ruochen wrote on Wednesday, June 03, 2009 9:08 AM: > I only want to install the following modules: > -- > bash > base-files > sed > gawk > -- > > But it's an uneasy work to deselect all the unwanted modules from the > default status on the cygwin

Re: UAC .manifest files

2009-06-03 Thread Yaakov (Cygwin/X)
On 03/06/2009 03:11, Corinna Vinschen wrote: I never saw more than exactly this list. Got it (and with "instal" with one L). I don't know if it matters, but it certainly doesn't hurt either. As a suggestion, when automating this, the name could be constructed like this: Organization=Cygw

Re: Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-03 Thread sisyphus1
> Marc Girod wrote: > SSH2.xs:581: error: `LIBSSH2_VERSION_NUM' undeclared (first use in this > function) Without checking, I think it's just that the version of libssh2 is too old for Net-SSH2-0.20. Net-SSH2-0.20 should build against libssh2 versions 0.19 and 1.0. What version of the libr

Combining -D and -L on setup command line

2009-06-03 Thread Ralph Hempel
I had the opportunity to test the latest cygwin-1.7 today after my USB stick got trashed. Using setup 2.625 the combination of -D -L on the command line does not result in the expected "download and install" operation. I have to run setup twice, once with -D to download to pull the files into a

Re: Can I install cygwin from my own setup.ini?

2009-06-03 Thread Ralph Hempel
Or you can just use the -P option from the setup command line and get exactly the packages you want! Ralph -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Combining -D and -L on setup command line

2009-06-03 Thread Christopher Faylor
On Wed, Jun 03, 2009 at 09:37:09PM -0400, Ralph Hempel wrote: >I had the opportunity to test the latest cygwin-1.7 today after >my USB stick got trashed. > >Using setup 2.625 the combination of -D -L on the command line >does not result in the expected "download and install" operation. > >I have to

Re: Combining -D and -L on setup command line

2009-06-03 Thread Christopher Faylor
On Wed, Jun 03, 2009 at 09:44:52PM -0400, Christopher Faylor wrote: >On Wed, Jun 03, 2009 at 09:37:09PM -0400, Ralph Hempel wrote: >>I see that the patch to support both is in CVS as version >>2.18.6.1 but not in 2.19 (HEAD) >> >>Is this an oversight or do I just need to wait until the streams >>ge

Re: Combining -D and -L on setup command line

2009-06-03 Thread Ralph Hempel
Christopher Faylor wrote: I see that the patch to support both is in CVS as version 2.18.6.1 but not in 2.19 (HEAD) Is this an oversight or do I just need to wait until the streams get merged? It's an oversight. What is the ChangeLog entry for this change? File: cygwin-apps/setup/source.

Re: Combining -D and -L on setup command line

2009-06-03 Thread Ralph Hempel
Christopher Faylor wrote: On Wed, Jun 03, 2009 at 09:44:52PM -0400, Christopher Faylor wrote: On Wed, Jun 03, 2009 at 09:37:09PM -0400, Ralph Hempel wrote: I see that the patch to support both is in CVS as version 2.18.6.1 but not in 2.19 (HEAD) Is this an oversight or do I just need to wait u

Re: How to change the file mode to link?

2009-06-03 Thread Peng Yu
On Wed, Jun 3, 2009 at 4:45 PM, Mark Geisert wrote: > Peng Yu writes: >> Is there such a cygwin command to extract the link from a windows >> link. > > Did you not see Barry's response on this thread? I missed it before I sent this message. Sorry. Regards, Peng -- Unsubscribe info: http://

`cygstart bash' won't work as advertised in man-page

2009-06-03 Thread Haojun Bao
it is said in the manual that EXAMPLES Start Bash in a new window $ cygstart bash but what I get is: { b...@bhj1 /q } $cygstart bash Unable to start 'Q:\bash': The specified file was not found. I'm testing out cygwin-1.7, and it works fine on cygwin-1.5. Is this a designed featur

of and oc

2009-06-03 Thread Haojun Bao
cygstart is so useful that I want type less keys: alias of=cygstart #on cygwin-1.5 or: function of () { if which "$1" > /dev/null 2>&1; then if [[ "$1" == of ]]; then local file=`which cygstart`; else local file="`which

Re: Packaging bug (?): icu-3.8-5 / cygport problem

2009-06-03 Thread Yaakov (Cygwin/X)
On 11/05/2009 04:21, Reini Urban wrote: I have a two-level SRC_DIR="icu/source" here, and the assumed patchlevel is 2, where it should be 3. 2 + the number of / in SRC_DIR. Thanks for the report. Patch committed to trunk in r6676. Yaakov -- Unsubscribe info: http://cygwin.com/ml/#unsub

Re: Bug in cygport __postinst

2009-06-03 Thread Yaakov (Cygwin/X)
On 10/04/2009 12:35, Charles Wilson wrote: Yaakov wrote: Does the attached patch for 0.9.5 work for you? Yes, that works. Committed (finally!) to trunk in r6678. Yaakov -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.htm

RE: Cygwin SSH Multiple Users

2009-06-03 Thread Holikar, Sachin (ext)
Hello, Thanks for the info Corinna but ultimately we aint able to start the service somehow. And only way to start is to start with the user mac using /usr/sbin/sshd. But then no other user can connect via ssh to this machine. The work around we provided was copiying the ssh public keys of the