Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Samba on GUI-less server [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
linuxgeek
n00b
n00b


Joined: 02 Aug 2003
Posts: 46

PostPosted: Mon Dec 19, 2005 7:35 pm    Post subject: Installing Samba on GUI-less server [SOLVED] Reply with quote

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


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Mon Dec 19, 2005 7:38 pm    Post subject: Reply with quote

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


Joined: 02 Aug 2003
Posts: 46

PostPosted: Mon Dec 19, 2005 7:42 pm    Post subject: Reply with quote

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


Joined: 02 Aug 2003
Posts: 46

PostPosted: Mon Dec 19, 2005 7:48 pm    Post subject: Reply with quote

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


Joined: 01 Aug 2004
Posts: 207
Location: Czech republic

PostPosted: Mon Dec 19, 2005 8:00 pm    Post subject: Reply with quote

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


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Mon Dec 19, 2005 8:05 pm    Post subject: Reply with quote

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


Joined: 01 Aug 2004
Posts: 207
Location: Czech republic

PostPosted: Mon Dec 19, 2005 8:11 pm    Post subject: Reply with quote

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


Joined: 02 Aug 2003
Posts: 46

PostPosted: Mon Dec 19, 2005 8:18 pm    Post subject: Reply with quote

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


Joined: 02 Aug 2003
Posts: 46

PostPosted: Mon Dec 19, 2005 8:23 pm    Post subject: Reply with quote

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


Joined: 02 Aug 2003
Posts: 46

PostPosted: Mon Dec 19, 2005 8:25 pm    Post subject: Reply with quote

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


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Mon Dec 19, 2005 8:26 pm    Post subject: Reply with quote

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


Joined: 02 Aug 2003
Posts: 46

PostPosted: Mon Dec 19, 2005 8:26 pm    Post subject: Reply with quote

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


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Mon Dec 19, 2005 8:31 pm    Post subject: Reply with quote

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


Joined: 02 Aug 2003
Posts: 46

PostPosted: Mon Dec 19, 2005 11:10 pm    Post subject: Reply with quote

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


Joined: 02 Aug 2003
Posts: 46

PostPosted: Tue Dec 20, 2005 2:16 am    Post subject: Reply with quote

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


Joined: 14 Jan 2005
Posts: 106
Location: Berlin,Germany

PostPosted: Tue Dec 20, 2005 12:11 pm    Post subject: Reply with quote

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


Joined: 21 Apr 2005
Posts: 142
Location: Belgium

PostPosted: Tue Dec 20, 2005 12:25 pm    Post subject: Reply with quote

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? :)
_________________
-- I'll eat it--
Back to top
View user's profile Send private message
linuxgeek
n00b
n00b


Joined: 02 Aug 2003
Posts: 46

PostPosted: Tue Dec 20, 2005 3:32 pm    Post subject: Reply with quote

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


Joined: 11 Jan 2005
Posts: 1371

PostPosted: Tue Dec 20, 2005 8:51 pm    Post subject: Reply with quote

add "-motif" to you useflags ...
Back to top
View user's profile Send private message
Arny
n00b
n00b


Joined: 13 Oct 2004
Posts: 57

PostPosted: Tue Dec 20, 2005 9:34 pm    Post subject: Reply with quote

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


Joined: 02 Aug 2003
Posts: 46

PostPosted: Wed Dec 21, 2005 7:19 pm    Post subject: Reply with quote

Cool thanks all..

I am good to go now...
_________________
Where there is a will there is a way!
Seek enlightenment!!!
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