Summary: | gnome-extra/libgsf: Verify and potentially improve Python-related code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 308257, 313471 | ||
Attachments: | Fix to Python 2 |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
2010-04-06 17:17:16 UTC
Created attachment 263923 [details, diff]
Fix to Python 2
With Python3 as the default USE="python" libgsf-1.14.19 fails to find Python2 and install the bindings:
checking for python... /usr/bin/python
checking for python version... 3.1
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python3.1/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.1/site-packages
checking for headers required to compile python extensions... File "<string>", line 1
import sys; print sys.prefix
^
SyntaxError: invalid syntax
File "<string>", line 1
import sys; print sys.exec_prefix
^
SyntaxError: invalid syntax
not found
NO. Missing python headers
Patch attached that fixes it for me.
Support for installation for multiple Python ABIs added in gnome-extra/libgsf-1.14.19. |