From owner-freebsd-questions Fri Aug 31 21:34:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tigris.allnet.ne.jp (tigris.allnet.ne.jp [210.228.3.47]) by hub.freebsd.org (Postfix) with ESMTP id 70C0C37B406 for ; Fri, 31 Aug 2001 21:34:12 -0700 (PDT) Received: from tomoyo.home.monyo.com (tomoyo.home.monyo.com [192.168.10.36]) by tigris.allnet.ne.jp (8.9.3+3.2W/3.7W-HOME-MONYO-COM) with SMTP id NAA07471 for ; Sat, 1 Sep 2001 13:34:10 +0900 Received: (qmail 22016 invoked from network); 1 Sep 2001 04:34:10 -0000 Received: from tomoyo.home.monyo.com (HELO localhost) (192.168.10.36) by tomoyo.home.monyo.com with SMTP; 1 Sep 2001 04:34:10 -0000 To: rjmcintire@earthlink.net Cc: freebsd-questions@FreeBSD.org, "David W. Chapman Jr." Subject: Re: samba-devel port install fails with "--with-pam" Makefile on 4.3-R From: monyo@samba.gr.jp (TAKAHASHI Motonobu) In-Reply-To: References: <200108251644.f7PGisk96056@freefall.freebsd.org> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Crater Lake) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010901133410F.monyo@home.monyo.com> Date: Sat, 01 Sep 2001 13:34:10 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 52 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Riley J. McIntire" wrote: >Greetings: > >I'm having a problem install samba-devel using the new Makefile >(8/26/01) with the "--with-pam" fix noted below. This problem does not have nothing to do with adding --with-pam option. The problem is that in the new Makefile $DOCSDIR variable is used but not defined anywhere. The following patch is a quick fix for it ===== Cur Here ===== diff -u Makefile.org Makefile --- Makefile.org Sat Sep 1 13:13:35 2001 +++ Makefile Sat Sep 1 13:30:12 2001 @@ -29,6 +29,7 @@ SAMBA_LOGDIR= ${VARDIR}/log SAMBA_PRIVATE= ${PREFIX}/private SAMBA_CONFDIR= ${PREFIX}/etc +DOCSDIR= ${PREFIX}/share/doc/samba # sample files STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/samba.sh.sample SAMPLE_CONFIG= ${SAMBA_CONFDIR}/smb.conf.default ===== Cut Here ===== *******error output*********** (snip) echo "@unexec echo \"Warning: If you will *NOT* use this package anymore, please remove %D/private/smbpasswd manually.\"" >> /usr/ports/net/samba-devel/work/.PLIST.mktmp usage: mkdir [-pv] [-m mode] directory ... *** Error code 64 Stop in /usr/ports/net/samba-devel. *** Error code 1 Stop in /usr/ports/net/samba-devel. *** Error code 1 Stop in /usr/ports/net/samba-devel. root@grizzly# ----- TAKAHASHI, Motonobu(monyo) monyo@samba.gr.jp Personal - http://home.monyo.com/ Samba Team - http://samba.org/ Samba-JP - http://www.samba.gr.jp/ JWNTUG - http://www.jwntug.or.jp/ Analog-JP - http://www.jp.analog.cx/ MCSE+I, SCNA, CCNA, Turbo-CI To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message