Re: [pygtk] Is there a prebuilt runtime for windows?

2002-10-07 Thread Christian Reis

On Mon, Oct 07, 2002 at 07:05:55PM +0200, Grzegorz Adam Hankiewicz wrote:
> On Mon, Oct 07, 2002 at 02:35:36PM +0200, Cedric Gustin wrote:
> > >   libiconv-1.7-w32.bin.zip
> > 
> > I don't know why Tor Lillqvist is changing its library dependencies
> > all the time. A few weeks, the port of iconv that was recommended (and
> > the one I'm currently using whenbuilding pygtk on win32) was the one
> > provided by the gnuwin32 project
> > 
> > http://sourceforge.net/project/showfiles.php?group_id=23617&release_id=41715
> > 
> > which seems to extract itself into the right directory (./bin and ./lib). 
> > Strange.
> 
> True. Then maybe an explicit link for libiconv should be made to avoid
> Tor's package?

Done. See
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq21.002.htp

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Is there a prebuilt runtime for windows?

2002-10-07 Thread Grzegorz Adam Hankiewicz

On Mon, Oct 07, 2002 at 02:35:36PM +0200, Cedric Gustin wrote:
> >   libiconv-1.7-w32.bin.zip
> 
> I don't know why Tor Lillqvist is changing its library dependencies
> all the time. A few weeks, the port of iconv that was recommended (and
> the one I'm currently using whenbuilding pygtk on win32) was the one
> provided by the gnuwin32 project
> 
> http://sourceforge.net/project/showfiles.php?group_id=23617&release_id=41715
> 
> which seems to extract itself into the right directory (./bin and ./lib). 
> Strange.

True. Then maybe an explicit link for libiconv should be made to avoid
Tor's package?
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Is there a prebuilt runtime for windows?

2002-10-07 Thread Cedric Gustin

At 09:49 PM 10/5/2002 +0200, Grzegorz Adam Hankiewicz wrote:

>I've tried now, and if you mindlessly follow the instructions it won't
>work. First if all, the list of packages at this moment is:
>
>libiconv-1.7-w32.bin.zip

I don't know why Tor Lillqvist is changing its library dependencies all the 
time. A few weeks, the port of iconv that was recommended (and the one I'm 
currently using whenbuilding pygtk on win32) was the one provided by the 
gnuwin32 project

http://sourceforge.net/project/showfiles.php?group_id=23617&release_id=41715

which seems to extract itself into the right directory (./bin and ./lib). 
Strange.

Cedric

>After installation pygtk doesn't work because some DLL import failed:
>
> >>> import gtk, gtk.glade
>Traceback (most recent call last):
>   File "", line 1, in ?
> import gtk, gtk.glade
>   File "C:\PYTHON22\Lib\site-packages\pygtk\gtk\__init__.py", line 14, in ?
> import gobject
>ImportError: DLL load failed: No se puede hallar uno de los archivos de 
>biblioteca necesarios para ejecutar esta aplicaciĆ³n.
> >>>
>
>The problem is in the libiconv-1.7-w32.bin.zip file, which doesn't
>uncompress correctly into the %gtkdir% tree structure, instead, it
>creates a libiconv-1.7-w32.bin directory.  So I manually copied the dll
>files to ../lib, and the exe to ../bin, and then everything worked and
>I could run my pygtk2 examples without problems.

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Is there a prebuilt runtime for windows?

2002-10-05 Thread Grzegorz Adam Hankiewicz

On Fri, Oct 04, 2002 at 12:05:38AM +0200, Grzegorz Adam Hankiewicz wrote:
> > > Thank you very much. BTW, some names have changed, and the win32 gtk
> > > page says you need libjpeg-6b, zlib, freetype2, tiff and libpng too,
> > > or is that only for gimp?

I've tried now, and if you mindlessly follow the instructions it won't
work. First if all, the list of packages at this moment is:

   libiconv-1.7-w32.bin.zip
   libintl-0.10.40-tml-20020904.zip
   glib-2.0.6-20020802.zip
   gtk+-2.0.6-20020921.zip
   atk-1.0.3-20020821.zip
   pango-1.0.4-20020921.zip

After installation pygtk doesn't work because some DLL import failed:

>>> import gtk, gtk.glade
Traceback (most recent call last):
  File "", line 1, in ?
import gtk, gtk.glade
  File "C:\PYTHON22\Lib\site-packages\pygtk\gtk\__init__.py", line 14, in ?
import gobject
ImportError: DLL load failed: No se puede hallar uno de los archivos de biblioteca 
necesarios para ejecutar esta aplicaciĆ³n.
>>> 

The problem is in the libiconv-1.7-w32.bin.zip file, which doesn't
uncompress correctly into the %gtkdir% tree structure, instead, it
creates a libiconv-1.7-w32.bin directory.  So I manually copied the dll
files to ../lib, and the exe to ../bin, and then everything worked and
I could run my pygtk2 examples without problems.

Please update this into the faq.
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Is there a prebuilt runtime for windows?

2002-10-03 Thread Grzegorz Adam Hankiewicz

On Thu, Oct 03, 2002 at 06:48:41PM -0300, Christian Reis wrote:
> > Thank you very much. BTW, some names have changed, and the win32 gtk
> > page says you need libjpeg-6b, zlib, freetype2, tiff and libpng too,
> > or is that only for gimp?
> 
> FAQ 21.12 is for PyGTK2, mind you, not PyGTK-0, which is why some of the
> requirements are different. Which version are you using?

PyGTK2. According to the page those requeriments come from GTK2.0 for
windows.
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Is there a prebuilt runtime for windows?

2002-10-03 Thread Christian Reis

On Thu, Oct 03, 2002 at 11:18:57PM +0200, Grzegorz Adam Hankiewicz wrote:
> Thank you very much. BTW, some names have changed, and the win32 gtk
> page says you need libjpeg-6b, zlib, freetype2, tiff and libpng too,
> or is that only for gimp?

FAQ 21.12 is for PyGTK2, mind you, not PyGTK-0, which is why some of the
requirements are different. Which version are you using?

I think the libs posted on the page are used by Gimp and perhaps by
gdkpixbuf if you choose to use it. At any rate, Gimp for windows is
based on GTK-1.2 IIRC.

> PD: Love steps 5 and 10.

Gotta love windows :)

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Is there a prebuilt runtime for windows?

2002-10-03 Thread Grzegorz Adam Hankiewicz

On Wed, Oct 02, 2002 at 07:13:44PM -0300, Christian Reis wrote:
> > that, but I guess I'll find out). Now, where's pygtk for win32? If it
> > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
> 
> Take care,

Thank you very much. BTW, some names have changed, and the win32 gtk
page says you need libjpeg-6b, zlib, freetype2, tiff and libpng too,
or is that only for gimp?

PD: Love steps 5 and 10.
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Is there a prebuilt runtime for windows?

2002-10-02 Thread Christian Reis

On Wed, Oct 02, 2002 at 11:41:45PM +0200, Grzegorz Adam Hankiewicz wrote:

> that, but I guess I'll find out). Now, where's pygtk for win32? If it

> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Is there a prebuilt runtime for windows?

2002-10-02 Thread Grzegorz Adam Hankiewicz

On Mon, Sep 30, 2002 at 08:52:33PM -0300, Christian Reis wrote:
> > to eventually deploy the programs in windows platforms. So I am looking
> > for an easy to install .exe file which I could install everywhere
> > and after that all my pygtk code could run without problems. Does
> > such a thing exist?
> 
> Rather offtopic, but:
> 
> - http://www.mcmillan-inc.com/install1.html does something which could
>   work for individual apps

Ah, sorry, I was not meaning that, creating an installable binary is
not my goal.  What I'm trying to do is run pygtk and gtk 2.0 under
windows. The installation process is easy and documented for linux,
but I don't see anywhere how can I do it under windows, presumably pygtk
works under windows too, no?

I've found the page at http://www.gimp.org/~tml/gimp/win32/downloads.html,
and downloaded all the gtk+-2.0.6 and related zips, then installed to
some directory.  Cool, that's easy (I still don't know what to do with
that, but I guess I'll find out). Now, where's pygtk for win32? If it
has to be built from the cvs sources, how?
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Is there a prebuilt runtime for windows?

2002-09-30 Thread Christian Reis

On Fri, Sep 27, 2002 at 11:25:16PM +0200, Grzegorz Adam Hankiewicz wrote:
> 
> to eventually deploy the programs in windows platforms. So I am looking
> for an easy to install .exe file which I could install everywhere and
> after that all my pygtk code could run without problems. Does such a
> thing exist?

Rather offtopic, but:

- http://www.mcmillan-inc.com/install1.html does something which could
  work for individual apps
- you can cook something up using inno setup for pygtk and python. 

Having said that, Python and the Windows PyGTK installer are pretty easy
to setup, even for windows lusers.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/