From owner-freebsd-questions@FreeBSD.ORG Tue Sep 6 21:49:20 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A6CB16A41F for ; Tue, 6 Sep 2005 21:49:20 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A846543D45 for ; Tue, 6 Sep 2005 21:49:17 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.1/8.13.1) with ESMTP id j86LmAaJ049605; Tue, 6 Sep 2005 16:48:31 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <431E0E8F.3030908@daleco.biz> Date: Tue, 06 Sep 2005 16:47:59 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.10) Gecko/20050823 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derrill Guilbert References: <431DE851.6020905@gmail.com> In-Reply-To: <431DE851.6020905@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Compiling for the first time (more or less) 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: Tue, 06 Sep 2005 21:49:20 -0000 Derrill Guilbert wrote: > Up until now, I've been able to get by just using ports, > and mostly just the magic "pkg_add -r" ... > > Now I'm trying to create a samba server that will join a > Win2k domain. I managed to install Samba 3.12 using > pkg_add -r samba3 ... and at the very end I get a message > saying that the ADS support is disabled by default, because > it creates a kerberos dependency and (I thought it said) > further that I'd have to compile my own. > > Ok, fine. I've got the source from samba.org ... where's the > basic "roll your own" page in the handbook? I'm probaby > searching for the wrong thing or need to spend some > time at the Sylvan learning center for my Being Stupid > disability. Please, someone tell me where in the handbook > or elsewhere to find the basics of how to reconfigure for > and do the Make thing. > > I was run through it once by a friend, but it was one of those > "ok, vi [filename], search for [some string], change it to > [some other string], save the file, run make, then make install" > (I think) ... and it was long ago. So I suppose it will look kind of > familiar when I find it, but I'd like to have something to read while > I do it. > > Or maybe I'm asking the wrong question? If you'd like to point > me to the correct question, that would also be lovely. > > Derrill Well, the ports system was created so you wouldn't have to think much about ./configure --WITH-FOO=bar && make && make install, and then have no way to uninstall except do a visual diff on every "bin" directory on your box looking for "fooport", etc. So it's likely that you could run "make configure" in /usr/ports/net/samba3 and give it the options that it needs. Failing that, then something like `cd /usr/ports/net/samba3 && make --WITH-FOO=bar install clean` is likely the incantation of choice. Check the "Makefile" under said dir. Since ./configure - make - make install isn't simply a BSDism per se, it's possible that it's not even in the handbook, although I'm not looking over it *for you* ATM. ;-) In the event it's not there, I'd probably Google for "building from source", or some similar string.... HTH && good luck, Kevin KInsey