Install some individual package

2007-06-10 Thread Enchanter
I have installed the cygwin before. Now I want to install some individual
package such as emacs22 or update some packages. How should I do?

 


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



Using PyGTK on Cygwin

2007-06-10 Thread Ignazio Di Napoli

Hi everyone.
I'm a very newbie with Python: while I was looking for a way to add a 
simple GUI to a bash script, I found PyGTK and it looked perfect for my aim.
So, I checked that Python and PyGTK were installed and updated through 
Cygwin setup, and everything was fine.

I wrote this simple "hello world" script and tried to run:

---
import gtk

#Global variable 'count' stores the number of button clicks
count = 0

def button_pressed_cb(button):
global count
count += 1
print "Hello again - the button was pressed: ", count, " time(s)."

window = gtk.Window()
window.set_title("Hello World!")

button = gtk.Button("Press me")
button.connect("clicked", button_pressed_cb)

window.add(button)
window.connect("delete-event", gtk.main_quit)
window.show_all()

gtk.main()
---

It stops on the first line:

Traceback (most recent call last):
  File "prova.py", line 1, in 
import gtk
ImportError: No module named gtk



Can please anyone help me?

Thank you,
Ignazio


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



Re: Using PyGTK on Cygwin

2007-06-10 Thread Saro Engels

Ignazio Di Napoli schrieb:

Hi everyone.
I'm a very newbie with Python:



import gtk

Traceback (most recent call last):
  File "prova.py", line 1, in 
import gtk
ImportError: No module named gtk


This is a bit off topic on this list. It seems that Pygtk is not in the 
python path (probably look in system.path) but since it is very surely 
not a cygwin issue you should ask in the python/pygtk mailing lists.


SE

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



Re: Using PyGTK on Cygwin

2007-06-10 Thread Ignazio Di Napoli

Ignazio Di Napoli wrote:

[...]


I found an old discussion (too old for my newsreader, not so for 
internet archives) talking about this problem.
The problem seems to be with Python version switch from 2.4 to 2.5, or 
at least I think so: pygtk.py is in /lib/python2.4 instead of 
/lib/python2.5, and from what I understood the packages need to be 
recompiled.
Is there any workaround, other than downgrading to python 2.4? I ask 
this because my software should be run by people with little computer 
experience, and I would like to make the installation the simpler 
possible, and I think that when updated packages will be released the 
note "select the old version" would be obsolete.

Any idea on when update packages will be released?

Thank you
Ignazio


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



Re: Using PyGTK on Cygwin

2007-06-10 Thread Ignazio Di Napoli

Saro Engels wrote:
This is a bit off topic on this list. 


I think the problem it's with Cygwin installation, that's why I used 
this list.


Ignazio


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



Memory leakage?

2007-06-10 Thread Edgar Matzinger
Hello list,

  I wonder if there is a memory leakage problem with the current cygwin
release. After upgrading to it, and trying to compile Gnome (using
garnome), the memory usage keeps increasing. Even after I've stopped
the building process, the memory isn't freed up. Does anyone have the
same expeerience?

Greetings, Edgar.
-- 
   \|||/
   (o o) Just curious...
ooO-(_)-Ooo-


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



Packaging error in grep-2.5.1a-3

2007-06-10 Thread Dr. Volker Zell
Hi

The latest grep version has a file:

 /usr/share/info/dir.old

which looks spurious.

Ciao
  Volker


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



Re: Install some individual package

2007-06-10 Thread yitzle

On 6/8/07, Enchanter <[EMAIL PROTECTED]> wrote:

I have installed the cygwin before. Now I want to install some individual
package such as emacs22 or update some packages. How should I do?


Run the setup.exe again and check the package.

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



[ANNOUNCEMENT] Updated: gperf-3.0.3-1

2007-06-10 Thread Christopher Faylor
I've made a new version of 'gperf' (http://www.gnu.org/software/gperf/)
available for installation.  This is the most recent version of gperf
available from ftp.gnu.org.

For a brief description of this package, and a listing of the files it
contains, see http://cygwin.com/packages/gperf .

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 keep clicking "Next".

If you have questions or comments, please send them to the Cygwin
mailing list.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then 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]

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

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



[ANNOUNCEMENT] Updated: grep-2.5.1a-4

2007-06-10 Thread Christopher Faylor
I've made a new version of 'grep' (http://www.gnu.org/software/grep/)
available for installation.  This is the most recent version of grep
available from ftp.gnu.org + patches which fix some problems with the
-P option.

For a brief description of this package, and a listing of the files it
contains, see http://cygwin.com/packages/grep .

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 keep clicking "Next".

If you have questions or comments, please send them to the Cygwin
mailing list.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then 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]

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

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



RE: Memory leakage?

2007-06-10 Thread Dave Korn
On 10 June 2007 13:00, Edgar Matzinger wrote:

> Hello list,
> 
>   I wonder if there is a memory leakage problem with the current cygwin
> release. After upgrading to it, and trying to compile Gnome (using
> garnome), the memory usage keeps increasing. Even after I've stopped
> the building process, the memory isn't freed up. 

  How exactly are you measuring the memory usage of a process that no longer
exists, then?


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: Memory leakage?

2007-06-10 Thread Mark Geisert
Dave Korn writes:
> 
> On 10 June 2007 13:00, Edgar Matzinger wrote:
> 
> >   I wonder if there is a memory leakage problem with the current cygwin
> > release. After upgrading to it, and trying to compile Gnome (using
> > garnome), the memory usage keeps increasing. Even after I've stopped
> > the building process, the memory isn't freed up. 
> 
>   How exactly are you measuring the memory usage of a process that no longer
> exists, then?
> 
> cheers,
>   DaveK

In my case I see it with Windows Task Manager, the PF Usage displays.  Memory 
usage slowly increases over time, seemingly when there is lots of process 
creation going on such as during large makes.  On my systems with paging turned 
off, eventually all memory is consumed and things really go to hell.

I've found an easy testcase.  Remember this bash script?
#! /bin/bash
mypath=$(pwd)
while [[ ! -z $mypath ]]
do
  mypath=$(pwd)
  if [[ -z $mypath ]]
  then
echo "Test failed.. Path is empty."
  fi
done

I run this for a while and see gradually increasing memory usage.  Even when 
all Cygwin processes are subsequently exited, that memory is not released.  I 
also recoded that script for ash and ksh and the same thing happens, so it's 
not bash's problem.

..mark





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



Re: Memory leakage?

2007-06-10 Thread Christopher Faylor
On Sun, Jun 10, 2007 at 10:16:41PM +, Mark Geisert wrote:
>Dave Korn writes:
>> 
>> On 10 June 2007 13:00, Edgar Matzinger wrote:
>> 
>> >   I wonder if there is a memory leakage problem with the current cygwin
>> > release. After upgrading to it, and trying to compile Gnome (using
>> > garnome), the memory usage keeps increasing. Even after I've stopped
>> > the building process, the memory isn't freed up. 
>> 
>>   How exactly are you measuring the memory usage of a process that no longer
>> exists, then?
>
>In my case I see it with Windows Task Manager, the PF Usage displays.  Memory 
>usage slowly increases over time, seemingly when there is lots of process 
>creation going on such as during large makes.  On my systems with paging 
>turned 
>off, eventually all memory is consumed and things really go to hell.
>
>I've found an easy testcase.  Remember this bash script?
>#! /bin/bash
>mypath=$(pwd)
>while [[ ! -z $mypath ]]
>do
>  mypath=$(pwd)
>  if [[ -z $mypath ]]
>  then
>echo "Test failed.. Path is empty."
>  fi
>done
>
>I run this for a while and see gradually increasing memory usage.  Even when 
>all Cygwin processes are subsequently exited, that memory is not released.  I 
>also recoded that script for ash and ksh and the same thing happens, so it's 
>not bash's problem.

...and if all Cygwin processes are subsequently exited then it isn't
Cygwin's fault either.  Let's not go down this path again.  Cygwin has
no magical powers to make Windows permanently use memory.  Look to
resident third-party software to perform this feat, not Cygwin.

cgf

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



RE: Memory leakage?

2007-06-10 Thread Dave Korn
On 11 June 2007 00:21, Christopher Faylor wrote:

> On Sun, Jun 10, 2007 at 10:16:41PM +, Mark Geisert wrote:
>> Dave Korn writes:
>>> 
>>> On 10 June 2007 13:00, Edgar Matzinger wrote:
>>> 

>> I run this for a while and see gradually increasing memory usage.  Even
>> when all Cygwin processes are subsequently exited, that memory is not
>> released.  I also recoded that script for ash and ksh and the same thing
>> happens, so it's not bash's problem.
> 
> ...and if all Cygwin processes are subsequently exited then it isn't
> Cygwin's fault either.  Let's not go down this path again.  Cygwin has
> no magical powers to make Windows permanently use memory.  Look to
> resident third-party software to perform this feat, not Cygwin.

  Suspect your anti-virus' on-access file scanner.  They've been observed to
cause this kind of problem before.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: Memory leakage?

2007-06-10 Thread Mark Geisert
Christopher Faylor  cygwin.com> writes:
On Sun, Jun 10, 2007 at 10:16:41PM +, Mark Geisert wrote:
> [original question and my incorrect analysis elided...]
> 
> ...and if all Cygwin processes are subsequently exited then it isn't
> Cygwin's fault either.  Let's not go down this path again.  Cygwin has
> no magical powers to make Windows permanently use memory.  Look to
> resident third-party software to perform this feat, not Cygwin.
> 
> cgf

Of course you're correct here CGF; sorry for the noise.  My home systems and 
work systems that show the problem have different sets of resident 3rd-party 
software, none of which seem to be on the Known Bad Apps list.  I jumped to the 
wrong conclusion.  The depressing alternate conclusion is that there are more 
Bad Apps to be added to the list.  I'll see if I can figure out what those are.
Thanks,

..mark


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