From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 00:10:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA925106564A for ; Wed, 25 Jul 2012 00:10:28 +0000 (UTC) (envelope-from jamesp@musicreports.com) Received: from mri-mail.musicreports.com (smtp-relay.musicreports.com [38.98.50.162]) by mx1.freebsd.org (Postfix) with ESMTP id 864C58FC08 for ; Wed, 25 Jul 2012 00:10:28 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mri-mail.musicreports.com (Postfix) with ESMTP id 359835688046 for ; Tue, 24 Jul 2012 17:10:28 -0700 (PDT) X-Virus-Scanned: amavisd-new at mri-mail.musicreports.com Received: from mri-mail.musicreports.com ([127.0.0.1]) by localhost (mri-mail.musicreports.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VxeEluuu1Gd9 for ; Tue, 24 Jul 2012 17:10:26 -0700 (PDT) Received: from mri-mail.musicreports.com (mri-mail.musicreports.com [192.168.20.65]) by mri-mail.musicreports.com (Postfix) with ESMTP id B68265688043 for ; Tue, 24 Jul 2012 17:10:26 -0700 (PDT) Date: Tue, 24 Jul 2012 17:10:26 -0700 (PDT) From: "James D. Parra" To: freebsd-questions@freebsd.org Message-ID: <283823824.63741.1343175026485.JavaMail.root@mri-mail> In-Reply-To: <1595370872.63679.1343173679259.JavaMail.root@mri-mail> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.20.220] X-Mailer: Zimbra 6.0.15_GA_2995 (ZimbraWebClient - SAF3 (Win)/6.0.15_GA_2995) Subject: building Samba on 8.2 fails 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, 25 Jul 2012 00:10:28 -0000 Hello, I had installed Samba35 and had it working with PAM and SSH, however after a reboot PAM broke. Kept getting the error; in openpam_load_module(): no /usr/local/lib/pam_winbind.so found The file was actually in that path. Never the less, I tried re-installing; portsnap extract && portsnap fetch update cd /usr/ports/devel/libtool && make deinstall && make install clean cd /usr/ports/security/krb5 && make deinstall make KRB5_HOME=/usr/local install clean and finally; cd /usr/ports/net/samba35 && make KRB5_HOME=/usr/local install clean With my fingers crossed I hoped for the best and yet I received the following error during compiling; Compiling libsmb/libsmb_setget.c libsmb/libsmb_setget.c: In function 'smbc_getOptionUseCCache': libsmb/libsmb_setget.c:427: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function) libsmb/libsmb_setget.c:427: error: (Each undeclared identifier is reported only once libsmb/libsmb_setget.c:427: error: for each function it appears in.) libsmb/libsmb_setget.c: In function 'smbc_setOptionUseCCache': libsmb/libsmb_setget.c:435: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function) The following command failed: cc -I/usr/local/include -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I/usr/ports/net/samba35/work/samba-3.5.15/source3 -I/usr/ports/net/samba35/work/samba-3.5.15/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/local/include -DLDAP_DEPRECATED -I/usr/ports/net/samba35/work/samba-3.5.15/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/libsmb_setget.c -o libsmb/libsmb_setget.o gmake: *** [libsmb/libsmb_setget.o] Error 1 *** Error code 1 Stop in /usr/ports/net/samba35. *** Error code 1 Stop in /usr/ports/net/samba35. Does anyone have any solutions on how I can get Samba installed and resolve the above error? Many thanks in advance. James