View previous topic :: View next topic |
Author |
Message |
med-gentoo n00b
Joined: 07 Jul 2012 Posts: 36
|
Posted: Sun Oct 07, 2012 9:38 pm Post subject: gnome installation problem |
|
|
hello
I'm trying to install gnome, and when emerge arive to nome-extra/gtkhtml-3.32.2 , it bloque and shows me this message
Code: | emake failed
* ERROR: gnome-extra/gtkhtml-3.32.2 failed (compile phase):
* compile failure
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2902: Called gnome2_src_compile
* environment, line 2196: Called die
* The specific snippet of code:
* emake || die "compile failure"
*
* If you need support, post the output of 'emerge --info =gnome-extra/gtkhtml-3.32.2',
* the complete build log and the output of 'emerge -pqv =gnome-extra/gtkhtml-3.32.2'.
* The complete build log is located at '/var/tmp/portage/gnome-extra/gtkhtml-3.32.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gtkhtml-3.32.2/temp/environment'.
* S: '/var/tmp/portage/gnome-extra/gtkhtml-3.32.2/work/gtkhtml-3.32.2'
>>> Failed to emerge gnome-extra/gtkhtml-3.32.2, Log file:
>>> '/var/tmp/portage/gnome-extra/gtkhtml-3.32.2/temp/build.log'
* Messages for package gnome-extra/gtkhtml-3.32.2:
* ERROR: gnome-extra/gtkhtml-3.32.2 failed (compile phase):
* compile failure
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2902: Called gnome2_src_compile
* environment, line 2196: Called die
* The specific snippet of code:
* emake || die "compile failure"
*
* If you need support, post the output of 'emerge --info =gnome-extra/gtkhtml-3.32.2',
* the complete build log and the output of 'emerge -pqv =gnome-extra/gtkhtml-3.32.2'.
* The complete build log is located at '/var/tmp/portage/gnome-extra/gtkhtml-3.32.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gtkhtml-3.32.2/temp/environment'.
* S: '/var/tmp/portage/gnome-extra/gtkhtml-3.32.2/work/gtkhtml-3.32.2'
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
|
and the content of '/var/tmp/portage/gnome-extra/gtkhtml-3.32.2/work/gtkhtml-3.32.2'
http://pastebin.mozilla.org/1860310
I installed gnome-extra/gtkhtml-4.4.3 but I have the same problem
how to resolve this problem ?? |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun Oct 07, 2012 9:49 pm Post subject: |
|
|
g_thread* functions are define in glib
i would say, rebuild glib |
|
Back to top |
|
|
med-gentoo n00b
Joined: 07 Jul 2012 Posts: 36
|
Posted: Sun Oct 07, 2012 9:59 pm Post subject: |
|
|
krinn wrote: | g_thread* functions are define in glib
i would say, rebuild glib |
done, but there is the same error report |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Sun Oct 07, 2012 10:06 pm Post subject: |
|
|
What's your profile set to? If you don't know, post the output of Code: | eselect profile list | please.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
med-gentoo n00b
Joined: 07 Jul 2012 Posts: 36
|
Posted: Sun Oct 07, 2012 10:08 pm Post subject: |
|
|
default/linux/amd64/10.0/desktop/gnome |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
|
Back to top |
|
|
med-gentoo n00b
Joined: 07 Jul 2012 Posts: 36
|
Posted: Sun Oct 07, 2012 10:16 pm Post subject: |
|
|
and how to proceed ? |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun Oct 07, 2012 11:56 pm Post subject: |
|
|
patch it yourself (removing the check and init as the 2nd patch do), and the easy way, respect the glib version to avoid the check (so install glib-2.31.0)
edit: i don't know what glib-2.31.0 will do on other parts of your gnome |
|
Back to top |
|
|
med-gentoo n00b
Joined: 07 Jul 2012 Posts: 36
|
Posted: Mon Oct 08, 2012 11:19 am Post subject: |
|
|
this two lines was not included In my main.c
Code: | #if !GLIB_CHECK_VERSION(2,31,0)
#endif |
so I tryied to compile manuelly and ...
Code: | gtkhtml-3.32.2 # make install
Making install in a11y
make[1]: Entering directory `/root/gtkhtml-3.32.2/a11y'
CC hyperlink.lo
hyperlink.c:40:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
hyperlink.c:41:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
hyperlink.c: In function 'atk_action_interface_init':
hyperlink.c:85:27: error: 'html_a11y_hyper_link_get_description' undeclared (first use in this function)
hyperlink.c:85:27: note: each undeclared identifier is reported only once for each function it appears in
hyperlink.c:86:27: error: 'html_a11y_hyper_link_get_name' undeclared (first use in this function)
hyperlink.c: At top level:
hyperlink.c:190:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
hyperlink.c:204:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
make[1]: *** [hyperlink.lo] Error 1
make[1]: Leaving directory `/root/gtkht |
then I remove g_thread_init (NULL); and I had the same message !! |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Oct 08, 2012 6:21 pm Post subject: |
|
|
FFS, don't use 'make install' on your live system (unless your plan is to eventually completely break it to pieces) !
@krinn: that "advice" of yours about glib 2.31... Honestly ?
As to explain those two commits: their final result was to remove 'g_thread_init(NULL);' as redundant; as such if you correctly modified the ebuild (which I kinda doubt), any new problem is most likely an independent one (and requires a new build log for us to examine). |
|
Back to top |
|
|
med-gentoo n00b
Joined: 07 Jul 2012 Posts: 36
|
Posted: Mon Oct 08, 2012 7:09 pm Post subject: |
|
|
VoidMage wrote: | FFS, don't use 'make install' on your live system (unless your plan is to eventually completely break it to pieces) !
@krinn: that "advice" of yours about glib 2.31... Honestly ?
As to explain those two commits: their final result was to remove 'g_thread_init(NULL);' as redundant; as such if you correctly modified the ebuild (which I kinda doubt), any new problem is most likely an independent one (and requires a new build log for us to examine). |
yes, I chrooted before using "./configure" and "make" ,also I removed g_thread_init(NULL) |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Oct 08, 2012 9:36 pm Post subject: |
|
|
OK, first of all, this bug.
Second, g_thread_init is just a very start of the problems - the next thing is G_CONST_RETURN, followed by deprecations.
What do you need that lib for anyway ? |
|
Back to top |
|
|
med-gentoo n00b
Joined: 07 Jul 2012 Posts: 36
|
Posted: Mon Oct 08, 2012 9:44 pm Post subject: |
|
|
VoidMage wrote: | OK, first of all, this bug.
Second, g_thread_init is just a very start of the problems - the next thing is G_CONST_RETURN, followed by deprecations.
What do you need that lib for anyway ? |
I don't need it ^^
when I use "emerge gnome", it wants to install this lib , |
|
Back to top |
|
|
Navar Guru
Joined: 20 Aug 2012 Posts: 353
|
Posted: Tue Oct 09, 2012 2:04 am Post subject: |
|
|
Why they were pulled in:
Code: | $ equery d gnome-extra/gtkhtml
* These packages depend on gnome-extra/gtkhtml:
app-office/gnucash-2.4.10 (!webkit ? >=gnome-extra/gtkhtml-3.16:3.14)
gnome-base/gnome-2.32.1-r2 (>=gnome-extra/gtkhtml-3.32.1:3.14)
mail-client/evolution-2.32.3-r1 (>=gnome-extra/gtkhtml-3.31.90:3.14)
|
I'm unspecific (I fight with xfce/kde setups as well on other systems), but I've been running a gentoo gnome2 setup for quite awhile. Note the versions and slots:
Code: | $ eselect profile list
Available profile symlink targets:
[3] default/linux/x86/10.0/desktop * |
Code: | $ equery list glib
* Searching for glib ...
[IP-] [ ] dev-libs/glib-2.32.4-r1:2 |
Code: | $ equery list gtkhtml
* Searching for gtkhtml ...
[IP-] [ ] gnome-extra/gtkhtml-3.32.2:3.14 |
This is on a standard gnome2 build that's updated frequently and has been going a few years.
Is this a new gentoo install you're trying to emerge a gnome setup on?
Quote: | I installed gnome-extra/gtkhtml-4.4.3 but I have the same problem |
Why? To start with, is this an attempt at a gnome2 install or an unmasked gnome3?
I think you've been brow beat enough in this thread with some active investigation effort on your part (although some details are vague), but it would seem you're trying too hard to circumvent the normal build system within Gentoo. Questions are why would you say or attempt to (directly?) emerge that version of gtkhml? Was your attempted 'install' via a normal portage ebuild or you manually trying to build and install? Your error was on build phase, so you never got to an actual install phase if it's the same error as you state. Have you diligently went through your /var/log/portage/elog/summary.log to ensure you didn't miss library rebuild steps and so on? _________________ Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn. |
|
Back to top |
|
|
|