View previous topic :: View next topic |
Author |
Message |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Mon Dec 19, 2005 7:35 pm Post subject: Installing Samba on GUI-less server [SOLVED] |
|
|
Hi all,
I have a server {gentoo 2005.1} that is and will be GUI less {-X11 -Gnome -KDE, etc}
When I try to emerge samba I get this:
-------------Begin---------------------------------
SERVER1 ~ # emerge -vp samba
These are the packages that I would merge, in order:
Calculating dependencies /
!!! All ebuilds that could satisfy "x11-libs/libXt" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-libs/libXt-0.99.3 (masked by: package.mask)
# Donnie Berkholz <spyderous@gentoo.org> (07 Aug 2005)
# Modularized X, upstream release candidates
- x11-libs/libXt-1.0.0 (masked by: package.mask)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "app-text/xpdf-3.01-r3" [ebuild])
-------------End------------------------------------
Any ideas? _________________ Where there is a will there is a way!
Seek enlightenment!!!
Last edited by linuxgeek on Wed Dec 21, 2005 7:19 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Mon Dec 19, 2005 7:38 pm Post subject: |
|
|
It's probably a dependency tied to one of the USE flags. Try disabling them individually until you find it. (Or, better yet, disable them all, and only re-enable the ones you need) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Mon Dec 19, 2005 7:42 pm Post subject: |
|
|
Cool thanks for the quick reply..
However, here is my current use:
USE="nptl mmx mmx2 sse sse2 ssl bash-completion bashlogger pic -X -x11" _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Mon Dec 19, 2005 7:48 pm Post subject: |
|
|
Well I commented out the USE in my make.conf.
Samba still wants libXt as dependency to xpdf...
I went a step further and renamed my make.conf to something else... {essentially have no make.conf at all}
Still same issue....
Any ideas? _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kulik Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1621782776436b9cbf8f43f.jpg)
Joined: 01 Aug 2004 Posts: 207 Location: Czech republic
|
Posted: Mon Dec 19, 2005 8:00 pm Post subject: |
|
|
try to emerge -vpt samba
it will generate a tree showing you which package pulls the depencies. _________________ Registered Linux user number 369644
Tenuity3D developer - http://www.tenuity3d.com |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Mon Dec 19, 2005 8:05 pm Post subject: |
|
|
linuxgeek wrote: | Well I commented out the USE in my make.conf. |
That's not sufficient. There are default flags, as well as (possibly) flasg defined in /etc/portage/package.use
I'd follow the above advice, but also try this for testing purposes: Code: | # USE="-*" emerge -pv samba |
That shuts of all USE flags.
I'm wondering why any of samba's dependencies would be MASKED, though. Do you have something silly like "ACCEPT_KEYWORDS="~x86" in your make.conf? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kulik Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1621782776436b9cbf8f43f.jpg)
Joined: 01 Aug 2004 Posts: 207 Location: Czech republic
|
Posted: Mon Dec 19, 2005 8:11 pm Post subject: |
|
|
rev138 wrote: | linuxgeek wrote: | Well I commented out the USE in my make.conf. |
That's not sufficient. There are default flags, as well as (possibly) flasg defined in /etc/portage/package.use
I'd follow the above advice, but also try this for testing purposes: Code: | # USE="-*" emerge -pv samba |
That shuts of all USE flags.
I'm wondering why any of samba's dependencies would be MASKED, though. Do you have something silly like "ACCEPT_KEYWORDS="~x86" in your make.conf? |
I thought he masked all X related stuff to ensure it won't get merged. _________________ Registered Linux user number 369644
Tenuity3D developer - http://www.tenuity3d.com |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Mon Dec 19, 2005 8:18 pm Post subject: |
|
|
Kulik wrote: | try to emerge -vpt samba
it will generate a tree showing you which package pulls the depencies. |
Same error... _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Mon Dec 19, 2005 8:23 pm Post subject: |
|
|
rev138 wrote: |
I'd follow the above advice, but also try this for testing purposes: Code: | # USE="-*" emerge -pv samba |
That shuts of all USE flags.
I'm wondering why any of samba's dependencies would be MASKED, though. Do you have something silly like "ACCEPT_KEYWORDS="~x86" in your make.conf? |
Ok this worked and yes I do have ACCEPT_KEYWORDS="~x86" _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Mon Dec 19, 2005 8:25 pm Post subject: |
|
|
SERVER1 etc # USE="-*" emerge -pv samba
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] net-fs/samba-3.0.20b USE="-acl -async -automount -cups -doc -examples -kerberos -ldap -ldapsam -libclamav -mysql -oav -pam -postgres -python -quotas -readline -swat -syslog -winbind -xml -xml2" 16,779 kB
Total size of downloads: 16,779 kB _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Mon Dec 19, 2005 8:26 pm Post subject: |
|
|
linuxgeek wrote: | Ok this worked and yes I do have ACCEPT_KEYWORDS="~x86" |
That's not a great idea. If you want to use unstable packages, it's much safer to define them in /etc/portage/package.keywords. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Mon Dec 19, 2005 8:26 pm Post subject: |
|
|
Here is my package.use:
# cat /etc/portage/package.use
sys-libs/glibc userlocales
sys-devel/libperl ithreads
dev-lang/perl ithreads _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Mon Dec 19, 2005 8:31 pm Post subject: |
|
|
linuxgeek wrote: | SERVER1 etc # USE="-*" emerge -pv samba
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] net-fs/samba-3.0.20b USE="-acl -async -automount -cups -doc -examples -kerberos -ldap -ldapsam -libclamav -mysql -oav -pam -postgres -python -quotas -readline -swat -syslog -winbind -xml -xml2" 16,779 kB
Total size of downloads: 16,779 kB |
Looks like one of those USE flags is creating a dependency that requires xpdf somewhere along the line. Try commenting out the ACCEPT_KEYWORDS line and trying this again: Code: | # emerge -pvt samba |
You should be able to see the dependency chain, without the masking problem getting in the way. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Mon Dec 19, 2005 11:10 pm Post subject: |
|
|
Ok I seem to have a mix of ~x86 and x86. As this is a JackAss build..
i.e. NPTL. Which was built with x86 with only a select few {required}
apps as ~x86 in my package.use...
I had inadvertly changed my make.conf to ~x86, fortunately this was fairly
recent. I am now back to x86 and I am rolling back the system packages to
x86 now and will try samba again.
I will post my progress...
It would be best to use this server with only GenToo Stable {well that is as stable as can be}
Thanks again for all the great feedback... _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Tue Dec 20, 2005 2:16 am Post subject: |
|
|
Well the issue went away when I emerge samba with -cups
It seems for whatever reason cups needs some x library. _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stalinski Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Jan 2005 Posts: 106 Location: Berlin,Germany
|
Posted: Tue Dec 20, 2005 12:11 pm Post subject: |
|
|
linuxgeek wrote: | Well the issue went away when I emerge samba with -cups
It seems for whatever reason cups needs some x library. |
Yes, cups wants the Xpdf, why?
there should be no need to install an XServer on a stand-alone server... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Po0ky Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/19921471614326b5a584e3f.png)
Joined: 21 Apr 2005 Posts: 142 Location: Belgium
|
Posted: Tue Dec 20, 2005 12:25 pm Post subject: |
|
|
Yes, cups wants the Xpdf, why?
there should be no need to install an XServer on a stand-alone server...[/quote]
Could you provide us with a emerge -pvt cups? ![Smile :)](images/smiles/icon_smile.gif) _________________ -- I'll eat it-- |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Tue Dec 20, 2005 3:32 pm Post subject: |
|
|
Sure thing here ya go
# emerge -vpt cups
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[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 ] x11-libs/openmotif-2.2.3-r3 5,029 kB
[ebuild N ] x11-terms/xterm-204 -Xaw3d -toolbar +truetype -unicode 698 kB
[ebuild N ] sys-apps/utempter-0.5.5.6 20 kB
[ebuild N ] app-arch/rpm2targz-9.0-r3 2 kB
[ebuild N ] virtual/x11-6.8 0 kB
[ebuild N ] x11-base/xorg-x11-6.8.2-r6 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 45,134 kB
[ebuild N ] x11-base/opengl-update-2.2.1 38 kB
[ebuild N ] x11-apps/ttmkfdir-3.0.9-r3 19 kB
[ebuild N ] media-libs/fontconfig-2.2.3 732 kB
Total size of downloads: 62,006 kB _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ConiKost Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 11 Jan 2005 Posts: 1371
|
Posted: Tue Dec 20, 2005 8:51 pm Post subject: |
|
|
add "-motif" to you useflags ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Arny n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 Oct 2004 Posts: 57
|
Posted: Tue Dec 20, 2005 9:34 pm Post subject: |
|
|
I had a similar problem earlier this week, and ConiKost is correct, adding "-motif" to your useflags will allow you to emerge xpdf without X11, and thus satisfy the dependancy that cups has mysteriously developed for xpdf. I presume this is to allow the good ol' "Print to PDF" option but why it needs xpdf as opposed to some other pdf writer is beyond me. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxgeek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2003 Posts: 46
|
Posted: Wed Dec 21, 2005 7:19 pm Post subject: |
|
|
Cool thanks all..
I am good to go now... _________________ Where there is a will there is a way!
Seek enlightenment!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|