Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Sep 2001 13:34:10 +0900
From:      monyo@samba.gr.jp (TAKAHASHI Motonobu)
To:        rjmcintire@earthlink.net
Cc:        freebsd-questions@FreeBSD.org, "David W. Chapman Jr." <dwcjr@inethouston.net>
Subject:   Re: samba-devel port install fails with "--with-pam" Makefile on 4.3-R
Message-ID:  <20010901133410F.monyo@home.monyo.com>
In-Reply-To: <NCBBLBILEPCHLFJAPIIPAEJNIGAA.rjmcintire@earthlink.net>
References:  <200108251644.f7PGisk96056@freefall.freebsd.org> <NCBBLBILEPCHLFJAPIIPAEJNIGAA.rjmcintire@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help

"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010901133410F.monyo>