Re: bash scripting problem

2006-12-01 Thread Rob Walker
Gary R. Van Sickle wrote: From: Rob Walker Sent: Friday, December 01, 2006 5:29 PM Subject: Re: bash scripting problem Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Andrew Louie on 12/1/2006 3:17 PM: You have DOS line endings in these files. Use '

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Bob Rossi
On Fri, Dec 01, 2006 at 11:22:19AM -0800, Paul Eggert wrote: > Eric Blake <[EMAIL PROTECTED]> writes: > > > Patch below. Keep replies on the autoconf-patches list. > > Thanks. In retrospect it was a mistake to append the trailing > newline, I guess. I installed the following: it differs from y

RE: bash scripting problem

2006-12-01 Thread Igor Peshansky
On Fri, 1 Dec 2006, Gary R. Van Sickle wrote: > > From: Rob Walker > > Sent: Friday, December 01, 2006 5:29 PM > > Subject: Re: bash scripting problem > > > > Eric Blake wrote: > > > According to Andrew Louie on 12/1/2006 3:17 PM: > > > > > >>> You have DOS line endings in these files. Use 'd2u'

RE: bash scripting problem

2006-12-01 Thread Gary R. Van Sickle
> From: Rob Walker > Sent: Friday, December 01, 2006 5:29 PM > Subject: Re: bash scripting problem > > Eric Blake wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > According to Andrew Louie on 12/1/2006 3:17 PM: > > > >>> You have DOS line endings in these files. Use 'd2u' t

Re: 1.5.22: Error from anything using the cygwin dll

2006-12-01 Thread Larry Hall (Cygwin)
Hugh McMaster wrote: Hi Larry, and everyone, I would just like to add that this issue has been resolved by Agnitum, the developers of Outpost Firewall. Terrific! This list thanks you and them. :-) -- Larry Hall http://www.rfk.com RFK Partners, Inc.

Re: 1.5.22: Error from anything using the cygwin dll

2006-12-01 Thread Hugh McMaster
Hi Larry, and everyone, I would just like to add that this issue has been resolved by Agnitum, the developers of Outpost Firewall. Hugh On 29/11/06, Larry Hall (Cygwin) wrote: It messes with the network stack. This happens at install time, not run-time. That means that you have to un-install

Re: echo hi|egrep -v ho #no output

2006-12-01 Thread Tom Rodman
On Fri 12/1/06 15:57 PST cygwin@cygwin.com wrote: > Tom Rodman wrote: > > > setup.exe did not complain though. I know I have to update my > > It wouldn't, because it does not handle replacement of sh.exe directly. > That is done in the postinstall step. I'm still not clear how the > events tr

Re: getting rcp or scp to work on a home wireless network

2006-12-01 Thread DePriest, Jason R.
On 12/1/06, Charles D. Russell wrote: - - - - - - - - >8 - - - - - - - - - - Is there something else to configure? - - - - - - - - - - - 8< - - - - - - - Maybe? - - - - - - - - >8 - - - - - - - - - - Problem reports: http://cygwin.com/problems.html - - - - - - - - - - - 8< - - - - - -

Re: echo hi|egrep -v ho #no output

2006-12-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Brian Dessent on 12/1/2006 4:57 PM: > >> setup.exe did not complain though. I know I have to update my > > It wouldn't, because it does not handle replacement of sh.exe directly. > That is done in the postinstall step. The postinstal

Re: echo hi|egrep -v ho #no output

2006-12-01 Thread Brian Dessent
Tom Rodman wrote: > setup.exe did not complain though. I know I have to update my It wouldn't, because it does not handle replacement of sh.exe directly. That is done in the postinstall step. I'm still not clear how the events transpire that cause this postinstall to fail. And even if the po

Re: echo hi|egrep -v ho #no output

2006-12-01 Thread Tom Rodman
[back from shoveling out 2 driveways, a sidewalk, and a stuck car :->] On Fri 12/1/06 12:53 PST cygwin@cygwin.com wrote: > Tom Rodman wrote: > > > ~ $ echo hi|egrep -v ho > > WJFFM. > > Note that egrep is a /bin/sh script that just calls grep -E. So if your > sh.exe was in use or somethi

Re: bash scripting problem

2006-12-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Andrew Louie on 12/1/2006 3:29 PM: >> Eric Blake byu.net> writes: >> No, only run it on text files (it corrupts binary files, such as *.exe). >> > > Okay, I just re-read that message you originally posted, and there are some > vauge (to

Re: bash scripting problem

2006-12-01 Thread Rob Walker
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Andrew Louie on 12/1/2006 3:17 PM: You have DOS line endings in these files. Use 'd2u' to remove them. Thanks! I would have never known that, now, can i run d2u on every file in my installation? N

Re: bash scripting problem

2006-12-01 Thread Andrew Louie
>Eric Blake byu.net> writes: > No, only run it on text files (it corrupts binary files, such as *.exe). > Okay, I just re-read that message you originally posted, and there are some vauge (to me at least) instructions on how to configure bash to auto d2u all scripts that are run. I will try to m

Re: bash scripting problem

2006-12-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Andrew Louie on 12/1/2006 3:17 PM: > >> You have DOS line endings in these files. Use 'd2u' to remove them. >> > > Thanks! I would have never known that, > > now, can i run d2u on every file in my installation? No, only run it on tex

Re: bash scripting problem

2006-12-01 Thread Andrew Louie
Larry Hall (Cygwin cygwin.com> writes: > You have DOS line endings in these files. Use 'd2u' to remove them. > Thanks! I would have never known that, now, can i run d2u on every file in my installation? it seems some scripts call other scripts and then those fail. is it safe to run d2u on e

Re: bash scripting problem

2006-12-01 Thread Larry Hall (Cygwin)
Andrew Louie wrote: while trying to run some configure scripts i get this error: : command not found3: ./configure: line 21: syntax error near unexpected token `elif' '/configure: line 21: `elif test -n "${BASH_VERSION+set}" && (set -o posix)>/dev/null 2>&1; then additional I have written a

Re: bash scripting problem

2006-12-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Andrew Louie on 12/1/2006 2:43 PM: > while trying to run some configure scripts i get this error: > > : command not found3: http://cygwin.com/ml/cygwin-announce/2006-11/msg00065.html You are the victim of DOS line endings on a binary mo

Re: Cygwin, gcc and processor-specific options

2006-12-01 Thread Brian Dessent
Tim Chan wrote: > Hi! I am using gcc and g++ on cygwin. How come I can't > use the machine and processor specific options such as > -68hc12. How can I take advantage of m68hc11.md? The gcc included with Cygwin is a native gcc, which means it creates executables that run under Windows on the IA-32

bash scripting problem

2006-12-01 Thread Andrew Louie
while trying to run some configure scripts i get this error: : command not found3: ./configure: line 21: syntax error near unexpected token `elif' '/configure: line 21: `elif test -n "${BASH_VERSION+set}" && (set -o posix)>/dev/null 2>&1; then additional I have written a simple script that con

Cygwin, gcc and processor-specific options

2006-12-01 Thread Tim Chan
Hi! I am using gcc and g++ on cygwin. How come I can't use the machine and processor specific options such as -68hc12. How can I take advantage of m68hc11.md? -Tim Chan Want to start your own business? Learn h

Re: Gnupg problem

2006-12-01 Thread Christopher Faylor
On Fri, Dec 01, 2006 at 03:57:30PM -0500, Volker Quetschke wrote: >Dave Korn wrote: >> On 01 December 2006 18:35, Christopher Faylor wrote: >> >>> On Fri, Dec 01, 2006 at 12:54:39PM -0500, David Barr wrote: I tried installing Gnupg 1.4.5-1 on a new system with the base Cygwin install and

[ANNOUNCEMENT] Updated: cron-3.0.1-21

2006-12-01 Thread Corinna Vinschen
I have updated the version of cron on cygwin.com to 3.0.1-21. Thanks to Pierre Humblet for the following contributions: Add warning to set MAILTO="" if no sendmail is installed. Fix a bash incompatibility in cron-config. To update your installation, click on the "Install Cygwin now" link on

Re: Gnupg problem

2006-12-01 Thread Volker Quetschke
Dave Korn wrote: > On 01 December 2006 18:35, Christopher Faylor wrote: > >> On Fri, Dec 01, 2006 at 12:54:39PM -0500, David Barr wrote: >>> I tried installing Gnupg 1.4.5-1 on a new system with the base Cygwin >>> install and a couple other packages. When I tried to run gpg, it >>> would exit wi

Re: echo hi|egrep -v ho #no output

2006-12-01 Thread Brian Dessent
Tom Rodman wrote: > ~ $ echo hi|egrep -v ho WJFFM. Note that egrep is a /bin/sh script that just calls grep -E. So if your sh.exe was in use or something went wrong in the bash postinstall you may not have a functioning sh.exe. Try "grep -E" and if this works but egrep does not then check yo

Re: echo hi|egrep -v ho #no output

2006-12-01 Thread Tom Rodman
just a "sorry" : I forgot to make the cygcheck.out an attachment -- 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/

echo hi|egrep -v ho #no output

2006-12-01 Thread Tom Rodman
Just updated cygwin today, and "egrep -v" is not working for me: ~ $ date;uname -a Fri Dec 1 14:26:28 CST 2006 CYGWIN_NT-5.0 OurServer121 1.5.22(0.156/4/2) 2006-11-13 17:01 i686 Cygwin ~ $ echo hi|egrep -v ho ~ $ cygcheck -c grep Cygwin Package Information Package Versi

Re: [Packaging bug] Re: [ANNOUNCEMENT] Updated: netpbm-10.33-1

2006-12-01 Thread David Arnstein
On Fri, Dec 01, 2006 at 10:51:51AM +0100, Dr. Volker Zell wrote: > The following two files have DOS line endings: > > /etc/defaults/etc/manweb.conf > /etc/postinstall/netpbm.sh On my machine, it is netpbm.sh.done that has CRLF line terminations. I also see these CRLF text files: gtk-doc.sh.done

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Paul Eggert
Eric Blake <[EMAIL PROTECTED]> writes: > Patch below. Keep replies on the autoconf-patches list. Thanks. In retrospect it was a mistake to append the trailing newline, I guess. I installed the following: it differs from your patch only in adding more commentary. 2006-12-01 Eric Blake <[EMAI

Re: getting rcp or scp to work on a home wireless network

2006-12-01 Thread Brian Dessent
"Charles D. Russell" wrote: > What is the easiest way to get rcp or scp working on a simple home > wireless LAN? I get: rcp is old, deprecated, and insecure. Don't waste your time with that one, *especially* on a wireless connection. > $ scp arctime [EMAIL PROTECTED]:testfile > ssh: connect to

Re: getting rcp or scp to work on a home wireless network

2006-12-01 Thread Larry Hall (Cygwin)
Charles D. Russell wrote: What is the easiest way to get rcp or scp working on a simple home wireless LAN? I get: $ scp arctime [EMAIL PROTECTED]:testfile ssh: connect to host sony06 port 22: Connection refused $ rcp arctime [EMAIL PROTECTED]:testfile sony06:Connection refused I have set up

Re: Gnupg problem

2006-12-01 Thread René Berber
Christopher Faylor wrote: > On Fri, Dec 01, 2006 at 12:54:39PM -0500, David Barr wrote: >> I tried installing Gnupg 1.4.5-1 on a new system with the base Cygwin >> install and a couple other packages. When I tried to run gpg, it >> would exit without any output or any error message. I tried runn

getting rcp or scp to work on a home wireless network

2006-12-01 Thread Charles D. Russell
What is the easiest way to get rcp or scp working on a simple home wireless LAN? I get: $ scp arctime [EMAIL PROTECTED]:testfile ssh: connect to host sony06 port 22: Connection refused $ rcp arctime [EMAIL PROTECTED]:testfile sony06:Connection refused I have set up /etc/hosts, .rhosts, and

RE: Gnupg problem

2006-12-01 Thread Dave Korn
On 01 December 2006 18:35, Christopher Faylor wrote: > On Fri, Dec 01, 2006 at 12:54:39PM -0500, David Barr wrote: >> I tried installing Gnupg 1.4.5-1 on a new system with the base Cygwin >> install and a couple other packages. When I tried to run gpg, it >> would exit without any output or any e

Re: Gnupg problem

2006-12-01 Thread Christopher Faylor
On Fri, Dec 01, 2006 at 12:54:39PM -0500, David Barr wrote: >I tried installing Gnupg 1.4.5-1 on a new system with the base Cygwin >install and a couple other packages. When I tried to run gpg, it >would exit without any output or any error message. I tried running >strace on the program, and I g

Gnupg problem

2006-12-01 Thread David Barr
I tried installing Gnupg 1.4.5-1 on a new system with the base Cygwin install and a couple other packages. When I tried to run gpg, it would exit without any output or any error message. I tried running strace on the program, and I got an error message about a missing cygminires.dll, so I instal

Re: Windows NTFS UCS2 characters

2006-12-01 Thread Igor Peshansky
On Thu, 30 Nov 2006, Igor Peshansky wrote: > On Thu, 30 Nov 2006, Brian Dessent wrote: > > > John Love-Jensen wrote: > > > > > I can always fallback to use scripts for CMD.EXE to manipulate these > > > files; but I'd rather be able to do it in my Bash shell scripts. > > > > > > Please don't sugges

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Christopher Faylor on 12/1/2006 7:59 AM: > > I usually just set the appropriate "cache" variable ahead of time: > > ac_cv_dev_zero=yes ./configure Except that mingw doesn't really have /dev/zero, and you should set environment variables

Re: autoconf

2006-12-01 Thread Karl M
Hi All... Does set -o igncr export SHELLOPTS before building it help? Can you ignore the by bash later? ...Karl From: René Berber Subject: Re: autoconf Date: Thu, 30 Nov 2006 22:32:16 -0600 René Berber wrote: > Bob Rossi wrote: > [snip] >> Here's the full story. I'm trying to build apr. It

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Christopher Faylor
On Fri, Dec 01, 2006 at 09:22:46AM -0500, Bob Rossi wrote: >On Fri, Dec 01, 2006 at 07:06:06AM -0700, Eric Blake wrote: >> According to Bob Rossi on 12/1/2006 6:57 AM: >> > CPPFLAGS="-mno-cygwin" CFLAGS="-mno-cygwin -O0" >> > ./configure --build=mingw32 --enable-experimental-libtool >> >> EVIL.

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Bob Rossi
On Fri, Dec 01, 2006 at 07:06:06AM -0700, Eric Blake wrote: > According to Bob Rossi on 12/1/2006 6:57 AM: > > CPPFLAGS="-mno-cygwin" CFLAGS="-mno-cygwin -O0" > > ./configure --build=mingw32 --enable-experimental-libtool > > EVIL. --build is for the platform you are BUILDING on (ie. cygwin), NO

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Bob Rossi
> > Well, I downloaded the autoconf sources, but couldn't find the > > AC_CHECK_SIZEOF code. I did find it in /usr/share/autoconf, but when I > > modify it, the system autoconf behavior doesn't change. Any ideas? > > Patch below. Keep replies on the autoconf-patches list. OK, this patch works pe

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bob Rossi on 12/1/2006 6:57 AM: > CPPFLAGS="-mno-cygwin" CFLAGS="-mno-cygwin -O0" > ./configure --build=mingw32 --enable-experimental-libtool EVIL. --build is for the platform you are BUILDING on (ie. cygwin), NOT the platform you are

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Ralf Wildenhues
* Eric Blake wrote on Fri, Dec 01, 2006 at 02:43:10PM CET: > According to Bob Rossi on 12/1/2006 5:28 AM: > > > > I really think this is the current best solution, that is, to modify > > autoconf to not use cat. Either that, or simply don't put the \n in the > > AC_CHECK_SIZEOF macro. I'm not sure

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Bob Rossi
On Thu, Nov 30, 2006 at 11:57:41PM -0500, Igor Peshansky wrote: > On Thu, 30 Nov 2006, Eric Blake wrote: > > Or experiment with the recent add-on to cygwin's bash, where exporting > > SHELLOPTS with the cygwin-specific shell option igncr set will tell > > subsequent /bin/sh invocations to strip \r

Re: GPGME 1.0.3 Build Problem

2006-12-01 Thread Marcus Brinkmann
At Thu, 30 Nov 2006 22:17:23 -0600, "Yaakov S (Cygwin Ports)" <[EMAIL PROTECTED]> wrote: > > Then, GPGME builds the final library from the thread module, adding > > the non-installed libgpgme-real.la to the bundle via LIBADD. > > > > Ok, that's not really clean. The problem is that now the order

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bob Rossi on 12/1/2006 5:28 AM: >>> And the fact that you are now telling configure the truth that you are >>> cross-compiling, even though the cross binaries are executable, may be >>> enough for autoconf to try harder for discovering how

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bob Rossi on 12/1/2006 5:28 AM: > >>> Or experiment with the recent add-on to cygwin's bash, where exporting >>> SHELLOPTS with the cygwin-specific shell option igncr set will tell >>> subsequent /bin/sh invocations to strip \r from comma

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Igor Peshansky
On Fri, 1 Dec 2006, Bob Rossi wrote: > On Thu, Nov 30, 2006 at 11:57:41PM -0500, Igor Peshansky wrote: > > On Thu, 30 Nov 2006, Eric Blake wrote: > > > > > According to Bob Rossi on 11/30/2006 7:32 PM: > > > > > > > AC_CHECK_SIZEOF does these two things on cygwin with autoconf 2.60. > > > > fpri

Re: cygwin -mno-cygwin AC_CHECK_SIZEOF

2006-12-01 Thread Bob Rossi
On Thu, Nov 30, 2006 at 11:57:41PM -0500, Igor Peshansky wrote: > On Thu, 30 Nov 2006, Eric Blake wrote: > > > According to Bob Rossi on 11/30/2006 7:32 PM: > > > > > AC_CHECK_SIZEOF does these two things on cygwin with autoconf 2.60. > > > fprintf(f, "%d\n", sizeof($1)); > > > which prints "4\r

Re: isnan() causes segfault

2006-12-01 Thread Eric Lilja
Lev Bishop skrev: On 11/30/06, Lev Bishop wrote: Something for the newlib folks to deal with, I suppose. And they took my suggestion: http://sources.redhat.com/ml/newlib/2006/msg00938.html Lev Thanks for debugging and reporting this to the newlib team, Mr Bishop! / E -- Unsubscribe inf

[Packaging bug] Re: [ANNOUNCEMENT] Updated: netpbm-10.33-1

2006-12-01 Thread Dr. Volker Zell
> Yaakov S writes: > The following package has been updated in the Cygwin net release: > *** netpbm-10.33-1 The following two files have DOS line endings: /etc/defaults/etc/manweb.conf /etc/postinstall/netpbm.sh Ciao Volker -- Unsubscribe info: http://cygwin.com/ml/#unsubsc

Re: backup privileges

2006-12-01 Thread Corinna Vinschen
On Nov 30 21:16, Eric Blake wrote: > I still think a > cygwin flag would be useful. I still don't think a flag would be a good idea. It's just another source of confusion. However, if you want it, provide a patch, as long as the default is "off". Corinna -- Corinna Vinschen

Re: Accessing ram drive as raw disk volume fails?

2006-12-01 Thread Corinna Vinschen
On Dec 1 02:31, Dave Korn wrote: > On 30 November 2006 19:56, Igor Peshansky wrote: > > On Thu, 30 Nov 2006, Dave Korn wrote: > > > >> Hi all, > >> > >> I'm trying to use dd to dump stuff to a usb flash drive (i.e. mass > >> [...] > It was. The strace showed: > >91 15071 [main] d

Re: [ANNOUNCEMENT] Updated: mpfr-2.2.1-1 libmpfr1-2.2.1-1 libmpfr-devel-2.2.1-1

2006-12-01 Thread Angelo Graziosi
I want to flag that perhaps something went wrong in uploading: the new packages are on the mirrors but the setup.ini is still dated 20061130 12:10. If this is not the case, sorry for this post. Cheers, Angelo. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem rep

[ANNOUNCEMENT] Updated: mpfr-2.2.1-1 libmpfr1-2.2.1-1 libmpfr-devel-2.2.1-1

2006-12-01 Thread Billinghurst, David \(RTATECH\)
The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding). It is based on the GMP multiple-precision library. This is a new minor upstream release. The Cygwin release is created from the vanilla sources. All 117 tests i