Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -p hylafax wants gnome, gimp, ... ???!?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Saruman
n00b
n00b


Joined: 23 Aug 2002
Posts: 64
Location: Brindisi

PostPosted: Mon Jun 30, 2003 3:18 pm    Post subject: emerge -p hylafax wants gnome, gimp, ... ???!? Reply with quote

I've this output with emerge -p hylafax:

Code:

joeslack root # emerge -p hylafax

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] app-text/tetex-1.0.7-r12
[ebuild  N   ] net-dialup/mgetty-1.1.30
[ebuild  N   ] net-ftp/curl-7.10.5-r1
[ebuild  N   ] net-print/foomatic-2.0.0
[ebuild  N   ] dev-util/intltool-0.25
[ebuild    U ] media-libs/freetype-2.1.4 [1.3.1-r3]
[ebuild  N   ] x11-misc/ttmkfdir-3.0.9
[ebuild  N   ] x11-base/opengl-update-1.5
[ebuild  N   ] media-libs/fontconfig-2.2.0-r2
[ebuild  N   ] app-arch/cabextract-0.6
[ebuild  N   ] x11-base/xfree-4.3.0-r2
[ebuild  N   ] x11-libs/gtk+-1.2.10-r10
[ebuild  N   ] dev-perl/Text-Balanced-1.95
[ebuild  N   ] dev-perl/Parse-RecDescent-1.94
[ebuild  N   ] media-libs/audiofile-0.2.3-r1
[ebuild  N   ] media-sound/esound-0.2.29
[ebuild  N   ] gnome-base/ORBit-0.5.17
[ebuild  N   ] media-libs/giflib-4.1.0-r3
[ebuild  N   ] media-libs/imlib-1.9.14-r1
[ebuild  N   ] gnome-base/gnome-libs-1.4.2
[ebuild  N   ] media-libs/gdk-pixbuf-0.21.0
[ebuild  N   ] dev-perl/XML-Writer-0.4-r2
[ebuild  N   ] dev-perl/gtk-perl-0.7008-r9
[ebuild  N   ] dev-perl/File-Spec-0.82
[ebuild  N   ] dev-perl/Data-Dumper-2.101
[ebuild  N   ] dev-perl/Inline-0.44
[ebuild  N   ] dev-perl/Filter-1.29
[ebuild  N   ] dev-perl/ExtUtils-F77-1.14-r1
[ebuild  N   ] dev-perl/PDL-2.4.0
[ebuild  N   ] media-libs/mpeg-lib-1.3.1-r1
[ebuild  N   ] media-gfx/gimp-1.2.4
[ebuild  N   ] media-gfx/gimp-print-4.2.5
[ebuild  N   ] app-text/ghostscript-7.05.6-r2
[ebuild  N   ] net-misc/hylafax-4.1.5


My 'emerge info' output is

Code:

joeslack root # emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21 i686 Pentium III (Katmai)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode imlib libg++ mikmod mmx motif mpeg nls oggvorbis opengl quicktime sdl spell svga xmms xv gdbm berkdb slang gpm -X -qt -gtk -gtk2 -gnome -kde mysql php ssl libwww ncurses pam pdflib perl apache2 java jpeg gif pic png python readline samba tcpd truetype xml2 zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentiumpro -O2 -pipe"
CXXFLAGS="-march=pentiumpro -O2 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


Note the USE flags reported: in my /etc/make.conf I have:

USE="-X -qt -gtk -gtk2 -gnome -kde\
mysql php ssl libwww ncurses pam pdflib perl apache2\
java jpeg gif pic png python readline samba tcpd truetype xml2 zlib"

I see /etc/make.profile/use.defaults: can I cut some packages there or have I to simply put "-<package>" in USE?

Any idea?

Regards,
Mario
_________________
---
Miser, miser! Modo niger et ustus fortiter!
Back to top
View user's profile Send private message
Brandy
Bodhisattva
Bodhisattva


Joined: 08 Jun 2003
Posts: 820
Location: New Zealand

PostPosted: Tue Jul 01, 2003 6:03 am    Post subject: Reply with quote

Hi Saruman.

Sometimes having a specific USE flag set will cause a dependency to be emerged, which causes another dependency to be emerged, and so on. Before you know it, an innocent fax program wants to install half the portage tree. :)

In your case, hylafax depends on ghostscript; if the cups USE flag is set then ghostscript depends on gimp-print, which depends on gimp and so on. And sure enough, looking at your USE flags I notice that you indeed have cups set.

A good trick when looking at dependencies is to use the following command:
Code:

emerge -vp hylafax

The v option will cause all the USE flags recognized by each package to be displayed. You can then try setting/unsetting USE flags until you are happy with what will be installed, e.g:
Code:

USE="-cups" -vp hylafax


All changes to your USE flags should be made in /etc/make.conf or by specifying USE flags with the emerge command.

Ciao, Brandy
_________________
Faber est suae quisque fortunae.
Back to top
View user's profile Send private message
chrispy
Apprentice
Apprentice


Joined: 10 Nov 2002
Posts: 228
Location: Tokyo

PostPosted: Tue Jul 01, 2003 6:07 am    Post subject: Reply with quote

Brandy wrote:

The v option will cause all the USE flags recognized by each package to be displayed. You can then try setting/unsetting USE flags until you are happy with what will be installed, e.g:
Code:

USE="-cups" -vp hylafax


All changes to your USE flags should be made in /etc/make.conf or by specifying USE flags with the emerge command.

Ciao, Brandy


you mean :
Code:
USE="-cups" emerge -vp hylafax


;) tough work being a moderator AND helping people. keep up the good work, Miss.
Back to top
View user's profile Send private message
Saruman
n00b
n00b


Joined: 23 Aug 2002
Posts: 64
Location: Brindisi

PostPosted: Tue Jul 01, 2003 8:07 am    Post subject: Reply with quote

Great!!! It really works as I expect it now (I didn't know about this -vp option for knowing about which flag causes which package to be emerged :oops: )

Really, really thanks :D
_________________
---
Miser, miser! Modo niger et ustus fortiter!
Back to top
View user's profile Send private message
chrispy
Apprentice
Apprentice


Joined: 10 Nov 2002
Posts: 228
Location: Tokyo

PostPosted: Tue Jul 01, 2003 8:10 am    Post subject: Reply with quote

Brandy is indeed of good knowledge.

(i hope she doesn't think I'm just trying to be nice or anything ...)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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