[pygtk] pygtk 2.7.3 on win32

redclay redclay81 at gmail.com
Sat Aug 13 19:36:02 WST 2005


Hello,
I'm tying to compile pygtk 2.7.3 on win32, I have used this commnd:
  > python setup.py build -cmingw32 --enable-threading

I have modified the file setup.py to build gobject adding this at line 136:

'gobject/pygiochannel.c', 'gobject/pygsource.c'

I get this error when compiling pango:

-----------------------
C:\opt\gnuwin32\bin\gcc.exe -mno-cygwin -shared -s
build\temp.win32-2.3\Release\pango.o buil
d\temp.win32-2.3\Release\pangomodule.o build\temp.win32-2.3\Release\pango.def
-LC:/opt/gnuwin32/lib -LC:\Python23\libs -
LC:\Python23\PCBuild -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
-liconv -lpython23 -o build\lib.win32-2.3
\pango.pyd -lgthread-2.0 -lglib-2.0 -lintl -liconv
build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x229a): undefined reference
to `pango_item_get_type'
build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x2461): undefined reference
to `pango_layout_line_get_type'
build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x4fda): undefined reference
to `pango_layout_line_get_type'
build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x517d): undefined reference
to `pango_layout_line_get_type'
build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x6c9c): undefined reference
to `pango_layout_line_get_type'
build\temp.win32-2.3\Release\pango.o:pango.c:(.text+0x6cc0): undefined reference
to `pango_item_get_type'
collect2: ld returned 1 exit status
------------------------


More information about the pygtk mailing list