x11-toolkits/py-gtk2 configure failure

Tim Hemel tim at timit.nl
Tue Jun 5 09:17:12 UTC 2007


Hi,

I was trying to upgrade x11-toolkits/py-gtk2 when I got an error message that 
the package was already installed. I did a make deinstall, followed by make 
reinstall, but that failed. After a make clean and a fresh make all install, 
the configure script failed with the following message:

checking pkg-config is at least version 0.9.0... yes
checking for PYGOBJECT... configure: error: Package requirements 
(pygobject-2.0 >= 2.12.1) were not met:

No package 'pygobject-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PYGOBJECT_CFLAGS
and PYGOBJECT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

===>  Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome at FreeBSD.org, and attach (a)
"/srv/tmp/usr/ports/x11-toolkits/py-gtk2/work/pygtk-2.10.4/config.log", (b)
the output of the failed make command, and (c) the gnomelogalyzer output.
Also, it might be a good idea to provide an overview of all packages installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome at FreeBSD.org), because attachments sent to FreeBSD mailing
lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-gtk2.

The gnomelogalyzer does not recognize this problem (as expected). The problem 
of course here is a catch-22: the configure script looks for an installed 
header file that is installed by this port itself. The solution would be to 
set the PYGOBJECT_* variables as suggested by the configure script, but I 
have no idea what values these should have. Attached is the configure log, if 
that is of any use.

Thanks,

Tim




More information about the freebsd-gnome mailing list