Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerge] Problem to install Firefox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Geekolin
n00b
n00b


Joined: 19 Aug 2006
Posts: 12

PostPosted: Sun Dec 24, 2006 8:59 am    Post subject: [emerge] Problem to install Firefox Reply with quote

Hello everybody

Sorry if my problem is too easy, but I'm a newbie on Gentoo.

When I would install Firefox, I have this error.

Code:
 * Updating shared mime info database ...
***
* Updating MIME database in //usr/share/mime...
Wrote 462 strings at 20 - 265c
Wrote aliases at 265c - 2810
Wrote parents at 2810 - 2e60
Wrote literal globs at 2e60 - 2ebc
Wrote suffix globs at 2ebc - 6074
Wrote full globs at 6074 - 6098
Wrote magic at 6098 - b6b0
Wrote namespace list at b6b0 - b6c0
***
>>> Regenerating /etc/ld.so.cache...
>>> x11-misc/shared-mime-info-0.17-r2 merged.

>>> No packages selected for removal by clean.


>>> Emerging (20 of 22) x11-libs/gtk+-2.10.6 to /
 * gtk+-2.10.6.tar.bz2 MD5 ;-) ...                                        [ ok ]
 * gtk+-2.10.6.tar.bz2 RMD160 ;-) ...                                     [ ok ]
 * gtk+-2.10.6.tar.bz2 SHA1 ;-) ...                                       [ ok ]
 * gtk+-2.10.6.tar.bz2 SHA256 ;-) ...                                     [ ok ]
 * gtk+-2.10.6.tar.bz2 size ;-) ...                                       [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking gtk+-2.10.6.tar.bz2 ;-) ...                                   [ ok ]
 * Please re-emerge x11-libs/cairo with the X USE flag set

!!! ERROR: x11-libs/gtk+-2.10.6 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  gtk+-2.10.6.ebuild, line 52:   Called die

!!! cairo needs the X flag set
!!! If you need support, post the topmost build error, and the call stack if rel
evant.


My make.conf

Code:

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"

USE="-gnome -gtk alsa cdr dvd kde nvidia opengl qt ssl symlink "
VIDEO_CARDS="nvidia"


What's this "cairo", and my problem is what Firefox need gtk ?

Thank you :)
PS: Sorry for my bad english, I speak French

And Happy Christmas :-D
Back to top
View user's profile Send private message
depu
n00b
n00b


Joined: 05 Dec 2006
Posts: 63

PostPosted: Sun Dec 24, 2006 9:12 am    Post subject: Reply with quote

copy
Code:
x11-libs/cairo X

to /etc/portage/package.use then cairo will always be emerged with "X"
then do the emerge again

Quote:

cairo is a free software graphics library with multiple backends that provides a vector based device-independent API for software developers. Currently, it has backends that support output to the X Window System, Win32 GDI, Quartz, the BeOS API, OpenGL contexts (via glitz), local image buffers, PNG files, PDF, PostScript and SVG files. cairo is designed to use hardware acceleration when available.
....wikipedia
Back to top
View user's profile Send private message
mjrosenb
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2006
Posts: 115
Location: CMU

PostPosted: Sun Dec 24, 2006 9:15 am    Post subject: Reply with quote

the simplest way is with
Code:

USE="X" emerge cairo

a more proper way is to add
Code:

x11-libs/cairo X

to either
Code:

/etc/portage/package.use

or if that is a directory (or if anything else in /etc/portage is a directory), then to
Code:

/etc/portage/package.use/cairo

_________________
I'll be mjrosenb on #${COMPUTER_RELATED_SUBJECT}
1x i386 laptop w/ Gentoo
4x i386 desktop w/ Gentoo
2x dual proc i386 w/dragonfly bsd
1x x86-64 desktop w/ Gentoo
1x i386 desktop w/ FreeBSD
1x alpha workstation w/ Gentoo
looking for more
Back to top
View user's profile Send private message
Geekolin
n00b
n00b


Joined: 19 Aug 2006
Posts: 12

PostPosted: Sun Dec 24, 2006 9:16 am    Post subject: Reply with quote

Oh thank you I will test :)
Back to top
View user's profile Send private message
Geekolin
n00b
n00b


Joined: 19 Aug 2006
Posts: 12

PostPosted: Sun Dec 24, 2006 9:28 am    Post subject: Re: [emerge] Problem to install Firefox Reply with quote

No still the same problem :/
Back to top
View user's profile Send private message
depu
n00b
n00b


Joined: 05 Dec 2006
Posts: 63

PostPosted: Sun Dec 24, 2006 9:40 am    Post subject: Reply with quote

same problem? can you post the error message?
also i noticed that you dont have X in the make.conf file. X is pretty huge and has a lot of effect on the system
Maybe you should simply add X to the use in make.conf
Back to top
View user's profile Send private message
Geekolin
n00b
n00b


Joined: 19 Aug 2006
Posts: 12

PostPosted: Sun Dec 24, 2006 9:50 am    Post subject: Reply with quote

Ok all

My error message

Code:
>>> Emerging (1 of 3) x11-libs/gtk+-2.10.6 to /
 * gtk+-2.10.6.tar.bz2 MD5 ;-) ...                                                                                                                                                                                                                                 [ ok ]
 * gtk+-2.10.6.tar.bz2 RMD160 ;-) ...                                                                                                                                                                                                                              [ ok ]
 * gtk+-2.10.6.tar.bz2 SHA1 ;-) ...                                                                                                                                                                                                                                [ ok ]
 * gtk+-2.10.6.tar.bz2 SHA256 ;-) ...                                                                                                                                                                                                                              [ ok ]
 * gtk+-2.10.6.tar.bz2 size ;-) ...                                                                                                                                                                                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                                                             [ ok ]
 * checking gtk+-2.10.6.tar.bz2 ;-) ...                                                                                                                                                                                                                            [ ok ]
 * Please re-emerge x11-libs/cairo with the X USE flag set

!!! ERROR: x11-libs/gtk+-2.10.6 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  gtk+-2.10.6.ebuild, line 52:   Called die

!!! cairo needs the X flag set
!!! If you need support, post the topmost build error, and the call stack if relevant.



make.conf

Code:
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"

USE="-gnome -gtk alsa cdr dvd kde nvidia opengl qt ssl symlink X"
VIDEO_CARDS="nvidia"


package.use

Code:
11-base/xorg-server     aiglx
x11-libs/cairo          X


package.keywords

Code:
sys-kernel/gentoo-sources
x11-drivers/nvidia-drivers
Back to top
View user's profile Send private message
pingu
Retired Dev
Retired Dev


Joined: 06 Nov 2006
Posts: 11

PostPosted: Sun Dec 24, 2006 9:55 am    Post subject: Reply with quote

Geekolin, please read this: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2
Once you've read that, just rebuild cairo with the X USE flag.
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 8144

PostPosted: Mon May 21, 2007 7:26 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, refer to topic "Please re-emerge [solved]".

As noted in the handbook USE flags specified via environment variables are not retained as persistent settings so, aside from when a given USE flag setting is itself transient in nature, use one of the persistent USE flag setting methods (/etc/make.conf, /etc/portage/package.use). Also, note that USE flags are case sensitive.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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