From owner-freebsd-questions@FreeBSD.ORG Wed Dec 23 15:17:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14B3D1065670 for ; Wed, 23 Dec 2009 15:17:29 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 980A48FC1B for ; Wed, 23 Dec 2009 15:17:28 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NNSwt-0001sS-Hd for freebsd-questions@freebsd.org; Wed, 23 Dec 2009 16:16:27 +0100 Received: from pool-68-239-67-110.res.east.verizon.net ([68.239.67.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Dec 2009 16:16:27 +0100 Received: from nightrecon by pool-68-239-67-110.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Dec 2009 16:16:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Wed, 23 Dec 2009 10:15:30 -0500 Lines: 124 Message-ID: References: <20091223135124.GA4129@aurora.oekb.co.at> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-67-110.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: samba3.x - 3.0 won't compile, 3.2 and 3.3 can't be installed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2009 15:17:29 -0000 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