Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem on GTK when emerging GNOME
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
MAGI
n00b
n00b


Joined: 24 Sep 2005
Posts: 30

PostPosted: Sun Sep 25, 2005 12:21 pm    Post subject: problem on GTK when emerging GNOME Reply with quote

Error message:

Code:
make[4]: *** [gtkstockpixbufs.h] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk/stock-icons'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.6.8 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


What should I do ?
Back to top
View user's profile Send private message
derfian
n00b
n00b


Joined: 30 Sep 2004
Posts: 48
Location: Linköping, Sweden

PostPosted: Sun Sep 25, 2005 12:48 pm    Post subject: Reply with quote

Can we have a look at your /etc/make.conf and a few more of the above lines of the error message?
Back to top
View user's profile Send private message
MAGI
n00b
n00b


Joined: 24 Sep 2005
Posts: 30

PostPosted: Sun Sep 25, 2005 12:53 pm    Post subject: Reply with quote

derfian wrote:
Can we have a look at your /etc/make.conf and a few more of the above lines of the error message?


Sure! My current setting of the make.conf file is here:

Code:

CFLAGS="-O0 -march=athlon"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="gtk gnome hal howl"
USE="cli cgi gd dba apache2"
Back to top
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Sun Sep 25, 2005 4:03 pm    Post subject: Reply with quote

As derfian said, post more of the lines above the error message.

And so you know, you can't have two USE lines in make.conf, the flags on the first line will be ignored. Put them all in the same USE on the same row. Then you can run "emerge world --newuse -p" to se which packages that need to be rebuilt to use the USE flags it ignored earlier.
Back to top
View user's profile Send private message
MAGI
n00b
n00b


Joined: 24 Sep 2005
Posts: 30

PostPosted: Sun Sep 25, 2005 5:36 pm    Post subject: Reply with quote

crudh wrote:
As derfian said, post more of the lines above the error message.

And so you know, you can't have two USE lines in make.conf, the flags on the first line will be ignored. Put them all in the same USE on the same row. Then you can run "emerge world --newuse -p" to se which packages that need to be rebuilt to use the USE flags it ignored earlier.


Oh, thx, I am new to gentoo. But when I put them into 1 line, i got another error when emerging gnome

Code:
checking Whether to write dependencies into .pc files... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for indent... no
checking for lstat... yes
checking for mkstemp... yes
checking for flockfile... yes
checking for sigsetjmp... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  af am ar az az_IR be bg bn br bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu ia id is it ja ko li lt lv mi mk ml mn mr ms nb ne nl nn no nso pa pl pt pt_BR ro ru rw sk sl sq sr sr@ije sr@Latn sv ta th tk tr uk uz uz@Latn vi wa xh yi zh_CN zh_TW
checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for extra flags for POSIX compliance... none needed
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.6.0...
*** 'pkg-config --modversion glib-2.0' returned 2.6.5, but GLIB (2.8.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.6.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/config.log

!!! ERROR: x11-libs/gtk+-2.6.8 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Sun Sep 25, 2005 6:44 pm    Post subject: Reply with quote

What's the output of "emerge unmerge glib -p"?
Back to top
View user's profile Send private message
MAGI
n00b
n00b


Joined: 24 Sep 2005
Posts: 30

PostPosted: Sun Sep 25, 2005 11:38 pm    Post subject: Reply with quote

crudh wrote:
What's the output of "emerge unmerge glib -p"?


The result is:

Code:
>>> These are the packages that I would unmerge:

 dev-libs/glib
    selected: 2.6.5
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Back to top
View user's profile Send private message
MAGI
n00b
n00b


Joined: 24 Sep 2005
Posts: 30

PostPosted: Sun Sep 25, 2005 11:44 pm    Post subject: Reply with quote

When I try to emerge gnome again, I got the same error as before.

Code:
checking for catalogs to be installed...  af am ar az az_IR be bg bn br bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu ia id is it ja ko li lt lv mi mk ml mn mr ms nb ne nl nn no nso pa pl pt pt_BR ro ru rw sk sl sq sr sr@ije sr@Latn sv ta th tk tr uk uz uz@Latn vi wa xh yi zh_CN zh_TW
checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for extra flags for POSIX compliance... none needed
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.6.0...
*** 'pkg-config --modversion glib-2.0' returned 2.6.5, but GLIB (2.8.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.6.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/config.log

!!! ERROR: x11-libs/gtk+-2.6.8 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
MAGI
n00b
n00b


Joined: 24 Sep 2005
Posts: 30

PostPosted: Sun Sep 25, 2005 11:59 pm    Post subject: Reply with quote

here is the successful message when I emerge glib alone.

Code:
--- !empty dir /usr/lib/glib-2.0/include
--- !empty dir /usr/lib/glib-2.0
--- !empty dir /usr/lib
--- !empty dir /usr/include/glib-2.0/gobject
--- !empty dir /usr/include/glib-2.0/glib
--- !empty dir /usr/include/glib-2.0
--- !empty dir /usr/include
--- !empty dir /usr/bin
--- !empty dir /usr
--- !empty dir /etc
--- !targe sym /usr/lib/libgthread-2.0.so.0
--- !targe sym /usr/lib/libgthread-2.0.so
--- !targe sym /usr/lib/libgobject-2.0.so.0
--- !targe sym /usr/lib/libgobject-2.0.so
--- !targe sym /usr/lib/libgmodule-2.0.so.0
--- !targe sym /usr/lib/libgmodule-2.0.so
--- !targe sym /usr/lib/libglib-2.0.so.0
--- !targe sym /usr/lib/libglib-2.0.so
>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> dev-libs/glib-2.6.5 merged.
>>> Recording dev-libs/glib in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.
 * IMPORTANT: 1 config files in /etc need updating.
 * Type emerge --help config to learn how to update config files.
Back to top
View user's profile Send private message
MAGI
n00b
n00b


Joined: 24 Sep 2005
Posts: 30

PostPosted: Mon Sep 26, 2005 12:08 am    Post subject: Reply with quote

when I try to emerge gnome after glib is emerged, I still got the same error as before.
Back to top
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Mon Sep 26, 2005 5:28 am    Post subject: Reply with quote

Hmm, that's strange. It thinks that you have a newer glib than you have installed... You havent' manually installed glib before have you?

Anyway, try "emerge unmerge glib" and then "emerge glib" to clean out glib and then re-emerge it too see if it helps.
Back to top
View user's profile Send private message
MAGI
n00b
n00b


Joined: 24 Sep 2005
Posts: 30

PostPosted: Mon Sep 26, 2005 5:34 am    Post subject: Reply with quote

crudh wrote:
Hmm, that's strange. It thinks that you have a newer glib than you have installed... You havent' manually installed glib before have you?

Anyway, try "emerge unmerge glib" and then "emerge glib" to clean out glib and then re-emerge it too see if it helps.


oh, sorry, I have compiled glib 2..8.1 from source before.

And now, I have uninstalled it. But syill have the following error:

Code:
&& (cmp -s xgen-gmlh gtkmarshalers.h || cp xgen-gmlh gtkmarshalers.h) \
&& rm -f xgen-gmlh \
&& echo timestamp > stamp-gtkmarshalers.h
/usr/bin/perl ./makegtkalias.pl < ./gtk.symbols > gtkalias.h
echo "#ifndef GTK_DISABLE_DEPRECATED" > xgen-gmh \
&& glib-genmarshal --prefix=gtk_marshal ./gtkmarshal.list --header >> xgen-gmh \
&& echo "#endif /* GTK_DISABLE_DEPRECATED */" >> xgen-gmh \
&& (cmp -s xgen-gmh gtkmarshal.h || cp xgen-gmh gtkmarshal.h) \
&& rm -f xgen-gmh \
&& echo timestamp > stamp-gtkmarshal.h
( cd . && glib-mkenums \
--fhead "#ifndef __GTK_TYPE_BUILTINS_H__\n#define __GTK_TYPE_BUILTINS_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define GTK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
--ftail "G_END_DECLS\n\n#endif /* __GTK_TYPE_BUILTINS_H__ */" \
gtk.h gtkaboutdialog.h gtkaccelgroup.h gtkaccellabel.h gtkaccelmap.h gtkaccessible.h gtkaction.h gtkactiongroup.h gtkadjustment.h gtkalignment.h gtkarrow.h gtkaspectframe.h gtkbbox.h gtkbin.h gtkbindings.h gtkbox.h gtkbutton.h gtkcalendar.h gtkcelleditable.h gtkcelllayout.h gtkcellrenderer.h gtkcellrenderercombo.h gtkcellrendererpixbuf.h gtkcellrendererprogress.h gtkcellrenderertext.h gtkcellrenderertoggle.h gtkcellview.h gtkcheckbutton.h gtkcheckmenuitem.h gtkclipboard.h gtkclist.h gtkclipboard.h gtkcolorbutton.h gtkcolorsel.h gtkcolorseldialog.h gtkcombo.h gtkcombobox.h gtkcomboboxentry.h gtkcontainer.h gtkctree.h gtkcurve.h gtkdebug.h gtkdialog.h gtkdnd.h gtkdrawingarea.h gtkeditable.h gtkentry.h gtkentrycompletion.h gtkenums.h gtkeventbox.h gtkexpander.h gtkfilechooser.h gtkfilechooserbutton.h gtkfilechooserdialog.h gtkfilechooserwidget.h gtkfilefilter.h gtkfilesel.h gtkfixed.h gtkfontbutton.h gtkfontsel.h gtkframe.h gtkgamma.h gtkgc.h gtkhandlebox.h gtkhbbox.h gtkhbox.h gtkhpaned.h gtkhruler.h gtkhscale.h gtkhscrollbar.h gtkhseparator.h gtkiconfactory.h gtkicontheme.h gtkiconview.h gtkimage.h gtkimagemenuitem.h gtkimcontext.h gtkimcontextsimple.h gtkimmodule.h gtkimmulticontext.h gtkinputdialog.h gtkinvisible.h gtkitem.h gtkitemfactory.h gtklabel.h gtklayout.h gtklist.h gtklistitem.h gtkliststore.h gtkmain.h gtkmenu.h gtkmenubar.h gtkmenuitem.h gtkmenushell.h gtkmenutoolbutton.h gtkmessagedialog.h gtkmisc.h gtkmodules.h gtknotebook.h gtkobject.h gtkoldeditable.h gtkoptionmenu.h gtkpaned.h gtkpixmap.h gtkplug.h gtkpreview.h gtkprivate.h gtkprogress.h gtkprogressbar.h gtkradioaction.h gtkradiobutton.h gtkradiomenuitem.h gtkradiotoolbutton.h gtkrange.h gtkrc.h gtkruler.h gtkscale.h gtkscrollbar.h gtkscrolledwindow.h gtkselection.h gtkseparator.h gtkseparatormenuitem.h gtkseparatortoolitem.h gtksettings.h gtksignal.h gtksizegroup.h gtksocket.h gtkspinbutton.h gtkstatusbar.h gtkstock.h gtkstyle.h gtktable.h gtktearoffmenuitem.h gtktext.h gtktextbuffer.h gtktextchild.h gtktextdisplay.h gtktextiter.h gtktextmark.h gtktexttag.h gtktexttagtable.h gtktextview.h gtktipsquery.h gtktoggleaction.h gtktogglebutton.h gtktoggletoolbutton.h gtktoolbar.h gtktoolbutton.h gtktoolitem.h gtktooltips.h gtktree.h gtktreednd.h gtktreeitem.h gtktreemodel.h gtktreemodelfilter.h gtktreemodelsort.h gtktreeselection.h gtktreesortable.h gtktreestore.h gtktreeview.h gtktreeviewcolumn.h gtktypeutils.h gtkuimanager.h gtkvbbox.h gtkvbox.h gtkviewport.h gtkvpaned.h gtkvruler.h gtkvscale.h gtkvscrollbar.h gtkvseparator.h gtkwidget.h gtkwindow.h ) >> xgen-gtbh \
&& (cmp -s xgen-gtbh gtktypebuiltins.h || cp xgen-gtbh gtktypebuiltins.h ) \
&& rm -f xgen-gtbh \
&& echo timestamp > stamp-gtktypebuiltins.h
make all-recursive
make[3]: Entering directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk'
Making all in stock-icons
make[4]: Entering directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk/stock-icons'
GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource \
--raw --build-list stock_about_16 ./stock_about_16.png stock_about_24 ./stock_about_24.png stock_add_16 ./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16 ./stock_align_center_16.png stock_align_center_24 ./stock_align_center_24.png stock_align_justify_16 ./stock_align_justify_16.png stock_align_justify_24 ./stock_align_justify_24.png stock_align_left_16 ./stock_align_left_16.png stock_align_left_24 ./stock_align_left_24.png stock_align_right_16 ./stock_align_right_16.png stock_align_right_24 ./stock_align_right_24.png stock_apply_20 ./stock_apply_20.png stock_cancel_20 ./stock_cancel_20.png stock_dnd_multiple_32 ./stock_dnd_multiple_32.png stock_bottom_16 ./stock_bottom_16.png stock_bottom_24 ./stock_bottom_24.png stock_cdrom_16 ./stock_cdrom_16.png stock_cdrom_24 ./stock_cdrom_24.png stock_clear_24 ./stock_clear_24.png stock_close_20 ./stock_close_20.png stock_close_24 ./stock_close_24.png stock_colorselector_24 ./stock_colorselector_24.png stock_color_picker_25 ./stock_color_picker_25.png > gtkstockpixbufs.h || \
( rm -f gtkstockpixbufs.h && false )
/bin/sh: line 1: 29470 Illegal instruction GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource --raw --build-list stock_about_16 ./stock_about_16.png stock_about_24 ./stock_about_24.png stock_add_16 ./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16 ./stock_align_center_16.png stock_align_center_24 ./stock_align_center_24.png stock_align_justify_16 ./stock_align_justify_16.png stock_align_justify_24 ./stock_align_justify_24.png stock_align_left_16 ./stock_align_left_16.png stock_align_left_24 ./stock_align_left_24.png stock_align_right_16 ./stock_align_right_16.png stock_align_right_24 ./stock_align_right_24.png stock_apply_20 ./stock_apply_20.png stock_cancel_20 ./stock_cancel_20.png stock_dnd_multiple_32 ./stock_dnd_multiple_32.png stock_bottom_16 ./stock_bottom_16.png stock_bottom_24 ./stock_bottom_24.png stock_cdrom_16 ./stock_cdrom_16.png stock_cdrom_24 ./stock_cdrom_24.png stock_clear_24 ./stock_clear_24.png stock_close_20 ./stock_close_20.png stock_close_24 ./stock_close_24.png stock_colorselector_24 ./stock_colorselector_24.png stock_color_picker_25 ./stock_color_picker_25.png >gtkstockpixbufs.h
make[4]: *** [gtkstockpixbufs.h] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk/stock-icons'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.6.8/work/gtk+-2.6.8'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.6.8 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
crudh
l33t
l33t


Joined: 12 May 2005
Posts: 696
Location: Sundbyberg, Sweden

PostPosted: Mon Sep 26, 2005 6:20 am    Post subject: Reply with quote

Sorry, can't help with that one...
Back to top
View user's profile Send private message
MAGI
n00b
n00b


Joined: 24 Sep 2005
Posts: 30

PostPosted: Mon Sep 26, 2005 8:34 am    Post subject: Reply with quote

crudh wrote:
Sorry, can't help with that one...


nvm, I am now thinking to reinstall the Gentoo again
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4932
Location: Gothenburg, Sweden

PostPosted: Mon Sep 26, 2005 12:08 pm    Post subject: Reply with quote

You may want to file a bug report.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
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