mån 2003-01-13 klockan 16.53 skrev Martijn Brouwer: > When I compile pygtk using distuitls (./setup.py install >--prefix=/home/martijn/sys/) compilation of atk.c fails with: > > building 'atk' extension > skipping atkmodule.c (build/temp.linux-i686-2.2/atkmodule.o up-to-date) > gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DVERSION="1.99.14" >-DPYGTK_MAJOR_VERSION=1 -DPYGTK_MINOR_VERSION=99 -DPYGTK_MICRO_VERSION=14 >-I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I. -Igtk >-I/usr/include/python2.2 -c atk.c -o build/temp.linux-i686-2.2/atk.o > atk.c: In function `pyatk_register_classes': > atk.c:1569: parse error at end of input > error: command 'gcc' failed with exit status 1
Strange. I seems that the code generator was interrupted when generating atk.c Try to remove atk.c (it's generated) and the build/ directory (it's used by distutils) If it still doesn't work, could you send me a more detailed bug report with gcc version, python version and the broken atk.c. -- Johan Dahlin <[EMAIL PROTECTED]> Async Open Source _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
