LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 04-06-2015, 09:23 AM   #1
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36
Question Pidgin will not compile regardless of version


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.

Last edited by pusrob; 04-06-2015 at 02:53 PM.
 
Old 04-06-2015, 06:19 PM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Did you install dev-python/setuptools? I know I've read before this has solved for this issue.

Last edited by Timothy Miller; 04-06-2015 at 06:20 PM.
 
Old 04-12-2015, 07:28 AM   #3
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Original Poster
Rep: Reputation: 36
All right, I'm entirely sure now, that some of my python packages are broken. I tried to reinstall dev-python/setuptools but it won't install either. The /usr/bin/include/python3.3/pyconfig.h file is also missing.

Is there a way to remerge all python related packages?
Also, it would be heplful if someone could tell me which package installs pyconfig.h and python.h (and probably some other) header files.

Thanks.

EDIT: I opened up a new thread, as the problem is not pidgin related and is far more general (as it affects several packages). The discussion should continue in that new thread. Thanks.

Last edited by pusrob; 04-16-2015 at 06:27 AM.
 
  


Reply

Tags
compile, dbus, pidgin, python



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update pidgin to latest version manojmore Linux - Software 1 05-30-2013 08:57 PM
To compile against particular version of library ammayappan Linux - Newbie 3 02-07-2012 05:30 AM
How can a update Tork and Pidgin in incognito To the last version ? ipod1505 Incognito 0 06-17-2010 09:19 AM
Pidgin is stucked in version 2.4.3 in Debian Lenny bbmak Linux - Software 4 06-07-2010 10:04 PM
Problem with Pidgin when chatting with someone else using Pidgin on Ubuntu trainee Slackware 1 06-10-2009 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 10:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration