Error on make

19 views
Skip to first unread message

Rich

unread,
Jan 21, 2009, 9:15:43 PM1/21/09
to Parasite
./configure went fine, make gives this:

python-hooks.c:3:23: error: pygobject.h: No such file or directory
python-hooks.c:4:25: error: pygtk/pygtk.h: No such file or directory
make[2]: *** [python-hooks.lo] Error 1
make[2]: Leaving directory `/home/rich/src/gtkparasite/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rich/src/gtkparasite'
make: *** [all] Error 2

(This is on Ubuntu 8.04)

pyGTK is installed. Thoughts?

Also: Will I be able to run this on noncompiled pyGTK apps?

Such as:

$ GTK_MODULES=gtkparasite python myapp.py


?
Thanks!
Rich

Rui Tiago Cação Matos

unread,
Jan 22, 2009, 4:15:42 AM1/22/09
to gtkpa...@googlegroups.com
2009/1/22 Rich <mise...@gmail.com>:

>
> ./configure went fine, make gives this:
>
> python-hooks.c:3:23: error: pygobject.h: No such file or directory
> python-hooks.c:4:25: error: pygtk/pygtk.h: No such file or directory

You need the python-gtk2-dev and the python-gobject-dev packages.

> Also: Will I be able to run this on noncompiled pyGTK apps?
>
> Such as:
>
> $ GTK_MODULES=gtkparasite python myapp.py

I don't think it will work because the gtk module already loads the
python runtime itself so it will probably not work. I didn't try
though.

Rui

Reply all
Reply to author
Forward
0 new messages