At 08:12 AM 7/12/2002 +0200, Thomas Guettler wrote:
>On Fri, Jul 12, 2002 at 09:03:23AM +0800, James Henstridge wrote:
> > Try running libtoolize in the glib/ base directory, then rerun
> > autogen.sh.  I think this is a problem in glib's autogen script (it may
> > also affect the gtk+ one).
>
>Hi,
>
>After running `libtoolize --force` I get this error when running make:
>
>gcc -g -O2 -Wall -pthreads -o .libs/glib-genmarshal.exe
>glib-genmarshal.o ../glib/.libs/libglib-2.0.dll.a -L/usr/lib -luser32
>-lwsock32 -lkernel32 /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a
>-Wl,--rpath -Wl,/usr/local/ lib
>gcc: unrecognized option `-pthreads'
>glib-genmarshal.o: In function `complete_in_arg':
>/home/Administrator/pygtk/glib/gobject/glib-genmarshal.c:209: undefined 
>reference to `g_log'
>glib-genmarshal.o: In function `complete_out_arg':
>/home/Administrator/pygtk/glib/gobject/glib-genmarshal.c:254: undefined 
>reference to `g_log'
>glib-genmarshal.o: In function `pad':
>/home/Administrator/pygtk/glib/gobject/glib-genmarshal.c:275: undefined 
>reference to `g_log'
>/home/Administrator/pygtk/glib/gobject/glib-genmarshal.c:278: undefined 
>reference to `g_malloc'
>/home/Administrator/pygtk/glib/gobject/glib-genmarshal.c:283: undefined 
>reference to `g_free'
>/home/Administrator/pygtk/glib/gobject/glib-genmarshal.c:284: undefined 
>reference to `g_strdup_printf'
>/home/Administrator/pygtk/glib/gobject/glib-genmarshal.c:285: undefined 
>reference to `g_log'
>.... [some error message repeats several times]
>/home/Administrator/pygtk/glib/gobject/glib-genmarshal.c:819: undefined 
>reference to `g_log_set_always_fatal'
>collect2: ld returned 1 exit status
>make[2]: *** [glib-genmarshal.exe] Error 1
>make[2]: Leaving directory `/home/Administrator/pygtk/glib/gobject'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/Administrator/pygtk/glib'
>make: *** [all] Error 2
>
>I have no clue what could be wrong. Has some hints?

Does `pkg-config --cflags --libs gtk+-2.0` return the expected compiler and 
linker flags ? Before trying to compile pygtk, make sure that you can 
compile a simple gtk+-2.0 C program.

You can also try with my modified source tarball

http://www.mapr.ucl.ac.be/~gustin/win32_ports/beta/pygtk-1.99.10-win32-src.tar.gz

Simply run
./configure --disable-static
make

When built, you'll have to change the DLLs name extension to .pyd

Cedric

_______________________________________________
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