Date: Wed, 23 Dec 2009 14:51:24 +0100 From: Ewald Jenisch <a@jenisch.at> To: freebsd-questions@freebsd.org Subject: samba3.x - 3.0 won't compile, 3.2 and 3.3 can't be installed Message-ID: <20091223135124.GA4129@aurora.oekb.co.at>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091223135124.GA4129>