Ok, now I have it build.  The install is not working out very well for
me.  It seems to not like pango:

C:\Documents and Settings\CLambacher\My Documents\downloads\pygtk\pygtk-2.5.3>py
thon setup.py install --skip-build
* Numeric module could not be found, will build without Numeric support.
running install
running install_lib
copying build\lib.win32-2.4\atk.pyd -> c:\python24\Lib\site-packages\gtk-2.0
copying build\lib.win32-2.4\gobject.pyd -> c:\python24\Lib\site-packages\gtk-2.0

copying build\lib.win32-2.4\gtk\glade.pyd -> c:\python24\Lib\site-packages\gtk-2
.0\gtk
copying build\lib.win32-2.4\gtk\_gtk.pyd -> c:\python24\Lib\site-packages\gtk-2.
0\gtk
copying build\lib.win32-2.4\pango.pyd -> c:\python24\Lib\site-packages\gtk-2.0
Traceback (most recent call last):
  File "setup.py", line 263, in ?
    cmdclass={'install_lib': PyGtkInstallLib,
  File "C:\Python24\Lib\distutils\core.py", line 149, in setup
    dist.run_commands()
  File "C:\Python24\Lib\distutils\dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "C:\Python24\Lib\distutils\dist.py", line 966, in run_command
    cmd_obj.run()
  File "C:\Python24\Lib\distutils\command\install.py", line 505, in run
    self.run_command(cmd_name)
  File "C:\Python24\Lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "C:\Python24\Lib\distutils\dist.py", line 966, in run_command
    cmd_obj.run()
  File "setup.py", line 80, in run
    self.install_template('pygobject-2.0.pc.in',
  File "C:\Python24\Lib\distutils\cmd.py", line 112, in __getattr__
    raise AttributeError, attr
AttributeError: install_template


On Fri, 18 Feb 2005 11:35:23 +0100, Cedric Gustin
<[EMAIL PROTECTED]> wrote:
> Chris Lambacher wrote:
> > I am trying to compile pygtk 2.5.3 on win32.  I get the following when
> > it tries to link gobject.pyd:
> >
> > c:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DPYGTK_MAJOR_VERSION=2 
> > -DPYGTK_
> > MINOR_VERSION=5 -DPYGTK_MICRO_VERSION=3 -DVERSION=\"2.5.3\" 
> > -IC:/GTK/include/gli
> > b-2.0 -IC:/GTK/lib/glib-2.0/include -I. -Igtk -Igobject 
> > -Ic:\python24\include -I
> > c:\python24\PC -c gobject/pygtype.c -o 
> > build\temp.win32-2.4\Release\gobject\pygt
> > ype.o -mms-bitfields
> > writing build\temp.win32-2.4\Release\gobject\gobject.def
> > c:\mingw\bin\gcc.exe -mno-cygwin -shared -s 
> > build\temp.win32-2.4\Release\gobject
> > \gobjectmodule.o build\temp.win32-2.4\Release\gobject\pygboxed.o 
> > build\temp.win3
> > 2-2.4\Release\gobject\pygenum.o 
> > build\temp.win32-2.4\Release\gobject\pygflags.o
> > build\temp.win32-2.4\Release\gobject\pygobject.o 
> > build\temp.win32-2.4\Release\go
> > bject\pygmaincontext.o build\temp.win32-2.4\Release\gobject\pygmainloop.o 
> > build\
> > temp.win32-2.4\Release\gobject\pygparamspec.o 
> > build\temp.win32-2.4\Release\gobje
> > ct\pygpointer.o build\temp.win32-2.4\Release\gobject\pygtype.o 
> > build\temp.win32-
> > 2.4\Release\gobject\gobject.def -LC:/GTK/lib -Lc:\python24\libs 
> > -Lc:\python24\PC
> > Build -lgobject-2.0 -lglib-2.0 -lintl -liconv -lpython24 -lmsvcr71 -o 
> > build\lib.
> > win32-2.4\gobject.pyd
> > build\temp.win32-2.4\Release\gobject\gobjectmodule.o(.text+0x39ba):gobjectmodule
> > .c: undefined reference to `g_thread_init'
> > error: command 'gcc' failed with exit status 1
> >
> >
> > I included the compile line from the last .o file so that you can see
> > what the compile flags are as well.  Anyone have any suggestions?
> 
> Try to build with the "-enable-threading" option.
> 
> Cedric
> 


-- 
Christopher Lambacher
[EMAIL PROTECTED]
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to