Bash local builtin and redirection problems

2002-09-23 Thread Ray Pimm

Thanks Randall and Michael

#!/bin/bash instead of #!/bin/sh did the trick!

>Ray,
>
>Were I to guess why "local" and the I/O redirection syntax _appear_ to be 
>missing when your script executes, I'd guess that it's because the 
>script(s) in question begins with this:
>
>#!/bin/sh
>
>Under Cygwin, /bin/sh is Ash, not BASH.
>
>Randall Schulz
>Mountain View, CA USA
>
>
>At 18:00 2002-09-21, Ray Pimm wrote:
>>I have successfully installed Cygwin on Windows 2000 SP3. However, when I 
>>attempt to run a bash shell script that works fine under Linux, two 
>>problems occur.
>>
>>1. The bash "local" builtin does not seem to work. Error message is 
>>"local: not found".
>>
>>2. Both shorthand formats "&>file" and ">&file" for redirecting standard 
>>output and standard error do not work. However, the longhand equivalent 
>>">file 2>&1" does work.
>>
>>Strangely, both of the above features work from the bash command line 
>>(but not from a shell script).
>>
>>Cygwin version is 1.3.12-4.
>>
>>Bash version is 2.05b-5. An earlier version 2.05a-3 also fails.
>>
>>Ray



--
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: Promoting rxvt (non-X11)

2002-09-23 Thread John Vincent

Hi,

Regarding rxvt and ^H verses ^? a better solution
is to start rvxt with a command line that includes
the option -backspacekey ^H rather than use stty.

You can do this in a windows shortcut and also in
a shell alias.

I also have a file in my home directory called .inputrc which
is used to configure the key used by bash, ftp, and some other
programs, I use the following entries (literal text) which mean
I can use the delete key as well as the backspace key, and other
keys, try it and see

"\e[3~": delete-char
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[H": beginning-of-line
"\e[F": end-of-line
"\e[7~": beginning-of-line
"\e[8~": end-of-line
set convert-meta off
set output-meta on

The convert-meta and output-meta settings are used so I
can use the (£) UK pound symbol. I am in the UK and have
a UK keyboard.

I hope this is helpful.

/John Vincent.


>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Promoting rxvt (non-X11)
>Date: Mon, 23 Sep 2002 10:06:40 +1000 (EST)
>
>Suggestion: include a shortcut for rxvt as well as for Cygwin, as part
>of setup.exe?
>
>rxvt is an excellent replacement for the Windows command window -
>except that programs like vi seem to be expecting ^H for backspace,
>whereas the key is actually sending a Del (^?), it seems.
>
>The solution seems simple: just execute stty -erase ^?.
>
>So, I have set up a shortcut for rxvt:
>
> C:\cygwin\bin\rxvt.exe -sr -sk -title rxvt -e bash --login
>
>and modified my .profile to include:
>
>   if [ "$COLORTERM" = "rxvt-xpm" ]
>   then
>   stty erase ^?
>   fi
>
>That covers everything except rxvt windows started from the command
>line.  Does anyone know why rxvt has this ^H vs ^? behaviour, and xterm
>doesn't?
>
>luke
>
>
>
>
>
>--
>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/




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
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: Getting MAC address within C/C++-program in Windows2000

2002-09-23 Thread John Vincent

Hi,

I think there is a psycological problem here (not with
the individuals concerned, of course, I'm generalising
about humanity as a whole). The problem is that since
it's less effort to read a short email than a long one,
people assume that the short email is less informative
than the long one, end result: people pay attention to
the email that speculates at length on possible solutions,
while ignoring the one-liner with the "definitive" answer.
It happens a lot, not just on this list.

That's my opinion, anyhow :-))

/John Vincent.



>From: Nicholas Wourms <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Getting MAC address within C/C++-program in Windows2000
>Date: Sat, 21 Sep 2002 20:33:45 -0700 (PDT)
>
>
>--- Christopher Faylor <[EMAIL PROTECTED]> wrote:
> > On Sat, Sep 21, 2002 at 10:06:56AM -0700, Nicholas Wourms wrote:
> > >Wouldn't this be worth adding to the cygwin library?  Just a
> > thought,
> > >because glibc has similar capabilities...
> >
> > What do you want to add?  The ioctl interface mentioned by Corinna
> > is
> > already IN cygwin, as mentioned here:
> >
> > http://cygwin.com/ml/cygwin/2002-09/msg00531.html
> >
> > And, of course, even more pertinent with every message sent to this
> > thread, is this message:
> >
> > http://cygwin.com/ml/cygwin/2002-09/msg00573.html
>
>OK, point taken, I was thinking this was something it wasn't.  My
>mistake...
>
>Cheers,
>Nicholas
>
>__
>Do you Yahoo!?
>New DSL Internet Access from SBC & Yahoo!
>http://sbc.yahoo.com
>
>--
>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/




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
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: expat installation problem

2002-09-23 Thread Gerrit P. Haase

Andreas schrieb:

> Hello,

> I encountered problems concerning the installation of expat (1.95.4-1).
> After
> $ tar xjvf expat-1.95.4-1-src.tar.bz2
> $ ./expat-1.95.4-1.sh all

> the script breaks with:
> ...
> + reconf-cygwin.sh
> reconf-cygwin.sh: not found
> + STATUS=127
> + exit 127

> But reconf-cygwin.sh is in the expat-1.95.4/ dir.
> Is there a way to complete the installation of the package properly?

1. Install the binary package.
2. It is a bug in the script. Fix:
   Add . to your path or change reconf-cygwin.sh to ./reconf-cygwin.sh
   in the script (expat-1.95.4-1.sh).


Gerrit
-- 
=^..^=


--
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: expat installation problem

2002-09-23 Thread Gerrit P. Haase

Michael schrieb:

> On Sun, 22 Sep 2002 11:49:57 +0200 Andreas <[EMAIL PROTECTED]> wrote:

>> I encountered problems concerning the installation of expat (1.95.4-1).
>> After
>> $ tar xjvf expat-1.95.4-1-src.tar.bz2
> cd expat-1.95.4 # ?
>> $ ./expat-1.95.4-1.sh all
>> 
>> the script breaks with:
>> ...
>> + reconf-cygwin.sh
>> reconf-cygwin.sh: not found
>> + STATUS=127
>> + exit 127
>> 
>> But reconf-cygwin.sh is in the expat-1.95.4/ dir.
>> Is there a way to complete the installation of the package properly?

> Check the permissions on reconf-cygwin.sh.
> Change "reconf-cygwin.sh" to "./reconf-cygwin.sh" or add "." to $PATH.

> Why didn't you use setup.exe to install the source files?

That won't change the bug in the script:(-


Gerrit
-- 
=^..^=


--
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: compiling netcat

2002-09-23 Thread Bjoern Kahl AG Resy


 Hallo!

 This has been discussed a few weks ago. Please see the archives
 at http://sources.redhat.com/ml/cygwin/2002-09/msg00187.html


On Mon, 23 Sep 2002, Alexander Gottwald wrote:
> On Mon, 23 Sep 2002, Mario Ohnewald wrote:

> > I want to get netcat running in under cygwin.
> > I guess you just have to compile it like in a normal UNIX enviorment.
>
> wrong mailing list. Forwarded to [EMAIL PROTECTED]
>
> > $ make linux
> > make -e nc - --unix XFLAGS='-DLINUX' STATIC=-static

 [ ... ]

> > make[1]: *** [nc] Error 1
> > make[1]: Leaving directory `/home/install'
> > make: *** [linux] Error 2
> >
> > Can someone give me a hint/tip?


 Bjoern

-- 
+-+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+-+



--
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: Shed light on Tetex packages

2002-09-23 Thread Jan Nieuwenhuizen

"Schaible, Jörg" <[EMAIL PROTECTED]> writes:

> looking at the currently available Tetex packages I wonder whether
> it is really good to follow the "install everything" method, since
> they seem to be not disjuctive.

That's right, but there should be not much harm.  See below.

> Reading the announcement in
> http://sources.redhat.com/ml/cygwin-announce/2002-08/msg7.html I
> seem to have following options:
>
> Install either
> - tetex-bin, tetex-base and libkpathsea3
> or
> - tetex-tiny

No.  Apparently my message was not as clear as I thought it was.  You
always need tetex-bin and libkpathsea3.  In addition, you need a texmf
tree.  You can get one by installing tetex-tiny or tetex-base.
It doesn't matter too much, as this is taken care of automagically by
dependencies.

> You might also install optionally:
> - tetex-doc
> - tetex-extra
> - tetex-devel
> - tetex-x11

Yes.  The reason for this is that tetex is very big (have you looked
at the sizes of the packages?)  About every distribution of tetex
offers packaging in multiple parts.

> And you have an install helper:
> - tetex

Yes.  You want tetex, simply select the 'tetex' package: and done.

> Additionally there are "upgrade helpers":
> - texmf-*
> - tetex-beta

Yes, this is where it gets hairy.  As you may have noticed, I have
asked to remove these.  These packages took care of a smooth upgrade
from the previous tetex packaging to the new one.

> I did not found any doc, readme or FAQ that explains exactly the
> dependency of all these packages.

For users it should 'just work'.  For developers: use the source,
dependencies are listed in the setup.hint files.

> Looking at the behaviour of setup
> the dependecies become clearer, but not anything is obvious. For a
> new installation of Cygwin I assume that - none of the texmf-* or
> the tetex-beta packages should be chosen - either tetex-base or
> tetex-tiny should be chosen, tetex-bin and libkpathsea3 are selected
> automatically

Correct.

> - tetex-extra is only optional if tetex-base was chosen - tetex-x11
> is only optional if tetex-tiny was chosen - tetex-doc and
> tetex-devel are optional independent of the "basic" choice - whats
> package "tetex" for? It seems again incompatible with the tetex-base
> choice.

I don't understand this.

Anyway: tetex-tiny overlaps with tetex-base (and possibly
tetex-extra).  Ideally, this should be handled by alternative
'requires:' and 'conflicts:', but setup.exe doesn't do that, yet.

The trick is that only the selection of files in the packages is
changed, the files themselves are indentical.  Configuration issues
are taken care of during postinstall.  The only thing you should not
do, is install both, and then remove one of them.  If you want to do
that, you should re-install the remaining package (tetex-base or
tetex-tiny).

Maybe tetex-tiny should simply be removed until setup can handle this,
and we should simple force the 15MB download upon everyone who uses
tex?  I was trying to be low-bandwith friendly.

> It is not clear, what happens if I "accidently" activate tetex-base
> *and* tetex-tiny.

You should be fine.

> Even worse, it seems that uninstalling tetex-tiny will destroy also
> tetex-base and vice versa.

Yes, that's true.  Don't do that.

> It would be fine if one could read at least in the FAQ about the
> possible choices and its consequences.

I'll add this note to the announce message, and include it in the
README for the next release:

NOTE: The tetex-tiny and tetex-base packages overlap.  If you
  choose for a full tetex installation (or just install
  everything), both will be installed, which should be fine.
  Please don't uninstall one of them, there should be no need
  to do so.  If you do, you must reinstall the other.

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


--
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 to install packages...

2002-09-23 Thread John Vincent

Hi,

It's always a bit risky saying what "most" software
does, but the software I've installed on MS Windows
tends to do one of two things:
1. The "setup" program detects if it's doing an initial
setup, if not, it presents options for 'update 'or 'uninstall'.
2. The "setup" program installs menu options to 'update'
or 'uninstall' as part of the installation.

If the cygwin setup does not do either of these things, then
it's not going to be "intuitive".

/John Vincent.

>From: Soren A <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: How to install packages...
>Date: Sat, 21 Sep 2002 03:24:46 + (UTC)
>
>Christopher Faylor <[EMAIL PROTECTED]> wrote in
>[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
>
> > We've seen it more than once.  People don't understand that the same
> > program they used to install cygwin can be used to update their
> > installation with new packages.
>
>Chris is correct in this observation.
>
>As far as I could could parse the subsequent articles, there was some
>derision expressed inreaction to the idea of updating the main Cygwin
>page to clarify this. There shouldn't be derision, IMHO.
>
>*Most* software that MS Windows users get exposed to, that is
>distributed as a zip archive and that typically has a file named
>"setup.exe" inside that archive, works in such a way that the setup.exe
>is _only_ for doing the one-time installation of the program files (and
>writing of Registry entries if that is involved, and misc other things
>like mangling the machine's autoexec.bat might happen too...). The user
>might as well delete it after that (WinZip usually will do so
>automatically for it and everything else that was part of the
>installation system). Point: It is completely counter-intuitive for *MS
>Windows users* (as opposed to those fully initiated into the *nix
>priesthood somewhere along the line) to expect to run a "setup.exe"
>program more than once (Unless they've reformatted their HD as Windoze
>tends to periodically require).
>
>It's always been a little problem that the particular name "setup.exe"
>was chosen for the Cygwin installation manager (IMHO). You don't run
>"setup" on a Debian GNU/Linux box and you don't run "setup" on a RedHat
>Linux box (You run 'apt-get ...' or 'dselect ...' and 'rpm ...'). These
>are distinctively-named systems. Lacking ambiguity. 'CINMAN' anyone? It has
>a nice, provocative ring to it... ('CIM' was already taken, long ago, in
>the days of yore before AOL swallowed the World...)
>
>Of course, it's too late now to do anything about the name of
>"setup.exe". *Except* adding an explanation that "you'll use it to
>change or update your Cygwin system installation on an ongoing basis"
>for the main Cygwin page, right under the "Install Cygwin Now" icon(s)
>or close by.
>
>   Soren A
>
>
>
>--
>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/




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
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: compiling netcat

2002-09-23 Thread Alexander Gottwald

On Mon, 23 Sep 2002, Mario Ohnewald wrote:

> Hello!
> I want to get netcat running in under cygwin.
> I guess you just have to compile it like in a normal UNIX enviorment.

wrong mailing list. Forwarded to [EMAIL PROTECTED]
 
> 
> $ make linux
> make -e nc - --unix XFLAGS='-DLINUX' STATIC=-static
> make[1]: Entering directory `/home/install'
> cc -O -s  -DLINUX -static -o nc netcat.c
> /cygdrive/d/DOCUME~1/MOHNEW~1/LOCALS~1/Temp/ccyFaes1.o(.text+0x1c08):netcat.
> c: undefined reference to `res_init'
> Info: resolving _h_errno by linking to __imp__h_errno (auto-import)
> collect2: ld returned 1 exit status
> make[1]: *** [nc] Error 1
> make[1]: Leaving directory `/home/install'
> make: *** [linux] Error 2
> 
> Can someone give me a hint/tip?
> 
> Thanks, Mario
> 
> 


--
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: Shed light on Tetex packages

2002-09-23 Thread "Schaible, Jörg"

Hi Jan,

first of all: Thank you for clearing things up.

[snip]

> > - tetex-extra is only optional if tetex-base was chosen - tetex-x11
> > is only optional if tetex-tiny was chosen - tetex-doc and
> > tetex-devel are optional independent of the "basic" choice - whats
> > package "tetex" for? It seems again incompatible with the tetex-base
> > choice.
> 
> I don't understand this.

1) I was not sure about the tetex package itself (cleared now, although it seems now, 
that is is not different to tetex-tiny at all)
2) the problem is, that some of the optional packages reference tetex-tiny and others 
reference tetex-base fpr dependency. Therefore you might end with an installation of 
both alternative packages without *explicitly* selecting them both. I assume now, that 
the dependency references tetex-tiny unless the optional package needs the full stuff 
from tetex-base.

> I'll add this note to the announce message, and include it in the
> README for the next release:
> 
> NOTE: The tetex-tiny and tetex-base packages overlap.  If you
>   choose for a full tetex installation (or just install
>   everything), both will be installed, which should be fine.
>   Please don't uninstall one of them, there should be no need
>   to do so.  If you do, you must reinstall the other.

OK. This will help definately tetex dummies as me :)

Regards,
Jörg

--
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: compiling netcat

2002-09-23 Thread Nenad Antic (EAB)


Yup, Bjoern fixed it for cygwin. In addition I added the debian patches for netcat.

Here: http://cygwin.com/ml/cygwin/2002-09/msg00510.html and here
http://cygwin.com/ml/cygwin/2002-09/msg00510/netcat_1.10-21_cygwin.diff.gz

regards,
/Nenad


> -Original Message-
> From: Bjoern Kahl AG Resy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 23, 2002 2:21 PM
> To: [EMAIL PROTECTED]
> Cc: Alexander Gottwald
> Subject: Re: compiling netcat
> 
> 
> 
>  Hallo!
> 
>  This has been discussed a few weks ago. Please see the archives
>  at http://sources.redhat.com/ml/cygwin/2002-09/msg00187.html
> 
> 
> On Mon, 23 Sep 2002, Alexander Gottwald wrote:
> > On Mon, 23 Sep 2002, Mario Ohnewald wrote:
> 
> > > I want to get netcat running in under cygwin.
> > > I guess you just have to compile it like in a normal UNIX 
> enviorment.
> >
> > wrong mailing list. Forwarded to [EMAIL PROTECTED]
> >
> > > $ make linux
> > > make -e nc - --unix XFLAGS='-DLINUX' STATIC=-static
> 
>  [ ... ]
> 
> > > make[1]: *** [nc] Error 1
> > > make[1]: Leaving directory `/home/install'
> > > make: *** [linux] Error 2
> > >
> > > Can someone give me a hint/tip?
> 
> 
>  Bjoern
> 
> -- 
> +-
> +
> | Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and 
> Robotics (RESY) |
> | Informatics Faculty +++ Building 48 +++ University of 
> Kaiserslautern|
> | phone: +49-631-205-2654 +++ www: 
http://resy.informatik.uni-kl.de   |
+-+



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




php compilation error = expat problem?

2002-09-23 Thread Andreas

> > I encountered problems concerning the installation of expat (1.95.4-1).
> > After
> > $ tar xjvf expat-1.95.4-1-src.tar.bz2
> > $ ./expat-1.95.4-1.sh all
>
> > the script breaks with:
> > ...
> > + reconf-cygwin.sh
> > reconf-cygwin.sh: not found
> > + STATUS=127
> > + exit 127
>
> > But reconf-cygwin.sh is in the expat-1.95.4/ dir.
> > Is there a way to complete the installation of the package properly?
>
> 1. Install the binary package.
> 2. It is a bug in the script. Fix:
>Add . to your path or change reconf-cygwin.sh to ./reconf-cygwin.sh
>in the script (expat-1.95.4-1.sh).

Thanks! It works now (if it's right when expat-1.95.4-1.sh ends with: exit
0).

Could somebody please explain the occurence of the error when compiling php
(even with reinstalled expat package)(used command:
./configure --with-apxs --without-mysql --with-pgsql --with-expat-dir):
...
configure:73895: checking whether to enable XML support
configure:73934: result: yes
checking external libexpat install dir... yes
configure: error: not found. Please reinstall the expat distribution.

Does the following problem correlate with a missing package and/or configure
option of php (if yes, which one)? Could it be a problem with expat?
gcc -shared -o
cygsapi.dll -Wl,--out-implib=libsapi.dll.a -Wl,--export-all-symbols -Wl,--wh
ole-archive libsapi.al -Wl,--no-whole-archive -L
../../../.libs -lphp4 -lpq -lcrypt /usr/bin/cyghttpd.dll
Creating library file: libsapi.dll.a
../../../.libs/libphp4.a(xml.lo): In function 'zm_info_xml':
/usr/src/php-4.2.0-1/ext/xml/xml.c:236: undefined reference to
'_imp__php_XML_ExpatVersion'
../../../.libs/libphp4.a(xml.lo): In function 'xml_parser_dtor':
/usr/src/php-4.2.0-1/ext/xml/xml.c:300: undefined reference to
'_imp__php_XML_ParserFree'...
../../../.libs/libphp4.a(xml.lo): In function 'zif_xml_parser_create':
/usr/src/php-4.2.0-1/ext/xml/xml.c:1042: undefined reference to
'_imp__php_XML_ParserCreate'
...
../../../.libs/libphp4.a(xml.lo): In function
'zif_xml_get_current_byte_index':
/usr/src/php-4.2.0-1/ext/xml/xml.c:1464: undefined reference to
'_imp__php_XML_GetCurrentByteIndex'
collect2: ld returned 1 exit status



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




COMPOSANTS INTRUMENTATION ELECTRONIQUES

2002-09-23 Thread Luc Desimpel

Si vous ne souhaitez plus recevoir de courriels de notre part, veuillez nous le 
signaler : 
mailto:[EMAIL PROTECTED]

Madame, Monsieur, 
Connectez-vous sur 
http://www.reedbusiness.be/pepco-bin/cgij701?015+F
complétez le formulaire en ligne et recevez gratuitement CIE (Composants 
Instrumentation 
Electroniques), dédié exclusivement aux responsables de projets et d’intégration 
électroniques qui 
souhaitent être informés sur les innovations et tous les nouveaux produits, 
composants, équipements et 
outils de développement électroniques les plus récents.

Dossiers à paraître dans nos prochains numéros :
novembre : circuits intégrés Telecom, avant-première Electronica
décembre : alimentations et modules convertisseurs / l’industrie électronique dans les 
Yvelines
janvier : consommables et équipements de production pour l’électronique
mars : afficheurs et systèmes de vision

Abonnez-vous maintenant pour rester bien informé tout au long de l’année à venir.

Cordialement

Luc Desimpel
Circulation and Reader Service Manager
[EMAIL PROTECTED]







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




newer bintuils

2002-09-23 Thread Alan Hourihane

Anyone know when the new binutils will be out with Egor's
fixes for auto-import of arrays ?

Alan.





--
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: php compilation error = expat problem?

2002-09-23 Thread Gerrit P. Haase

Andreas schrieb:

>> > I encountered problems concerning the installation of expat (1.95.4-1).
>> > After
>> > $ tar xjvf expat-1.95.4-1-src.tar.bz2
>> > $ ./expat-1.95.4-1.sh all
>>
>> > the script breaks with:
>> > ...
>> > + reconf-cygwin.sh
>> > reconf-cygwin.sh: not found
>> > + STATUS=127
>> > + exit 127
>>
>> > But reconf-cygwin.sh is in the expat-1.95.4/ dir.
>> > Is there a way to complete the installation of the package properly?
>>
>> 1. Install the binary package.
>> 2. It is a bug in the script. Fix:
>>Add . to your path or change reconf-cygwin.sh to ./reconf-cygwin.sh
>>in the script (expat-1.95.4-1.sh).

> Thanks! It works now (if it's right when expat-1.95.4-1.sh ends with: exit
> 0).

> Could somebody please explain the occurence of the error when compiling php
> (even with reinstalled expat package)(used command:
> ./configure --with-apxs --without-mysql --with-pgsql --with-expat-dir):
> ...
> configure:73895: checking whether to enable XML support
> configure:73934: result: yes
> checking external libexpat install dir... yes
> configure: error: not found. Please reinstall the expat distribution.

Hmmm, older autoconf version?  Look in config.log what happened and try to
find the part in configure where the check for expat is located and figure
out what it is looking for.  I saw problems (not related to these packages)
where it was checked for versions 1.1, 1.2 and 1.3 and I got 1.4, so the
check failed...

> Does the following problem correlate with a missing package and/or configure
> option of php (if yes, which one)? Could it be a problem with expat?

Sorry, I don't know about PHP.


Gerrit
-- 
=^..^=


--
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: New rxvt -- cleartype bug again

2002-09-23 Thread Nicholas Wourms


--- Steve O <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Yep, the new rxvt (-12) doesn't do so well with clear type.  I
> tracked through the code and figured out why.  Looks like windows
> erases a little bit more background than it should when writing
> text in opaque mode.  Changed the XDrawString code to use
> transparent
> mode and to manually do the background erasing.
> 
> I'm concerned about the pasting from other windows crashing rxvt
> and would like to hold off making another release until I can 
> figure that out.  In the meantime, I recommend using the -11
> version
> if ClearType is an issue. 
> 
> The pasting issue appears to only affect NT systems, the only 
> platform I don't have ready access to.  

The pasting issue is also present on WinME.

Cheers,
Nicholas

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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




Anyone got the GTK+ libs precompiled static for windows?

2002-09-23 Thread Thomas

I need the GTK+ libs precompiled static for windows..
if u got it please mail me or reply to the mailing list..

Thomas Martinsen
[EMAIL PROTECTED]


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




during setup, which download site to select?

2002-09-23 Thread Ed

Hello,

During cygwin setup, how do I know which download site to select? Some
seem to be outside the USA, so I'm sure I don't want to select
them. But is there anything to choose on the others?

How do I know I'm not selecting a really slow cranky site, instead of
a fast stable site?

Also, when downloading the install stuff from the internet to be
installed later, it seems to store stuff in directories with the site
name in the path. Does that mean I have to stick with one site, or can
I download some stuff from site A this morning, and then some other
stuff from B the next day, and then expect setup.exe to find both sets
of install files?

Any comments would be helpful!

Thanks!

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/




Performance Issues due to Anti-Virus software.

2002-09-23 Thread Graham Harrison

Hi,

I support about 15 developers who use cgywin and PRC-Tools to develop
for PalmOS.
While migrating from cygnus version B20 to the latest version of cygwin
(and then PRC-Tools) we have seen a drastic performance drop.

Some may think that I'm over stating the problem, but a file which used
to compile in under a second now take 6 seconds.  Multiply this up by
the number of files in a project, and then by the number of developers I
support and you can see my point.  These guys are going to kill me if I
can't get it sorted!!

The problem seems to be with Norton Anti-Virus.  We mainly use Corp.
edition, but I've tried an OEM version of 2002 and that does the same.  

Given that it is Corp. edition this gives me an issue or 2 over the
norm:  1) the developers can't turn it off themselves so I'd have to do
it and turn it on afterwards.  (This is not happening!)  2)  There isn't
that much which can be tweaked.

>From my reading on the web, I believe the problem is to do with memory
mapped files.  Can anyone suggest the best things to tweak to stop
Norton and Cygwin from clashing with each other?

Thanks.

--
Graham Harrison
Astraware Ltd.

http://www.astraware.com.


_
This message has been checked for all known viruses by the 
MessageLabs Virus Control Centre. Service supplied by Internet Central
http://www.internet-central.net


--
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: Performance Issues due to Anti-Virus software.

2002-09-23 Thread John Vincent

Hi,

This is a Wild Guess: maybe you could look at rebasing the
cygwin DLLs that you are using, to make sure they don't
clash with the norton DLLs. Search this mailing list
looking for rebase.

Like I say, it's just my guess. Good Luck !

/John Vincent.


>From: "Graham Harrison" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Performance Issues due to Anti-Virus software.
>Date: Mon, 23 Sep 2002 16:47:37 +0100
>
>Hi,
>
>I support about 15 developers who use cgywin and PRC-Tools to develop
>for PalmOS.
>While migrating from cygnus version B20 to the latest version of cygwin
>(and then PRC-Tools) we have seen a drastic performance drop.
>
>Some may think that I'm over stating the problem, but a file which used
>to compile in under a second now take 6 seconds.  Multiply this up by
>the number of files in a project, and then by the number of developers I
>support and you can see my point.  These guys are going to kill me if I
>can't get it sorted!!
>
>The problem seems to be with Norton Anti-Virus.  We mainly use Corp.
>edition, but I've tried an OEM version of 2002 and that does the same.
>
>Given that it is Corp. edition this gives me an issue or 2 over the
>norm:  1) the developers can't turn it off themselves so I'd have to do
>it and turn it on afterwards.  (This is not happening!)  2)  There isn't
>that much which can be tweaked.
>
>From my reading on the web, I believe the problem is to do with memory
>mapped files.  Can anyone suggest the best things to tweak to stop
>Norton and Cygwin from clashing with each other?
>
>Thanks.
>
>--
>Graham Harrison
>Astraware Ltd.
>
>http://www.astraware.com.
>
>
>_
>This message has been checked for all known viruses by the
>MessageLabs Virus Control Centre. Service supplied by Internet Central
>http://www.internet-central.net
>
>
>--
>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/




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
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: Performance Issues due to Anti-Virus software.

2002-09-23 Thread Igor Pechtchanski

On Mon, 23 Sep 2002, Graham Harrison wrote:

> Hi,
>
> I support about 15 developers who use cgywin and PRC-Tools to develop
> for PalmOS.
> While migrating from cygnus version B20 to the latest version of cygwin
> (and then PRC-Tools) we have seen a drastic performance drop.
>
> Some may think that I'm over stating the problem, but a file which used
> to compile in under a second now take 6 seconds.  Multiply this up by
> the number of files in a project, and then by the number of developers I
> support and you can see my point.  These guys are going to kill me if I
> can't get it sorted!!
>
> The problem seems to be with Norton Anti-Virus.  We mainly use Corp.
> edition, but I've tried an OEM version of 2002 and that does the same.
>
> Given that it is Corp. edition this gives me an issue or 2 over the
> norm:  1) the developers can't turn it off themselves so I'd have to do
> it and turn it on afterwards.  (This is not happening!)  2)  There isn't
> that much which can be tweaked.
>
> >From my reading on the web, I believe the problem is to do with memory
> mapped files.  Can anyone suggest the best things to tweak to stop
> Norton and Cygwin from clashing with each other?
>
> Thanks.

This may be relevant: http://cygwin.com/faq/faq.html#TOC61
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
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: Performance Issues due to Anti-Virus software.

2002-09-23 Thread Dan Vasaru

Graham,

If you insist that each developer runs AV software on it's development
platform, you could consider setting up a separate box (without antivirus
software) with ssh access for performing your builds. Throw in a few network
shares, and a smart home directory mapping, and the developers will never
know where they are compiling.

Seriously, aren't your developers local administrators ? In that case, they
could easily disable the AV.

Good luck,
Dan.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Graham Harrison
Sent: Monday, September 23, 2002 5:48 PM
To: [EMAIL PROTECTED]
Subject: Performance Issues due to Anti-Virus software.


Hi,

I support about 15 developers who use cgywin and PRC-Tools to develop
for PalmOS.
While migrating from cygnus version B20 to the latest version of cygwin
(and then PRC-Tools) we have seen a drastic performance drop.

Some may think that I'm over stating the problem, but a file which used
to compile in under a second now take 6 seconds.  Multiply this up by
the number of files in a project, and then by the number of developers I
support and you can see my point.  These guys are going to kill me if I
can't get it sorted!!

The problem seems to be with Norton Anti-Virus.  We mainly use Corp.
edition, but I've tried an OEM version of 2002 and that does the same.

Given that it is Corp. edition this gives me an issue or 2 over the
norm:  1) the developers can't turn it off themselves so I'd have to do
it and turn it on afterwards.  (This is not happening!)  2)  There isn't
that much which can be tweaked.

>From my reading on the web, I believe the problem is to do with memory
mapped files.  Can anyone suggest the best things to tweak to stop
Norton and Cygwin from clashing with each other?

Thanks.

--
Graham Harrison
Astraware Ltd.

http://www.astraware.com.


_
This message has been checked for all known viruses by the
MessageLabs Virus Control Centre. Service supplied by Internet Central
http://www.internet-central.net


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




this address is no longer available (fwd)

2002-09-23 Thread Igor Pechtchanski

I just got the attached message in response to a post I made to the list.
The way I read it, anyone posting to the list will now be tagged as a
spammer (unless this is an empty threat), or, at the very least, will
receive a similar message in response to any post.
Should this address be forcefully unsubscribed from the list?  Or do
people have other suggestions?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51

-- Forwarded message --
Date: Mon, 23 Sep 2002 18:03:23 +0200 (MEST)
From: Jens Schüßler <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: this address is no longer available


[this message has been automatically generated]

Please note that this address is no longer in use, and nowadays
receives nothing but unsolicited commercial mail.  Accordingly,
any mail sent to it is added to several spam-tracking databases,
then automatically deleted.

If you genuinely want to contact the owner of the address, please
re-check your contact lists, or search the web, to find their
current e-mail address.

The mail you sent is reproduced in full below, for resending to
the correct address.  Sorry for the inconvenience!

[-- Signed: the SpamAssassin mail filter]




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




[ANNOUNCEMENT] Updated: guile-1.6.0-1

2002-09-23 Thread Jan Nieuwenhuizen


The Guile packages have been updated for the new stable upstream
release 1.6.0-1.

Enjoy,
Jan.


Guile, the GNU Ubiquitous Intelligent Language for Extension, is a
scheme implementation designed for real world programming, supporting
a rich Unix interface, a module system, and undergoing rapid
development.  `guile' is a scheme interpreter that can execute scheme
scripts (with a #! line at the top of the file), or run as an inferior
scheme process inside Emacs.

Guile has been packaged in four parts: guile, guile-doc, guile-devel
and libguile12.

For a brief description of what these packages are and what they
contain, see http://cygwin.com/packages/ .

Please send questions or comments on Guile to the Cygwin mailing list
at: [EMAIL PROTECTED]  [However, if you're having problems related to
LilyPond, please write to [EMAIL PROTECTED]]



INSTALLATION:

To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page. This downloads setup.exe to
your system. Save it and run setup, answer the questions and pick
up 'guile' from the 'Interpreters' category.

Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations. This means that you will need
to find a mirror which has this update.

In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection, and already up to date.

In Japan, use ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ .

In Denmark, use http://mirrors.sunsite.dk/cygwin/ .

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.

Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED]  If you want to subscribe go to:
http://cygwin.com/lists.html.  I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org




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




[ANNOUNCEMENT] Updated: lilypond-1.6.4-1 for Cygwin

2002-09-23 Thread Jan Nieuwenhuizen


LilyPond 1.6.4 is now available for Cygwin.

LilyPond prints beautiful sheet music. It produces music notation from
a description file.  It excels at typesetting classical music, but you
can also print pop-songs.

LilyPond input is plain text.  So, you can use your favorite text
editor to enter it (yes, both are included in Cygwin), you can put it
in email or embed it in an article.

After a successful installation of lilypond (and its dependencies,
notably guile, python, tetex), you should be able to run, eg,

ly2dvi -p /usr/doc/lilypond-1.6.4-1/input/example-1

which should produce a simple piece of sheet music as:

example-1.dvi
example-1.ps
example-1.pdf

If you're seeing problems with the -p option: this should be fixed by
the a new tetex release, to be expected real soon now.

If you install XFree86 tetex-x11 and ghostscript-x11, you may even
view the output just like you would do on UNIX:

xdvi example-1.dvi &

To view the output in the Windows, non-XFree enviroment, you need a
PostScript viewer (it seems that gv is not yet available for Cygwin).
You can find a plain Windows one here: http://www.cs.wisc.edu/~ghost .
After installing Ghostscript and GSView, you may do:

gsview32 example-1.ps # view
gsview32 /s example-1.ps  # print

To get started, see the Tutorial at:

http://lilypond.org/Documentation/user/out-www/lilypond/Tutorial.html

or, after installing the lilypond-doc package, your local copy at
(check your Cygwin prefix):


file:///c:/cygwin/usr/doc/lilypond-1.6.4-1/html/Documentation/user/out-www/lilypond/Tutorial.html

Please send questions or comments on the LilyPond Cygwin package or
installation to the Cygwin mailing list at: [EMAIL PROTECTED]
However, if you're having non-Cygwin specific problems related to
LilyPond, please write to [EMAIL PROTECTED]  Please do not email
the authors or maintainers directly.

Enjoy,
Jan.


INSTALLATION:

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Save it and run setup, answer the questions and pick up
'lilypond' from the 'Publishing' category.  Find 'lilypond-doc' in the
'Doc' category.

Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations. This means that you will need
to find a mirror which has this update.

In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection, and already up to date.

In Japan, use ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ .

In Denmark, http://mirrors.sunsite.dk/cygwin/ is usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.

Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html .  I would appreciate if you would use
this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


Requirements and DLLs.

TeTeX and LilyPond depend on a number of library packages, but as it
seems, they sometimes do not get selected automagically.

teTeX
  requires: ash cygwin ed grep jpeg libkpathsea3 libncurses6 libpng12 tiff
  sed termcap zlib
  
LilyPond
  requires: bash libguile14 libiconv2 libintl2 libkpathsea3 python
  tetex-bin, tetex-tiny or tetex-base

  DLL  Package
  cygguile-12.dll  libguile12
  cygintl-2.dlllibintl2
  cygiconv-2.dll   libiconv2
  cygltdl-3.dlllibltdl3
  cygpcre.dll  pcre
  cygpng12.dll libpng12
  cygtiff3.dll tiff

Also, the more general info on missing DLLs may be helpful:

http://cygwin.com/faq/faq_4.html#SEC32
http://cygwin.com/ml/cygwin/2002-01/msg01619.html


*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]


-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org




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




OT: RE: Performance Issues due to Anti-Virus software.

2002-09-23 Thread Igor Pechtchanski

Dan,
"Good luck" is the exact term needed here, in reference to turning off NAV
Corp. Edition.  The service runs as LocalSystem, so anyone with less
privilege than that is not able to either turn it off or change anything
that is not unlocked.  The way it's set up on my computer, the option to
stop the scan is disabled, and the scheduler is locked.  Since the process
runs as LocalSystem as well, it is unkillable through the Task Manager.
I'm of half a mind to set up an ssh server just to be able to su to local
system and kill it.  But for now I live with it.
Igor

On Mon, 23 Sep 2002, Dan Vasaru wrote:

> [snip]
> Seriously, aren't your developers local administrators ? In that case, they
> could easily disable the AV.
> Good luck,
> Dan.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Graham Harrison
> Sent: Monday, September 23, 2002 5:48 PM
> To: [EMAIL PROTECTED]
> Subject: Performance Issues due to Anti-Virus software.
>
> [snip]
> The problem seems to be with Norton Anti-Virus.  We mainly use Corp.
> edition, but I've tried an OEM version of 2002 and that does the same.
>
> Given that it is Corp. edition this gives me an issue or 2 over the
> norm:  1) the developers can't turn it off themselves so I'd have to do
> it and turn it on afterwards.  (This is not happening!)  2)  There isn't
> that much which can be tweaked.
> [snip]

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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




[OT] RE: Performance Issues due to Anti-Virus software.

2002-09-23 Thread Dan Vasaru


dan > Seriously, aren't your developers local administrators ? In that case,
they
dan > could easily disable the AV.
Igor >I'm of half a mind to set up an ssh server just to be able to su to
local
Igor >system and kill it.  But for now I live with it.

Igor,

Try installing the PSTOOLS package from
http://www.sysinternals.com/ntw2k/freeware/pstools.shtml.

PSKILL (part of pstools) will kill virtually any process, including
LocalSystem processes, given enough (local administrator) rights. Of course
you can also try stopping the service in the ControlPanel (Administrative
Tools|Services, right click on NAV). Here's where you would restart it.

Dan



--
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: this address is no longer available (fwd)

2002-09-23 Thread Jens Schuessler

* Igor Pechtchanski <[EMAIL PROTECTED]> [23-09-02 18:32]:
> I just got the attached message in response to a post I made to the list.
> The way I read it, anyone posting to the list will now be tagged as a
> spammer (unless this is an empty threat), or, at the very least, will
> receive a similar message in response to any post.
> Should this address be forcefully unsubscribed from the list?  Or do
> people have other suggestions?
>   Igor

Holy shit, i made an very stupid fault while experimenting with my
spamassassin configs. The spamtrap-feature didn't realize my whitelist
like spamassassin did before. I should had test it before and RTFM
twice, i'm sorry.
My apology goes to all the people on this list who received this
response on their posts.
Call me dumbhead.

Jens



--
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: Anyone got the GTK+ libs precompiled static for windows?

2002-09-23 Thread Christopher Faylor

On Mon, Sep 23, 2002 at 05:34:05PM -0700, Thomas wrote:
>I need the GTK+ libs precompiled static for windows..
>if u got it please mail me or reply to the mailing list..

This is off-topic for this mailing list.  Please use cygwin-xfree.

cgf

--
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: this address is no longer available (fwd)

2002-09-23 Thread Igor Pechtchanski

On Mon, 23 Sep 2002, Jens Schuessler wrote:

> * Igor Pechtchanski <[EMAIL PROTECTED]> [23-09-02 18:32]:
> > I just got the attached message in response to a post I made to the list.
> > The way I read it, anyone posting to the list will now be tagged as a
> > spammer (unless this is an empty threat), or, at the very least, will
> > receive a similar message in response to any post.
> > Should this address be forcefully unsubscribed from the list?  Or do
> > people have other suggestions?
> >   Igor
>
> Holy shit, i made an very stupid fault while experimenting with my
> spamassassin configs. The spamtrap-feature didn't realize my whitelist
> like spamassassin did before. I should had test it before and RTFM
> twice, i'm sorry.
> My apology goes to all the people on this list who received this
> response on their posts.
> Call me dumbhead.
>
> Jens

Frankly, I was about to... ;-)
Seriously, though, no hard feelings.  We all make mistakes from time to
time.  I rather assumed that you've subscribed with that address and then
stopped using it, forgetting to unsubscribe, hence the suggestion.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
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: Attempting "Emacs this file"

2002-09-23 Thread Joe Buehler

Just Hangin wrote:

> I'm trying to get this little Windows Explorer
> right-click menu add-on to work and having problems. 
> I want to be able to right click on a file and have
> emacs open it in an rxvt.  It almost works...the menu
> item appears, the rxvt opens, emacs runs...but the
> object file %1 doesn't get sucked in.

I just tried this, and the problem I ran into is with the path
passed to emacs.  Try using a batch file to log the arguments
being passed to emacs.

> Im confused.  I see lots of posts about NTEmacs,
> NTEmacs = Gnuemacs, Xemacs...  but, what is the actual
> Emacs in the Cygwin distribution?  Just Gnuemacs,
> right?

The "emacs" package is just a port of GNU emacs.

Joe Buehler




--
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: 2.5.5-1 rsync hangs

2002-09-23 Thread Sudheer Tumuluru



I am having the same problem with rsync 2.5.5-1. I am
trying to rsync a couple of short text files between a linux server and
Win2k Professional boxes with cygwin. About 20% of the time, rsync freezes
at the end of the transfer, and I can't kill the rsync process in
cygwin even if I give it a 9 (SIGTERM) signal. This happens mostly on dual-processor
machines but it did happen once on the single proc machine as well.

 I rummaged through the mailing list and saw messages as old as Nov.
2001 (version 2.4.x) but did not find any announcement about a fix. Is
this a known bug in 2.5.5-1, and if so, is there a fix. I can provide
additional debugging info. if needed.

Thanks,
Sudheer T

 > I have problem with rsync that hangs.

 > This is the last lines from the log-file.
 > WebServices/jwsdp-1_0_01/xsl/textFormatForVerifierSS.xsl is
 uptodate
 > total: matches=0  tag_hits=0  false_alarms=0 data=0
 > wrote 94043 bytes  read 20 bytes  4.02 bytes/sec

 > This is the script i'm using
 > #! /bin/sh
 > #uncoment next line for testing
 > #set -x
 > LOCAL=/cygdrive/d/gb
 > REMOTE=/cygdrive/g/gb
 > LOG=/cygdrive/h/log/rsyncgb.log
 > echo rsync of $LOCAL to $REMOTE started `date` > $LOG
 > cd $LOCAL
 > for DIR in *
 > do
 >   echo sync $DIR started >> $LOG
 >   rsync --archive --verbose --verbose --delete $DIR $REMOTE
 >> "$LOG"
 >   echo sync $DIR done >> $LOG
 > done
 > echo rsync of $LOCAL to $REMOTE done `date` >> $LOG




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




bug in make-3.79.1

2002-09-23 Thread Steven Dirkse

Hello,

I believe there is a bug in 3.79.1.  It occurs late in function
try_variable_definition, where the code

  v->append = append;

is executed.  For a build with WINDOWS32 defined the struct v was not
initialized in some cases (specifically, when processing a line of the
form SHELL = /bin/bash), and the program crashed intermittently,
presumably when accessing the code above.  Who knows what damage
occurred when it ran but didn't crash.

My fix is simple: I initialize

  struct variable *v = NULL;

I add an else clause to the code that sets v for Windows32, and I check
v != NULL before setting v->append.  The code below is near the end of
the function in question and the 4 lines I added there are marked with
"new" below.

#ifdef WINDOWS32
  if ((origin == o_file || origin == o_override)
  && strcmp (expanded_name, "SHELL") == 0) {
extern char* default_shell;

/*
 * Call shell locator function. If it returns TRUE, then
 * set no_default_sh_exe to indicate sh was found and
 * set new value for SHELL variable.
 */
if (find_and_set_default_shell(value)) {
   v = define_variable_loc (expanded_name, strlen (expanded_name),
default_shell, origin, flavor ==
f_recursive,
flocp);
   no_default_sh_exe = 0;
}
newelse
new  v = lookup_variable (expanded_name, strlen (expanded_name));
  }
  else
#endif

  v = define_variable_loc (expanded_name, strlen (expanded_name), value,
   origin, flavor == f_recursive, flocp);

new  if (v != NULL)
newv->append = append;


I noticed the bug is also present in the cygwin modifications to make,
so I CCed them.

-- 
Steven Dirkse, Ph.D.GAMS Development Corporation
1217 Potomac St. NW Washington DC  20007
Voice: (202)342-0180  Fax: (202)342-0181
mailto:[EMAIL PROTECTED]  http://www.gams.com

--
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: bug in make-3.79.1

2002-09-23 Thread Paul D. Smith

Hi; this bug has been reported before and is fixed in the CVS version of
GNU make; the fix will be in the next release.

Thanks for the report!

-- 
---
 Paul D. Smith <[EMAIL PROTECTED]>  Find some GNU make tips at:
 http://www.gnu.org  http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

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




(Partially) OT: Circumventing NAVCE (was: Performance Issues due to Anti-Virus software.)

2002-09-23 Thread Max Bowsher

Igor Pechtchanski wrote:
> Dan,
> "Good luck" is the exact term needed here, in reference to turning off NAV
> Corp. Edition.  The service runs as LocalSystem, so anyone with less
> privilege than that is not able to either turn it off or change anything
> that is not unlocked.  The way it's set up on my computer, the option to
> stop the scan is disabled, and the scheduler is locked.  Since the process
> runs as LocalSystem as well, it is unkillable through the Task Manager.
> I'm of half a mind to set up an ssh server just to be able to su to local
> system and kill it.  But for now I live with it.
> Igor

The pasted REGEDIT file shows how to regain control control of NAVCE. Of course,
you will need local admin to edit the relevant registry locations. I can't say
for certain that your version of NAVCE will use _exactly_ the same registry
keys, but with this as a hint, it shouldn't take more than 5 minutes for anyone
comfortable with registry editing to unlock NAVCE.

Max.


REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion\LocalSca
ns\ClientServerScheduledScan_1]
"ScanLocked"=dword:

[HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion\Administ
ratorOnly\Security]
"LockUnloadServices"=dword:

[HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion\Storages
\Filesystem\RealTimeScan]
"OnOff-L"=dword:
"MessageBox-L"=dword:
"BackupToQuarantine-L"=dword:
"Writes-L"=dword:

[HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion\Storages
\LotusNotes\RealTimeScan]
"FileType-L"=dword:
"MessageBox-L"=dword:
"NotifySender-L"=dword:
"NotifySelected-L"=dword:
"InsertWarning-L"=dword:


--
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: 2.5.5-1 rsync hangs

2002-09-23 Thread Don Dwiggins

Sudheer Tumuluru writes:
> I am having the same problem with rsync 2.5.5-1. I am trying to rsync
> a couple of short text files between a linux server and Win2k Professional
> boxes with cygwin. About 20% of the time, rsync freezes at the end of the
> transfer, and I can't kill the rsync process in cygwin even if I give it a
> 9 (SIGTERM) signal. This happens mostly on dual-processor machines but it
> did happen once on the single proc machine as well.

>  I rummaged through the mailing list and saw messages as old as Nov.
> 2001 (version 2.4.x) but did not find any announcement about a fix. Is
> this a known bug in 2.5.5-1, and if so, is there a fix. I can provide
> additional debugging info. if needed.

I've been using rsync for some time now (in "local" mode) on a Win2K box.  I
haven't been paying close attention, but I think it worked fine for a while,
then I started to get the same kinds of hangup.  If someone can offer advice
on how to set debugging options, I can also produce some evidence.  (BTW,
I'm running "version 2.5.5  protocol version 26".)

Thanks in advance for any good words,
-- 

Don Dwiggins "The truth will make you free,
[EMAIL PROTECTED] but first it will make you miserable"
  -- Tom DeMarco



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




Request:

2002-09-23 Thread venkatramana reddy

Hi,
I am Reddipalli,i have got some problem with my laptop after installing 
cygwin.
let me clearly explain you about the problem.
I have laptop with Windows XP OS. I have downloaded cygwin package on to my 
Laptop.
At cygwin command tool i entered passwd and i entered  anew passwd. It has 
changed my passwd.
It has changed my XP passwdord also. Now it is not letting me into my 
laptop.
Could u please tell me is there any way i can recover my old passwd or reset 
the passwd so that i can login to my account.
Please reply to this mail as soon as possible.
Thanx,
Reddipalli.


_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
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: (Partially) OT: Circumventing NAVCE (was: Performance Issuesdue to Anti-Virus software.)

2002-09-23 Thread Igor Pechtchanski

On Mon, 23 Sep 2002, Dan Vasaru wrote:

> dan > Seriously, aren't your developers local administrators ? In that case,
> dan > they could easily disable the AV.
> Igor >I'm of half a mind to set up an ssh server just to be able to su to
> Igor >local system and kill it.  But for now I live with it.
>
> Igor,
>
> Try installing the PSTOOLS package from
> http://www.sysinternals.com/ntw2k/freeware/pstools.shtml.
>
> PSKILL (part of pstools) will kill virtually any process, including
> LocalSystem processes, given enough (local administrator) rights. Of course
> you can also try stopping the service in the ControlPanel (Administrative
> Tools|Services, right click on NAV). Here's where you would restart it.
>
> Dan

On Mon, 23 Sep 2002, Max Bowsher wrote:

> Igor Pechtchanski wrote:
> > Dan,
> > "Good luck" is the exact term needed here, in reference to turning off NAV
> > Corp. Edition.  The service runs as LocalSystem, so anyone with less
> > privilege than that is not able to either turn it off or change anything
> > that is not unlocked.  The way it's set up on my computer, the option to
> > stop the scan is disabled, and the scheduler is locked.  Since the process
> > runs as LocalSystem as well, it is unkillable through the Task Manager.
> > I'm of half a mind to set up an ssh server just to be able to su to local
> > system and kill it.  But for now I live with it.
> > Igor
>
> The pasted REGEDIT file shows how to regain control control of NAVCE. Of
> course, you will need local admin to edit the relevant registry
> locations. I can't say for certain that your version of NAVCE will use
> _exactly_ the same registry keys, but with this as a hint, it shouldn't
> take more than 5 minutes for anyone comfortable with registry editing to
> unlock NAVCE.
>
> Max.
>
> [Registry settings snipped]

Merci beaucoup to all for your suggestions.  This has been plaguing me for
a while.  I was aware of being able to stop the service, but the pskill
and especially the registry settings proved very useful.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51




--
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: Request:

2002-09-23 Thread Elfyn McBratney

Can you remember the password you typed?
It would have only changed it if you typed in the same password twice and
confirmed.

As cygwin is an unix emulation layer ontop of windows is thus uses windows
credentials (username,name,password etc) and once changed it is set in nt
stone. Unless you have a recovery disk that has an up-to-date version of
your password on it, you will have to re-install...


- Original Message -
From: venkatramana reddy <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 23, 2002 9:44 PM
Subject: Request:


> Hi,
> I am Reddipalli,i have got some problem with my laptop after installing
> cygwin.
> let me clearly explain you about the problem.
> I have laptop with Windows XP OS. I have downloaded cygwin package on to
my
> Laptop.
> At cygwin command tool i entered passwd and i entered  anew passwd. It has
> changed my passwd.
> It has changed my XP passwdord also. Now it is not letting me into my
> laptop.
> Could u please tell me is there any way i can recover my old passwd or
reset
> the passwd so that i can login to my account.
> Please reply to this mail as soon as possible.
> Thanx,
> Reddipalli.
>
>
> _
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> --
> 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: MMap offset parameter failing with ENOMEM error

2002-09-23 Thread Shane Mann

Hi,

Has this issue been confirmed as a bug? Is it being looked into?

Cheers,
Shane

Shane Mann
Software Engineer  Phone: +61-7-3259-2223
LeadUp Software Pty LtdFax:   +61-7-3259-2259
339 Coronation Drive,  Email: [EMAIL PROTECTED]
Milton, QLD, 4064  Web:   http://www.leadup.com.au


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Shane Mann
> Sent: Friday, 20 September 2002 9:38
> To: [EMAIL PROTECTED]
> Subject: RE: MMap offset parameter failing with ENOMEM error
>
>
> Corinna,
>
> I noticed this while I continued testing last night.
> Interestingly Linux and
> SunOS don't seem to be bothered by this, however, if you read the IEEE
> standard:
> http://www.opengroup.org/onlinepubs/007904975/functions/mmap.html
> there is the following quote: "The range of bytes starting at off and
> continuing for len bytes shall be legitimate for the possible (not
> necessarily current) offsets in the file, shared memory object, or [TYM]
> typed memory object  represented by fildes." Linux and Sun seem
> to allow it
> and return '0' if you access memory beyond the EOF, go figure.
>
> Perhaps the wrong error is being returned for this case - I would have
> thought the following error code would be more appropriate:
>
> [ENXIO]
> Addresses in the range [off,off+len) are invalid for the object
> specified by
> fildes.
>
> I have since amended the code by replacing the following line:
>
> size = finfo.st_size;
>
> with
>
> size = finfo.st_size - foff;
>
> and I still get the same error. There is some example output below:
>
> Note: index.idx is a file with a size of 557592 bytes. In the output below
> it worked for an offset of 40 and created a map of 157592 bytes - but
> failed for the same file with an offset of 30 and a potential map of
> 257592 bytes.
>
> Run 1)
> ~/c>./a.exe 40 index.idx
> Offset is 40
> File index.idx opened on descriptor 3.  It is 157592 bytes long
> --- Syspagesize 4096, pagemask F000, offmask FFF
> foff is 40
> --- Syspagesize 4096, pagemask F000, offmask FFF
> pfoff is 397312
>  Vars just before mmap call 
> psyz = 163840
> prot = 1
> fd = 3
> pfoff = 397312
>Mapping 163840 at 2A231000 <---> 397312 (mapping fh
> Result from femmap is 2A231A80
> Byte is 127
>
>
> Run 2)
> ~/c>./a.exe 30 index.idx
> Offset is 30
> File index.idx opened on descriptor 3.  It is 257592 bytes long
> --- Syspagesize 4096, pagemask F000, offmask FFF
> foff is 30
> --- Syspagesize 4096, pagemask F000, offmask FFF
> pfoff is 299008
>  Vars just before mmap call 
> psyz = 262144
> prot = 1
> fd = 3
> pfoff = 299008
> perror reports errno of 12
>Mapping 262144 at  <---> 299008 (mapping fh
>
> Any ideas?
>
> Cheers,
> Shane
>
> Shane Mann
> Software Engineer  Phone: +61-7-3259-2223
> LeadUp Software Pty LtdFax:   +61-7-3259-2259
> 339 Coronation Drive,  Email: [EMAIL PROTECTED]
> Milton, QLD, 4064  Web:   http://www.leadup.com.au
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> > Of Corinna Vinschen
> > Sent: Thursday, 19 September 2002 17:33
> > To: Cygwin@Cygwin. Com
> > Subject: Re: MMap offset parameter failing with ENOMEM error
> >
> >
> > On Thu, Sep 19, 2002 at 12:19:06PM +1000, Shane Mann wrote:
> > > Hi,
> > >
> > > I am having trouble with mmap using the last 'offset'
> parameter. I have
> > > attached a small piece of code (and sample file) which
> demonstrates the
> > > problem. Basically if the offset parameter is passed as a
> > variable to mmap
> > > then the call fails with an ENOMEM error. But if you pass 0 as
> > the parameter
> > > and then access the return address from mmap + offset - it is fine. My
> > > question: is mmap handling the offset parameter correctly?
> > >
> > > Usage for the program:
> > >
> > > ./a.exe   eg: ./a.exe 11200 index.idx
> > >
> > > To see the address + offset work, comment out the first mmap
> > call and return
> > > statement and uncomment the lines below each one.
> > >
> > > Any help appreciated.
> >
> > Your application tries to mmap over EOF.
> >
> > Corinna
> >
> > --
> > Corinna Vinschen  Please, send mails regarding Cygwin to
> > Cygwin Developermailto:[EMAIL PROTECTED]
> > Red Hat, Inc.
> >
> > --
> > 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/
>


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

Re: Promoting rxvt (non-X11)

2002-09-23 Thread luke . kendall

On 23 Sep, John Vincent wrote:
>  I hope this is helpful. 

Sure is, thanks!  Though I just discovered that setting -backspacekey
to either ^? *or* ^H works equally well.  I don't understand that!

BTW, does anyone else have the problem that Shift-PgUp will only page
back once, then you have to use the mouse.  This is not just a
key-repeat issue - even if you hit the key several times, it only works
for the first page.

And Shift-PgDn does nothing at all, ever.

I assume that when rxvt starts up it always reads the .Xresources file? 
The info isn't cached anywhere?  (I did have mappings for Prior and
Next, but got rid of them.)

Um, I just noticed that I also had a mapping for Delete, and if I do a
cat -tvu I can see that it appears to have affected rxvt (as you'd
expect), and that it does seem to be cached.  Even across reboots?
Basically, the Del key always sends the sequence Esc [ 3 ~

The reboot means that Backspace in cat -tvu now no longer appears, so
it did make some difference.

Not that this seems to be causing me any problems, it's just curious.

luke


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




Questions about Cygwin packaging

2002-09-23 Thread luke . kendall

I briefly considered making a proper package for a couple of things for
Cygwin, but after reading http://www.cygwin.com/setup.html I realised I
didn't know how to provide the required information.

The issues were package names, and dependencies.

How do you determine package names for the "required:" line
when you're trying to do the right thing and package stuff up
for inclusion in Cygwin.

For example, what is the package name for X11?  Is it "X" or "X11",
"X11R6", or "XFree86".  What about normal system dependencies like
cygwin.dll - what is their package name?

How do you find out what the set of valid package names is?  How do you
create new ones when needed?

BTW, is it possible to run some utility that would automatically tell
you what packages a utility depended on?

How accurate do the package names have to be?  Are they used in
some automated process, or are they just rough guides for humans
to see?

luke


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




problems with mprotect()

2002-09-23 Thread Anonymous

Hi, I'm having segfaults with the following piece of code (working from
WinXP SP1 using latest Cygwin release):

char * AllocBoundedArray(int size)
{
int pgSize = getpagesize();
char *ptr = new char[pgSize * 2 + size];
// before
mprotect(ptr, pgSize, 0);
// after
mprotect(ptr + pgSize + size, pgSize, 0);
return ptr + pgSize;
}

In gdb I get the following message when I do a print ptr before and
after the mprotect() line:
// before
$1 = 0xa012818 ""
// after
$2 = 0xa012818 
also pgSize = 4096 and size = 16384
and I get a seg fault after the return statement
The code works fine on this same machine under linux.

I don't really understand how the code works (I just traced my seg
fault here) as I am a C++ newbie, so forgive me if I have missed something.

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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




File permissions and tcltk

2002-09-23 Thread Mike Clarkson


I have a strange problem with xile permissions under
cygwin 1.3.13 using Mumit Khan's tcltk 8.3.3. Tcl thinks
a file is executable (it's a bash script mode 755), but
using Tcl's exec it won't execute it, and Tcl's file stat
say's it's mode 644. 

(maxima) 33 % exec /bin/ls -l [auto_execok maxima]
-rwxr-xr-x1 Schneide unknown  6128 Sep  7 15:39 
C:/MIKE/CYGWIN-1.3.12/USR/LOCAL/BIN/maxima
(maxima) 34 % file stat [auto_execok maxima] bar
(maxima) 35 % parray bar
bar(atime) = 1031371200
bar(ctime) = 1031427565
bar(dev)   = 2
bar(gid)   = 0
bar(ino)   = 0
bar(mode)  = 33188
bar(mtime) = 1031427566
bar(nlink) = 1
bar(size)  = 6128
bar(type)  = file
bar(uid)   = 0
(maxima) 36 % format %o 33188
100644

Has anyone any ideas? Please cc: replies to my email.

Many thanks

Mike.

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




gcc doesn't work but seemed to install fine...

2002-09-23 Thread Betty Cheung


Hi, all,

   I installed cygwin 1.3.1 whole package on my PC with windows XP from 
download.com as instructed and started cygwin from my desktop. But when I 
compile a c program: gcc try.c -o try.exe, I got "bash: gcc: command not 
found", then I typed 'man gcc' I got "bash: man: command not found".
  Could anybody tell me how to use gcc with cygwin? any demo for that?


Many Thanks!


Betty






_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
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: php compilation error = expat problem?

2002-09-23 Thread S . L .

Andreas,
[...]
> > > I encountered problems concerning the installation of expat
> (1.95.4-1).
[...]
> Could somebody please explain the occurence of the error when compiling
> php
> (even with reinstalled expat package)(used command:
> ./configure --with-apxs --without-mysql --with-pgsql --with-expat-dir):
> ...
[...]

Do you build a shared version of expat? Because the " --with-apxs" option in
php's configure command, assumes this. 

[...]
> Does the following problem correlate with a missing package and/or
> configure
> option of php (if yes, which one)? Could it be a problem with expat?
[...]

You could try a
CFLAGS="-I"
LDFLAGS="-lexpat" configure  
command, to see if this is the problem.
Of course, you could add the option --with-xml=no and eliminate this problem
:)
... or build a shared core version of apache+php (not shared modules), or a
static version.

SLao

-- 
Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX wählen -
und tolle Preise absahnen! http://www.onlinestar.de


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




[ANNOUNCEMENT] Updated rxvt-2.7.2-13

2002-09-23 Thread Steve O

Hi,

rxvt is a replacement for the Windows command window.

This version fixes:

- Paste bug on Windows NT and ME.  Thanks to Pierre Humblet and
Nicholas Wourms for helping debug this.
- ClearType with fixed width fonts.

Please read /usr/doc/Cygwin/rxvt-2.7.2.README if you are new to
using rxvt. 

-steve

--Install instructions--

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

Note that we have recently stopped downloads from sources.redhat.com
(aka cygwin.com) due to bandwidth limitations.  This means that you will
need to find a mirror which has this update.

In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/
is usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package
then you can either wait for the site to be updated or find another
mirror.

The setup.exe program will figure out what needs to be updated on your
system and will install newer packages automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate if you would
use this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question, the Cygwin mailing list
is the appropriate place.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]


--
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: MMap offset parameter failing with ENOMEM error

2002-09-23 Thread Corinna Vinschen

On Tue, Sep 24, 2002 at 08:38:22AM +1000, Shane Mann wrote:
> Hi,
> 
> Has this issue been confirmed as a bug? Is it being looked into?

As time permits.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

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