Summary: | pygtk-2.14.1 needs DL_EXPORT macro | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Relson <relson> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | patrick |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge output |
Description
David Relson
2009-04-25 20:05:27 UTC
Created attachment 189416 [details]
emerge output
Can't reproduce that. pygtk compiles quite nicely here. Evidently macro DL_EXPORT exists on your machine but not mine. As a guess, it's in a file in /usr/include. "grep -r DL_EXPORT /usr/include" might reveal its owner. I wonder if it's in an unstable package that I don't have installed. I found that DL_EXPORT is defined in /usr/include/python2.6/Python.h and /usr/include/python2.6/pyport.h. Evidently neither file is being included when atkmodule.c is compiled. Will continue digging into the problem ... Evidently ./configure found the python3.1 installation and used it (even though eselect shows 2.6.1 is active). The compile line for atkmodule.c includes: libtool: ... -I/usr/include/python3.1 ... -c atkmodule.c this derives from Makefile having: PYTHON_INCLUDES = -I/usr/include/python3.1 -I/usr/include/python3.1 In turn config.log shows: configure:11471: checking for python configure:11489: found /usr/bin/python configure:11501: result: /usr/bin/python configure:11521: checking for python version configure:11528: result: 2.6 configure:11540: checking for python platform configure:11547: result: linux2 configure:11554: checking for python script directory configure:11562: result: ${prefix}/lib64/python2.6/site-packages configure:11571: checking for python extension module directory configure:11579: result: ${exec_prefix}/lib64/python2.6/site-packages configure:11594: checking for headers required to compile python extensions configure:11622: x86_64-pc-linux-gnu-gcc -E -I/usr/include/python3.1 -I/usr/include/python3.1 conftest.c The question becomes: Why does configure show python-2.6 but use /usr/include/python3.1 As emerge --info shows, I had python 2.5.4-r2, 2.6.1, and 3.1 installed. After uninstalling 2.5.4-r2, "eselect python list" showed 3.1 as active. Running "eselect python set 1" made 2.6.1 active and "emerge pygtk" worked fine. Evidently my machine was confused with regard to the active version of python. |