Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba wants to install X.org . . . WTF? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dick Hertz
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 98
Location: Pacific Northwest, USA

PostPosted: Sat Jan 21, 2006 8:19 am    Post subject: Samba wants to install X.org . . . WTF? [SOLVED] Reply with quote

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


Joined: 11 Oct 2002
Posts: 515

PostPosted: Sat Jan 21, 2006 11:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Dick Hertz
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 98
Location: Pacific Northwest, USA

PostPosted: Sat Jan 21, 2006 6:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
TealVeal
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2003
Posts: 92

PostPosted: Sat Jan 21, 2006 6:30 pm    Post subject: Reply with quote

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


Joined: 22 Sep 2005
Posts: 523
Location: England

PostPosted: Sat Jan 21, 2006 6:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dick Hertz
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 98
Location: Pacific Northwest, USA

PostPosted: Sat Jan 21, 2006 6:35 pm    Post subject: Reply with quote

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


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Sat Jan 21, 2006 7:08 pm    Post subject: Reply with quote

It's cups that's causing all that stuff to be emerged, not Samba.
Back to top
View user's profile Send private message
Monkeh
Veteran
Veteran


Joined: 06 Aug 2005
Posts: 1656
Location: England

PostPosted: Sat Jan 21, 2006 7:12 pm    Post subject: Reply with quote

If you install an up to date version of cups, there won't be an xpdf dependency and thus no X.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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