Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome installation problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Sun Oct 07, 2012 9:38 pm    Post subject: gnome installation problem Reply with quote

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
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3907

PostPosted: Sun Oct 07, 2012 9:49 pm    Post subject: Reply with quote

g_thread* functions are define in glib

i would say, rebuild glib
Back to top
View user's profile Send private message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Sun Oct 07, 2012 9:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7397
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Oct 07, 2012 10:06 pm    Post subject: Reply with quote

What's your profile set to? If you don't know, post the output of
Code:
eselect profile list
please.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Sun Oct 07, 2012 10:08 pm    Post subject: Reply with quote

default/linux/amd64/10.0/desktop/gnome
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5267

PostPosted: Sun Oct 07, 2012 10:09 pm    Post subject: Reply with quote

It's a bit complicated, but basically, it boils down to two subsequent commits during 4.3 cycle:
http://git.gnome.org/browse/gtkhtml/commit/?h=gnome-3-4&id=2ea79774d49ebd73bdb67bb18e0e68fa6092e68f
http://git.gnome.org/browse/gtkhtml/commit/?h=gnome-3-4&id=4537a45bd19ae01510a445707aeb357739befa16

For obvious reasons, gtkhtml-3.32.2 doesn't have those commits.
Back to top
View user's profile Send private message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Sun Oct 07, 2012 10:16 pm    Post subject: Reply with quote

VoidMage wrote:
It's a bit complicated, but basically, it boils down to two subsequent commits during 4.3 cycle:
http://git.gnome.org/browse/gtkhtml/commit/?h=gnome-3-4&id=2ea79774d49ebd73bdb67bb18e0e68fa6092e68f
http://git.gnome.org/browse/gtkhtml/commit/?h=gnome-3-4&id=4537a45bd19ae01510a445707aeb357739befa16

For obvious reasons, gtkhtml-3.32.2 doesn't have those commits.

and how to proceed ?
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3907

PostPosted: Sun Oct 07, 2012 11:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Mon Oct 08, 2012 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5267

PostPosted: Mon Oct 08, 2012 6:21 pm    Post subject: Reply with quote

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... :roll: :roll: :roll: 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
View user's profile Send private message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Mon Oct 08, 2012 7:09 pm    Post subject: Reply with quote

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... :roll: :roll: :roll: 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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5267

PostPosted: Mon Oct 08, 2012 9:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Mon Oct 08, 2012 9:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Navar
Apprentice
Apprentice


Joined: 20 Aug 2012
Posts: 222

PostPosted: Tue Oct 09, 2012 2:04 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum