Bug 2606 - Python plugins's ./configure passes without PyGTK
Summary: Python plugins's ./configure passes without PyGTK
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins (show other bugs)
Version: 3.8.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2012-02-18 10:32 UTC by Valentin Lorentz
Modified: 2012-02-18 11:02 UTC (History)
0 users

See Also:


Attachments

Description Valentin Lorentz 2012-02-18 10:32:11 UTC
Hi,

The Python plugins depends on PyGTK (the 'make' fails without it), but ./configure passes without PyGTK installed.

Regards,
Valentin Lorentz
Comment 1 Paul 2012-02-18 10:51:03 UTC
It does check for it:

[...]
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CLAWS_MAIL... yes
checking for GLIB... yes
checking for GTK... yes
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
checking for python2.7-config... /usr/bin/python2.7-config
checking for PYGTK... no
configure: error: Package requirements (pygtk-2.0 >= 2.10.3) were not met:

No package 'pygtk-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 PYGTK_CFLAGS
and PYGTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 2 Valentin Lorentz 2012-02-18 11:02:18 UTC
It must be specific to Debian, then.

checking for GTK... yes
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
checking for python2.7-config... /usr/bin/python2.7-config
checking for PYGTK... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating pluginconfig.h
config.status: pluginconfig.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
progval@ProgVal-Andromede-Debian:~/src/python_plugin-0.9$ make
make  all-recursive
make[1]: entrant dans le r

Note You need to log in before you can comment on or make changes to this bug.