View previous topic :: View next topic |
Author |
Message |
Dick Hertz Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_red_leader.gif)
Joined: 17 Apr 2003 Posts: 98 Location: Pacific Northwest, USA
|
Posted: Sat Jan 21, 2006 8:19 am Post subject: Samba wants to install X.org . . . WTF? [SOLVED] |
|
|
Okay, I tried to emerge samba and it wanted to install all kinds of unnecessary bullshit. Take a look:
Code: | joe@chianti ~ $ sudo emerge -p samba
Password:
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] dev-libs/libxml2-2.6.22
[ebuild N ] media-libs/jpeg-6b-r5
[ebuild N ] x11-base/xorg-x11-6.8.2-r6
[ebuild N ] virtual/x11-6.8
[ebuild N ] app-arch/rpm2targz-9.0-r3
[ebuild N ] sys-apps/utempter-0.5.5.6
[ebuild N ] x11-terms/xterm-204
[ebuild N ] x11-libs/motif-config-0.9
[ebuild N ] x11-libs/openmotif-2.2.3-r8
[ebuild N ] app-text/xpdf-3.01-r3
[ebuild N ] media-libs/tiff-3.7.3
[ebuild N ] net-print/cups-1.1.23-r4
[ebuild N ] net-fs/samba-3.0.14a-r2 |
Here is the output of /etc/make.conf:
Code: |
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-Os -mcpu=i686 -pipe -fomit-frame-pointer"
USE="dvd imap bind ssl cups dvdr cdr -X -gnome -kde -jpeg -png -qt -gpm -ipv6 -tiff"
MAKEPOTS="-j2"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}" |
I SPECIFICALLY excluded X, tiff, jpeg, etc., yet it still wants to install all of this crap. WHY?
As always, any help would be appreciated.
Last edited by Dick Hertz on Sat Jan 21, 2006 8:06 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xces Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey.gif)
Joined: 11 Oct 2002 Posts: 515
|
Posted: Sat Jan 21, 2006 11:12 am Post subject: |
|
|
I suspect you have set the USE flag "motif". See the output of "emerge -pvt samba" to determine, which ebuild has X as dependency. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dick Hertz Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_red_leader.gif)
Joined: 17 Apr 2003 Posts: 98 Location: Pacific Northwest, USA
|
Posted: Sat Jan 21, 2006 6:08 pm Post subject: |
|
|
xces wrote: | I suspect you have set the USE flag "motif". See the output of "emerge -pvt samba" to determine, which ebuild has X as dependency. |
My USE flags are above and I don't. Once again, here is the relevant portion of /etc/make.conf:
Code: |
USE="dvd imap bind ssl cups dvdr cdr -X -x11 -gnome -kde -jpeg -png -qt -gpm -ipv6 -tiff ncurses tar"
|
Here is the USE output of "emerge --info." Where is it getting this?
Code: |
USE="x86 alsa apm arts avi berkdb bind bitmap-fonts bzip2 cdr crypt cups dvd dvdr eds emboss encode expat foomaticdb fortran gdbm gif gstreamer gtk gtk2 imap imlib libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl python quicktime readline sdl spell ssl tar tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
|
I even tried it this way:
Code: |
chianti joe # USE="-motif -x -xml2 -jpeg -pdf -pdflib -tiff" emerge -pvt samba
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild N ] net-fs/samba-3.0.14a-r2 -acl +cups -doc -examples -kerberos -ldap -libclamav -mysql -oav +pam -postgres +python -quotas +readline (-selinux) -winbind -xml -xml2 15,257 kB
[ebuild N ] net-print/cups-1.1.23-r4 -cjk -gnutls +nls +pam -samba -slp +ssl 8,501 kB
[ebuild N ] media-libs/tiff-3.7.3 1,242 kB
[ebuild N ] app-text/xpdf-3.01-r3 -X -motif 585 kB
[ebuild N ] media-libs/jpeg-6b-r5 0 kB
|
and it still wants to install xpdf, which of course depends on X! It seems like it has a mind of its own and that it's ABSOLUTELY DETERMINED to install X or something upon which X is a dependency. This machine is a server and I neither need nor want X on it. It's starting to look, though, like I am going to have to bite the bullet and let portage do what it wants, but I don't want to. If I wanted an OS that would force me to install a whole bunch of crap I don't want or need, I'd run Windows! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TealVeal Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_leon.gif)
Joined: 04 Apr 2003 Posts: 92
|
Posted: Sat Jan 21, 2006 6:30 pm Post subject: |
|
|
Try it again from the command line with a capital X? It looks like you have a capital X in the make.conf so that shouldn't be a problem...but it's something to try. I was using lowercase x for a bit. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
morodoch Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/8767489044332ba3547da8.jpg)
Joined: 22 Sep 2005 Posts: 523 Location: England
|
Posted: Sat Jan 21, 2006 6:34 pm Post subject: |
|
|
If you definitely don't want X installed, I find that masking it usually gives more immediate information on something bringing it in as a dependency. Try adding it to /etc/portage/package.mask, and see if that gives you more info on what's going on when you retry the emerge:
Code: | echo x11-base/xorg-x11 >> /etc/portage/package.mask |
_________________ Well, the Sister was right. You boys could use a little churching up. Slide on down to the Triple Rock, and catch Rev. Cleophus. You boys listen to what he's got to say.
-- Curtis |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dick Hertz Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_red_leader.gif)
Joined: 17 Apr 2003 Posts: 98 Location: Pacific Northwest, USA
|
Posted: Sat Jan 21, 2006 6:35 pm Post subject: |
|
|
TealVeal wrote: | Try it again from the command line with a capital X? It looks like you have a capital X in the make.conf so that shouldn't be a problem...but it's something to try. I was using lowercase x for a bit. |
Nope. And it wants to install xpdf and tifflib in direct derogation of the USE flags!
Code: |
chianti linux # USE="-motif -X -xml2 -jpeg -pdf -pdflib -tiff" emerge -pvt samba
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild N ] net-fs/samba-3.0.14a-r2 -acl +cups -doc -examples -kerberos -ldap -libclamav -mysql -oav +pam -postgres +python -quotas +readline (-selinux) -winbind -xml -xml2 15,257 kB
[ebuild N ] net-print/cups-1.1.23-r4 -cjk -gnutls +nls +pam -samba -slp +ssl 8,501 kB
[ebuild N ] media-libs/tiff-3.7.3 1,242 kB
[ebuild N ] app-text/xpdf-3.01-r3 -X -motif 585 kB
[ebuild N ] media-libs/jpeg-6b-r5 0 kB
Total size of downloads: 25,587 kB
|
Any ideas? Like I said, if I wanted all of this crap I don't need and am not going to use, I'd install Windows! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Sat Jan 21, 2006 7:08 pm Post subject: |
|
|
It's cups that's causing all that stuff to be emerged, not Samba. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Monkeh Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/158504026146c5220a4feda.png)
Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Sat Jan 21, 2006 7:12 pm Post subject: |
|
|
If you install an up to date version of cups, there won't be an xpdf dependency and thus no X. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|