Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2009 10:15:30 -0500
From:      Michael Powell <nightrecon@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: samba3.x - 3.0 won't compile, 3.2 and 3.3 can't be installed
Message-ID:  <hgtc6q$bbd$1@ger.gmane.org>
References:  <20091223135124.GA4129@aurora.oekb.co.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Ewald Jenisch wrote:

> Hi,
> 
> For quite some time now I'm trying to get samba 3.x installed on my
> FreeBSD 7.2 System.
> 
> The symptoms in short:
> 
> o) 3.0 - doesn't compile
> 
> o) 3.2, 3.3 - can't be installed because of installation dependencies
> to samba4-devel-4.0.0.a8_2, talloc-1.3.1 and tdb-1.1.5.
> 
> System:
> FreeBSD test.at 7.2-STABLE FreeBSD 7.2-STABLE #8: Mon Dec 7 12:21:59 CET
> 2009 root@test.at:/usr/obj/usr/src/sys/GENERIC amd64
> 
> 
> Ports tree is updated and all ports installed up2date.
> 
> Now for the Samba-port(s): Depending on the version of Samba it either
> can't be built at all or fails upon installation.
> 
> In detail:
> 
> 1) Samba3.0:
> 
> Bails out during compilation with the following error:
> 
> Compiling locking/locking.c
> locking/locking.c: In function 'unparse_share_modes':
> locking/locking.c:701: error: invalid operands to binary -
> The following command failed:
> cc -I. -I/usr/ports/net/samba3/work/samba-3.0.37/source  -O -pipe
> -DLDAP_DEPRECATED -D_SAMBA_BUILD_=3 -I/usr/local/include 
> -I/usr/ports/net/samba3/work/samba-3.0.37/source/iniparser/src -Iinclude
> -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include
> -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/usr/local/include
> -I/usr/local/include -DLDAP_DEPRECATED   
> -I/usr/ports/net/samba3/work/samba-3.0.37/source/lib -D_SAMBA_BUILD_=3
> -fPIC -DPIC -c locking/locking.c -o locking/locking.o *** Error code 1
> 
> Stop in /usr/ports/net/samba3/work/samba-3.0.37/source.
> *** Error code 1
> 
> Stop in /usr/ports/net/samba3.
> *** Error code 1
> 
> Stop in /usr/ports/net/samba3.
> 
> 
> 
> 2) Samba3.2:
> 
> $ make install
> ===>  Installing for samba-3.2.15
> 
> ===>  samba-3.2.15 conflicts with installed package(s):
>       samba4-devel-4.0.0.a8_2
>       talloc-1.3.1
>       tdb-1.1.5
> 
>       They install files into the same place.
>       Please remove them first with pkg_delete(1).
> *** Error code 1
> 
> Stop in /usr/ports/net/samba32.
> *** Error code 1
> 
> Stop in /usr/ports/net/samba32.
> $
> 
> However samba4-devel is needed by (pkg_info -Rx)
> evolution-mapi-0.28.1
> gnome2-2.28.1
> libmapi-0.8.2
> so de-installing them is a no-go since I need gnome2
> 
> 
> 3) Samba 3.3:
> 
> Similar problems as with samba 3.2 above:
> 
> $ make install
> ===>  Installing for samba-3.3.9
> 
> ===>  samba-3.3.9 conflicts with installed package(s):
>       samba4-devel-4.0.0.a8_2
>       talloc-1.3.1
>       tdb-1.1.5
> 
>       They install files into the same place.
>       Please remove them first with pkg_delete(1).
> *** Error code 1
> 
> Stop in /usr/ports/net/samba33.
> *** Error code 1
> 
> Stop in /usr/ports/net/samba33.
> $
> 
> 
> 
> So, here are my questions:
> 
> o) Anybody else seen this before?

I still run 3.0.37, which has been portupgraded with each new rendition 
since 3.0 without any trouble. It began life on 7.2-Release and now runs on 
8.0-Release after system upgrade. But it is a server and has no desktop 
software, e.g., Gnome, to cause problems. Has always run fine and never had 
any trouble compiling.
 
> o) Anything that could be done against this problem?
> 

This may seem dumb, but since you already have Samba4-devel ostensibly built 
and installed why not run that? Or, since you have these other requirements 
which you won't uninstall and if Samba4-devel doesn't run fix that so that 
it does. Either remove Gnome2 and it's MAPI stuff or fix Samba4-devel.

-Mike
 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hgtc6q$bbd$1>