From owner-freebsd-questions@FreeBSD.ORG Wed Dec 23 14:20:52 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 470001065670 for ; Wed, 23 Dec 2009 14:20:52 +0000 (UTC) (envelope-from prvs=6013619a5=a@jenisch.at) Received: from mgaterz2.oekb.co.at (mgaterz2.oekb.co.at [143.245.5.112]) by mx1.freebsd.org (Postfix) with ESMTP id C11DF8FC15 for ; Wed, 23 Dec 2009 14:20:51 +0000 (UTC) Received: from exchh1.oekb.co.at ([143.245.3.20]) by mgaterz2.oekb.co.at with ESMTP; 23 Dec 2009 14:51:24 +0100 Received: from aurora.oekb.co.at (143.245.9.16) by exchh1.oekb.co.at (143.245.3.60) with Microsoft SMTP Server id 8.1.393.1; Wed, 23 Dec 2009 14:51:24 +0100 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.3/8.14.3) with ESMTP id nBNDpOnJ004168 for ; Wed, 23 Dec 2009 14:51:24 +0100 (CET) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.3/8.14.3/Submit) id nBNDpOGV004167 for freebsd-questions@freebsd.org; Wed, 23 Dec 2009 14:51:24 +0100 (CET) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Wed, 23 Dec 2009 14:51:24 +0100 From: Ewald Jenisch To: freebsd-questions@freebsd.org Message-ID: <20091223135124.GA4129@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: 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 14:20:52 -0000 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? o) Anything that could be done against this problem? Thanks much in advance for any clue, -ewald