Hi.
I'm trying to remerge pidgin with an additional use flag, but the compilation process never finishes regardless which version I'm trying to compile (stable or ~amd64). It gives me the following error message:
Code:
* dbus is enabled, no way to disable linkage with python => python is enabled
* ERROR: net-im/pidgin-2.10.11::gentoo failed (compile phase):
* emake failed
Well, I really have no idea what to do from this point, as google doesn't give much useful results for this error. Should I reinstall python maybe? Or what? The end of the build.log file is as follows (if it helps):
Code:
/bin/sh ../../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ncursesw/ -Wall -DPURPLE_DISABLE_DEPRECATED -DPIDGIN_DISABLE_DEPRECATED -DFINCH_DISABLE_DEPRECATED -DGNT_DISABLE_DEPRECATED -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Werror-implicit-function-declaration -Wextra -Wno-unused-parameter -Wformat-security -Werror=format-security -Winit-self -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -Wp,-D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -I/usr/bin/include/python2.7 -I/usr/bin/include/python2.7 -g -march=native -O2 -pipe -c -o gntwm.lo gntwm.c
/bin/sh ../../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ncursesw/ -Wall -DPURPLE_DISABLE_DEPRECATED -DPIDGIN_DISABLE_DEPRECATED -DFINCH_DISABLE_DEPRECATED -DGNT_DISABLE_DEPRECATED -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Werror-implicit-function-declaration -Wextra -Wno-unused-parameter -Wformat-security -Werror=format-security -Winit-self -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -Wp,-D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -I/usr/bin/include/python2.7 -I/usr/bin/include/python2.7 -g -march=native -O2 -pipe -c -o gntws.lo gntws.c
/bin/sh ../../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ncursesw/ -Wall -DPURPLE_DISABLE_DEPRECATED -DPIDGIN_DISABLE_DEPRECATED -DFINCH_DISABLE_DEPRECATED -DGNT_DISABLE_DEPRECATED -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Werror-implicit-function-declaration -Wextra -Wno-unused-parameter -Wformat-security -Werror=format-security -Winit-self -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wundef -Wp,-D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -I/usr/bin/include/python2.7 -I/usr/bin/include/python2.7 -g -march=native -O2 -pipe -c -o gntmain.lo gntmain.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
gntwm.c:26:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
Makefile:721: recipe for target 'gntwm.lo' failed
make[5]: *** [gntwm.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
make[5]: Leaving directory '/tmp/portage/net-im/pidgin-2.10.11/work/pidgin-2.10.11/finch/libgnt'
Makefile:778: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/tmp/portage/net-im/pidgin-2.10.11/work/pidgin-2.10.11/finch/libgnt'
Makefile:593: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/tmp/portage/net-im/pidgin-2.10.11/work/pidgin-2.10.11/finch/libgnt'
Makefile:785: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/portage/net-im/pidgin-2.10.11/work/pidgin-2.10.11/finch'
Makefile:625: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/portage/net-im/pidgin-2.10.11/work/pidgin-2.10.11'
Makefile:528: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: net-im/pidgin-2.10.11::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-im/pidgin-2.10.11::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-im/pidgin-2.10.11::gentoo'`.
* The complete build log is located at '/tmp/portage/net-im/pidgin-2.10.11/temp/build.log'.
* The ebuild environment file is located at '/tmp/portage/net-im/pidgin-2.10.11/temp/environment'.
* Working directory: '/tmp/portage/net-im/pidgin-2.10.11/work/pidgin-2.10.11'
* S: '/tmp/portage/net-im/pidgin-2.10.11/work/pidgin-2.10.11'
Thanks in advance.
EDIT: disabling the extra flag does not help (which was sasl), still getting the same error.
EDIT2: remerging python did not help either...
EDIT3: It seems I've got missing python header files. Which package provides the python headers?
EDIT4: using the "eselect python set 1" command didn't work either. I also deleted the whole folder of pidgin from /tmp/portage, but had no effect.
EDIT5: I think (maybe) the comiler looks for python.h in /usr/bin/include/python2.7 but it does not exist there.
EDIT6: "python-updater" didn't think I need to reinstall anything.