Another nodosfilewarning warning

2010-01-14 Thread Gary .
Okay, this is confusing me. What exactly is being checked for this wanring to be displayed? I get "cygwin warning: MS-DOS style path detected: c:\programme\develop\ruby\bin\inputrc.euro Preferred POSIX equivalent is (blah)" Okay. Except I can't find a file anywhere containing any mention of

Strange case of missing XWin

2010-01-14 Thread Fergus
I installed portable Cygwin to a low-capacity USB stick by "picking" Base and then extras from the selection menu. Amongst other things I picked up xterm, Lyx, TeX. (I've done this item-by-item selection a few times in the past but not recently; and never with 1.7.) Somehow I am still missing XW

Build problems using wxWidgets-2.8.10 / gcc-4.3.4 / cygwin-1.7.1 : multiple definitions of function select()

2010-01-14 Thread Schwerzmann Stephan
Hello all, I'm upgrading to 1.7.1 from the previous version which I was pretty good at keeping up to date; until recently, I had this combo in flawless use: - wxWidgets-2.8.10 / gcc-3.4.4 / cygwin-1.5.25 / WinXP-SP3 The new combo - wxWidgets-2.8.10 / gcc-4.3.4 / cygwin-1.7.1 / WinXP-SP3 Is giv

Re: Redirecting $TEMP or a certain directory to /tmp

2010-01-14 Thread Thomas Wolff
Thomas Wiedmann wrote: how can in Cygwin the directory, which is in Windows configured as $TEMP, or a certain other directory, be redirected to /tmp? man mount ... didn't work: I tried mount -f E:\Temp /tmp mount -f 'E:\Temp' /tmp to escape the backslash -- Thomas -- Problem reports:

Setup.exe 2.674 does not work properly if retry is used

2010-01-14 Thread Christian Franke
Current setup.exe does not work properly if retry is used. Steps to reproduce: 1. Run some Cygwin shell to keep cygwin1.dll locked. 2. Run setup.exe 2.674. 3. Select "Reinstall cygwin" and start installation. 4. Wait for message box "Unable to extract /usr/bin/cygwin1.dll -- the file is in use"

Re: regtool.exe won't install

2010-01-14 Thread Ken Jackson
On 01/14/2010 02:21 AM, David Arnstein wrote: I have upgraded from Cygwin 1.5 to 1.7. I find that the cygwin setup.exe program will not place regtool.exe into /usr/bin, or anywhere else that I can detect. I have tried to reinstall the base cygwin package from setup.exe, since regtool.exe seems t

Re: Strange case of missing XWin

2010-01-14 Thread Andy Koppe
2010/1/14 Fergus: > I installed portable Cygwin to a low-capacity USB stick by "picking" Base > and then extras from the selection menu. Amongst other things I picked up > xterm, Lyx, TeX. (I've done this item-by-item selection a few times in the > past but not recently; and never with 1.7.) > Some

Re: Problems with Perl script after upgrading to 1.7

2010-01-14 Thread Reini Urban
2010/1/14 Gary . : > I knew it was a mistake before I did it :( Never touch a running > system and all that. > > Anyway, since upgrading to 1.7 I get > " not a file at > /home/gary/.perl/lib/perl5/site_perl/5.10/Text/Language/Guess.pm line > 158" > > Should I upgrade something manually, or what? I

Re: Build problems using wxWidgets-2.8.10 / gcc-4.3.4 / cygwin-1.7.1 : multiple definitions of function select()

2010-01-14 Thread Greg Chicares
On 2010-01-14 10:15Z, Schwerzmann Stephan wrote: > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winsock.h:4 > 79: error: declaration of C function 'int select(int, _types_fd_set*, > _types_fd_set*, _types_fd_set*, const timeval*)' conflicts with > /usr/include/sys/select.h:3

Re: Perl, abs_path from Version 5.10.1-1 to 5.10.1-2 changed behaviour (no longer uses fast_path?)

2010-01-14 Thread Reini Urban
2010/1/12 Reini Urban: > Thorsten Gunkel schrieb: >> Hi *, >> I have a perl script, which stopped working, when I recently updated >> cygwin >> to 1.7. >> >> Here is a small demo script which shows the problem. It just calls >> abs_path() >> with different values and prints the output. It would be

Re: Redirecting $TEMP or a certain directory to /tmp

2010-01-14 Thread Corinna Vinschen
On Jan 14 11:28, Thomas Wolff wrote: > Thomas Wiedmann wrote: > >>>how can in Cygwin the directory, which is in Windows > >>>configured as $TEMP, or > >>>a certain other directory, be redirected to /tmp? > >> > >>man mount > > > >... didn't work: I tried > > mount -f E:\Temp /tmp > mount -f 'E:\Tem

Re: Setup.exe 2.674 does not work properly if retry is used

2010-01-14 Thread Corinna Vinschen
On Jan 14 11:01, Christian Franke wrote: > Current setup.exe does not work properly if retry is used. Known regression. Somebody has to fix this. http://cygwin.com/acronyms/#SHTDI http://cygwin.com/acronyms/#PTC Corinna -- Corinna Vinschen Please, send mails regarding Cygwin

Re: Build problems using wxWidgets-2.8.10 / gcc-4.3.4 / cygwin-1.7.1 : multiple definitions of function select()

2010-01-14 Thread Corinna Vinschen
On Jan 14 12:32, Greg Chicares wrote: > On 2010-01-14 10:15Z, Schwerzmann Stephan wrote: > > > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winsock.h:4 > > 79: error: declaration of C function 'int select(int, _types_fd_set*, > > _types_fd_set*, _types_fd_set*, const timeval*)'

Re: Another nodosfilewarning warning

2010-01-14 Thread Jeremy Bopp
Gary . wrote: > Okay, this is confusing me. What exactly is being checked for this > wanring to be displayed? > > I get > > "cygwin warning: > MS-DOS style path detected: c:\programme\develop\ruby\bin\inputrc.euro > Preferred POSIX equivalent is (blah)" > > Okay. Except I can't find a file a

Can't call expect from a Cygwin shell script.

2010-01-14 Thread Damo, David
Hi, I am trying to use Cygwin to launch expect from a simple shell script. In my case I am launching the shell script from a JSP, and the shell script gets called properly, however I can do everything from the shell script but call expect. For example touch ls, pwd, cd, echo all work, but expec

Re: Can't call expect from a Cygwin shell script.

2010-01-14 Thread Jeremy Bopp
Damo, David wrote: > Hi, > > I am trying to use Cygwin to launch expect from a simple shell script. In my > case I am launching the shell script from a JSP, and the shell script gets > called properly, however I can do everything from the shell script but call > expect. For example touch ls, pw

RE: Can't call expect from a Cygwin shell script.

2010-01-14 Thread Damo, David
No errors. :( Just does not run from the shell script when called from the JSP, however the script works when called from command prompt. This same configuration works in UNIX. We need to call expect from the shell script through the JSP to capture the output. David -Original Message-

Re: Can't call expect from a Cygwin shell script.

2010-01-14 Thread Jeremy Bopp
Damo, David wrote: > No errors. :( Just does not run from the shell script when called from the > JSP, however the script works when called from command prompt. This same > configuration works in UNIX. We need to call expect from the shell script > through the JSP to capture the output. Perhaps

RE: Can't call expect from a Cygwin shell script.

2010-01-14 Thread Damo, David
Thanks for the tips. I did check cygcheck -c and noticed expect was installed and it returns 0 when the script is run from the command prompt. Seems something specific only to the way the JSP is calling the shell. Maybe something is not passed. Thanks for your help, David -Original Messag

Re: Strange case of missing XWin

2010-01-14 Thread Thomas Wolff
Andy Koppe wrote: 2010/1/14 Fergus: I installed portable Cygwin to a low-capacity USB stick by "picking" Base and then extras from the selection menu. Amongst other things I picked up xterm, Lyx, TeX. (I've done this item-by-item selection a few times in the past but not recently; and never

Re: Strange case of missing XWin

2010-01-14 Thread Eric Blake
According to Thomas Wolff on 1/14/2010 7:15 AM: > Another note: Given the point above, I wonder why "bash" is listed in > the dependencies for xterm; xterm can be invoked with any other shell as > well ;-) bash _must_ be listed for anyone with a postinstall script, to guarantee that /bin/sh exists

RE: Can't call expect from a Cygwin shell script.

2010-01-14 Thread Damo, David
I reinstalled it and it works. It seems the driver was hanging before. Interesting how it worked expect from the JSP. David -Original Message- From: Damo, David Sent: Thursday, January 14, 2010 9:13 AM To: 'Jeremy Bopp'; cygwin@cygwin.com Subject: RE: Can't call expect from a Cygwin she

Re: gcc does not execute - why ?

2010-01-14 Thread Csaba Raduly
On Wed, Jan 13, 2010 at 10:04 PM, Luca Bottura wrote: > I have a puzzling behaviour trying to run gcc (and the other gnu compilers) > right after installing cygwing 1.7.1 on Pentium running XP, and adding gcc > (using the gcc installer helper for the selection of packages in setup). The > command

Re: Redirecting $TEMP or a certain directory to /tmp

2010-01-14 Thread Christopher Faylor
On Thu, Jan 14, 2010 at 01:37:30PM +0100, Corinna Vinschen wrote: >On Jan 14 11:28, Thomas Wolff wrote: >> Thomas Wiedmann wrote: >> >>>how can in Cygwin the directory, which is in Windows >> >>>configured as $TEMP, or >> >>>a certain other directory, be redirected to /tmp? >> >> >> >>man mount >>

permissions on mounted drives

2010-01-14 Thread John Yamokoski
Greetings, I found a similar message in the archives (http://sourceware.org/ml/cygwin/2008-06/msg00068.html), but I can't divine a solution to my problem from it. I have essentially the same problem: I have mounted some drives from a samba server on my Windows box. But in cygwin, I get "permission

Re: 1.7.1: problem with public key authentication on domain accounts

2010-01-14 Thread Andrew Ng
Corinna Vinschen cygwin.com> writes: > > On Jan 5 11:39, Bob Burger wrote: > > | Sonic Solutions burning software containing DLA component > > | Detected: Named process. > > > > I uninstalled this component, but the problem remains. > > Nevertheless, the problem must be some other BLODA. I h

Should LANG be set or left unset?

2010-01-14 Thread aputerguy
I notice that by default LANG is unset. Is it best to leave it that way or would it be better to set it to something like LANG=en-US.UTF-8 (or even C) Note I am using Cygwin ver 1.7 -- View this message in context: http://old.nabble.com/Should-LANG-be-set-or-left-unset--tp27165212p27165212.htm

dladdr and Dl_info

2010-01-14 Thread Vincent R.
Hi, I am trying to compile llvm on latest cygwin and I get an error about missing definitions for Dl_info and dladdr. const llvm::sys::Path& CIndexer::getClangPath() { // Did we already compute the path? if (!ClangPath.empty()) return ClangPath; // Find the location where this library

Re: 1.7.1: problem with public key authentication on domain accounts

2010-01-14 Thread Corinna Vinschen
On Jan 14 17:32, Andrew Ng wrote: > What I did was to change the group of my domain user to be "Administrators" in > "/etc/passwd" rather than the domain group. This stops the following error > from > occurring every time I try to ssh to my machine as my domain user: - > > 1 [main] -tcsh 13

Re: dumper gen core file with bad file name problem

2010-01-14 Thread Corinna Vinschen
On Jan 14 15:02, Huang Bambo wrote: > If there's non-english char in the program start path( /tmp/ ), the > generated core file's name will be wrong like the following: > > $ pwd > /tmp/ > [ba...@bambo-pc /tmp/] > $ ls > foo.c foo.exe foo.exe".core > [ba...@bambo-pc /tmp/] > > t

Re: Should LANG be set or left unset?

2010-01-14 Thread Corinna Vinschen
On Jan 14 09:43, aputerguy wrote: > > I notice that by default LANG is unset. LANG is set by default, see /etc/profile.d/lang.*. If there are no such files, see /etc/default/profile.d/lang.*. They come with the latest base-files package. > Is it best to leave it that way or would it be better

Re: Strange problem upgrading to 1.7.1-1

2010-01-14 Thread Csaba Raduly
Replying to myself: On Thu, Jan 14, 2010 at 3:41 PM, Csaba Raduly wrote: > Hi all, > I have been running 1.7.0-68 for a while. It was originally a fresh > install, in parallel to 1.5 (which is still running happily). > Today^WOn Monday, fresh back from holiday, I decided to upgrade (to 1.7.1-1).

Re: Should LANG be set or left unset?

2010-01-14 Thread Andy Koppe
Corinna Vinschen: > aputerguy: >> Is it best to leave it that way or would it be better to set it to something >> like LANG=en-US.UTF-8 (or even C) > > Not necessary.  As described in the User's Guide, the default locale > in the absence of a LC_ALL/LC_CTYPE/LANG variable is "C.UTF-8". I'd still r

cygwin 1.7 sshd - unable to login

2010-01-14 Thread LogicDaemon
Hi all. I am trying to set up ssh server as service in standalone Windows 2003. Sorry if this already was questioned but I did not find anything related in near maillist archive. After ssh-host-config I'm getting sshd service, which does not accept any logins (log "-d -d" attached, found nothing h

Bag LANG setting?

2010-01-14 Thread Jason Pyeron
When doing man grep it blurted out many <##> hex codes. If I unset LANG, LANGVAR I get extended ascii. I am using teraterm to connect via ssh. LANG=en_US.iso885915 LANGVAR=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 TERM=vt100 When using the same setting on RHEL4, the output seems proper. I cannot remembe

Re: cpan can't find its own tempfile

2010-01-14 Thread Reini Urban
Andrew Schulman schrieb: I'm trying to use cpan (perl 5.10.1-2) to install Spreadsheet::Read. When I try, I get a whole bunch of errors like e.g. Warning: expected file [/home/ASchulma/.cpan/sources/authors/01mailrc.txt.gz.tmp6012] doesn't exist Error while trying to rename '/home/ASchulma/.cpa

Re: dladdr and Dl_info

2010-01-14 Thread Reini Urban
Vincent R. schrieb: I am trying to compile llvm on latest cygwin and I get an error about missing definitions for Dl_info and dladdr. const llvm::sys::Path& CIndexer::getClangPath() { // Did we already compute the path? if (!ClangPath.empty()) return ClangPath; // Find the locati

Re: dladdr and Dl_info

2010-01-14 Thread Reini Urban
Reini Urban schrieb: cygwin has only dlsym() not the SGI DL_info + dladdr() yet. clang just needs it to get the path for the CIndex dll. This should be possible with the code in the LLVM_ON_WIN32 section, and convert then the path from win to posix with cygwin_conv_path(). Attached is the untes

Re: Bag LANG setting?

2010-01-14 Thread Andy Koppe
2010/1/14 Jason Pyeron : > When doing man grep it blurted out many <##> hex codes. If I unset LANG, > LANGVAR I get extended ascii. I am using teraterm to connect via ssh. What's 'extended ascii'? You need to ensure that your terminal is set to the same character set as Cygwin. The second of you

Re: cpan can't find its own tempfile

2010-01-14 Thread Andrew Schulman
> Andrew Schulman schrieb: > > I'm trying to use cpan (perl 5.10.1-2) to install Spreadsheet::Read. > > When I try, I get a whole bunch of errors like e.g. > > > > Warning: expected file > > [/home/ASchulma/.cpan/sources/authors/01mailrc.txt.gz.tmp6012] > > doesn't exist > > > > Error while trying

Re: dladdr and Dl_info

2010-01-14 Thread Yaakov (Cygwin/X)
On 14/01/2010 14:20, Reini Urban wrote: I have a working cygwin llvm and llvm-gcc, but had no time to produce a proper package yet. Attached are my cygport files and my local config. No patches were needed. But I haven't bothered to build clang yet, just the Clang llvmc plugin and llvm-gcc, whi

gcc4: FHS nit

2010-01-14 Thread Yaakov (Cygwin/X)
Dave, I just came across this in FHS[1]: > If a C preprocessor is installed, /lib/cpp must be a reference to it, > for historical reasons. Yes, it's nitpicking, and I personally don't really care, but adding a /lib/cpp -> /usr/bin/cpp-4.exe to the gcc4-core alternatives would make this compli

minor error from /etc/fstab

2010-01-14 Thread Paul McFerrin
I always get the following error when cygwin1.dll gets loaded for the first time: 1 [main] ksh 3000 read_flags: invalid fstab option - '0' Anyone know why I see such a message. On the flip side, every things else seems normal. Here is my mount tab: $ mount C:/cygwinV/bin on /usr/bin type

cygwin updates (was: dladdr and Dl_info)

2010-01-14 Thread Reini Urban
Yaakov (Cygwin/X) schrieb: On 14/01/2010 14:20, Reini Urban wrote: I have a working cygwin llvm and llvm-gcc, but had no time to produce a proper package yet. Attached are my cygport files and my local config. No patches were needed. But I haven't bothered to build clang yet, just the Clang ll

Re: 1.7.1 hangs on 000-cygwin-post-install.sh

2010-01-14 Thread David Sherrets
I too experienced the same problem. The fix for me was this... I have a newer Dell machine. The hardware encryption API DLL (wxvault.dll) interferes with many Cygwin packages. This can be fixed stopping this DLL from loading at startup. (use Autoruns from Microsoft Sysinternals at http://www.micro

SOLVED: cygwin programs hang or return STATUS_ACCESS_VIOLATION in Windows Vista/2008/7

2010-01-14 Thread Seth Wegner
No action or response requested, this is for the next hapless googler. If Windows DEP is set to "Turn on DEP for all programs and services except those I select" certain cygwin-dependent exe files (in my case, ssh.exe) will hang or return errors. The solution is to either select those program

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-14 Thread Eli Friedman
On Thu, Jan 14, 2010 at 1:45 PM, Reini Urban wrote: > Yaakov (Cygwin/X) schrieb: >> >> On 14/01/2010 14:20, Reini Urban wrote: >>> >>> I have a working cygwin llvm and llvm-gcc, >>> but had no time to produce a proper package yet. >>> Attached are my cygport files and my local config. >>> No patch

Re: Missing documentation on bash

2010-01-14 Thread Paul McFerrin
Folks: I'm still having problems getting these .bat files to work under MS scheduler. Okay, I have swore off .bat files and have installed "cron". No more interactions between MS-DOS and Cygwin scripting. These scripts are totally cygwin scripting. I'm a happy camper!! As far as trying "

Can't set variables in a while loop that is passed to the rest of the script.

2010-01-14 Thread Damo, David
Hi, I had a script that worked on UNIX, but on Cygwin it does not work. When I set a variable in a while loop I can't use it after the loop. However, this worked in UNIX. Any ideas why? All variables set after the done command are blank, but can be seen in the while loop. propfile=${SCRIPT_HOM

Re: Missing documentation on bash

2010-01-14 Thread DePriest, Jason R.
On Thu, Jan 14, 2010 at 4:32 PM, Paul McFerrin <> wrote: > Folks: > I'm still having problems getting these .bat files to work under MS > scheduler.  Okay, I have swore off .bat files and have installed "cron".  No > more interactions between MS-DOS and Cygwin scripting.  These scripts are > totall

Re: UPDATE on [1.7.1 hangs on 000-cygwin-post-install.sh]

2010-01-14 Thread David Sherrets
Re: UPDATE on [1.7.1 hangs on 000-cygwin-post-install.sh] I too experienced the same problem. The fix for me was this... I have a newer Dell machine. The hardware encryption API DLL (wxvault.dll) interferes with many Cygwin packages. This can be fixed stopping this DLL from loading at startup. (u

RE: Can't set variables in a while loop that is passed to the rest of the script.

2010-01-14 Thread Damo, David
Hi, I have fixed the problem. It seems in cygwin it spawns a subshell even under bash. I used a for loop instead and everything worked nicely. for line in `sed 's/\$/^/g' $propfile` do nvpair=$(echo $line | awk -F"=" '{print $1,$2}') set -- $nvpair if [ ! "$1" = "" ]; th

Re: Can't set variables in a while loop that is passed to the rest of the script.

2010-01-14 Thread Jeremy Bopp
On 1/14/2010 5:23 PM, Damo, David wrote: > Hi, > > I have fixed the problem. It seems in cygwin it spawns a subshell even under > bash. I used a for loop instead and everything worked nicely. > > for line in `sed 's/\$/^/g' $propfile` > do > nvpair=$(echo $line | awk -F"=" '{print $1,$2}')

Re: cygwin updates

2010-01-14 Thread Yaakov (Cygwin/X)
On 14/01/2010 15:45, Reini Urban wrote: On the cygwin mailinglist we came to some required clang patches. http://cygwin.com/ml/cygwin/2010-01/msg00587.html Sorry, untested, as I got unrelated linker errors. If I thought the patches were ready to be pushed upstream, I would have done so. I hav

Re: Can't set variables in a while loop that is passed to the rest of the script.

2010-01-14 Thread Matthias Andree
Am 15.01.2010, 00:40 Uhr, schrieb Jeremy Bopp : On 1/14/2010 5:23 PM, Damo, David wrote: Hi, I have fixed the problem. It seems in cygwin it spawns a subshell even under bash. I used a for loop instead and everything worked nicely. for line in `sed 's/\$/^/g' $propfile` do nvpair=$

Re: Can't set variables in a while loop that is passed to the rest of the script.

2010-01-14 Thread Eric Blake
According to Damo, David on 1/14/2010 3:39 PM: > Hi, > > I had a script that worked on UNIX, but on Cygwin it does not work. When I > set a variable in a while loop I can't use it after the loop. However, this > worked in UNIX. Any ideas why? Yes. ksh vs. bash. http://tiswww.case.edu/php/chet

Re: Redirecting $TEMP or a certain directory to /tmp

2010-01-14 Thread Thomas Wiedmann
mount -f E:/Temp /tmp Thanks, that worked. And, if you want this to be permanent you need to *put* it in /etc/fstab. My /etc directory in Cygwin has no fstab. Can I create it manually in Cygwin and does it work like in LINUX/UNIX or are additional steps be required? Thomas Wiedmann --