From owner-freebsd-questions@FreeBSD.ORG Mon Jul 17 13:54:57 2006 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 231B816A4DA for ; Mon, 17 Jul 2006 13:54:57 +0000 (UTC) (envelope-from owen_pg@yahoo.com) Received: from web60618.mail.yahoo.com (web60618.mail.yahoo.com [209.73.178.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 9DD2843D55 for ; Mon, 17 Jul 2006 13:54:56 +0000 (GMT) (envelope-from owen_pg@yahoo.com) Received: (qmail 44185 invoked by uid 60001); 17 Jul 2006 13:54:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nBwzelR9z6GVEaftMmTCer0zu9ccwswOWbMjVTe/dOezyiMxAAaem9NlfEa6Hg5+X1cFqqBNEQMO3O19dNoc7vjflt2KhafDih2aaQjm1jzfu5QAH0aWoQNoO00scVlYmqciigLtLJjfU71gpWYaombcol6+ISjbPpArOWjP8SA= ; Message-ID: <20060717135455.44183.qmail@web60618.mail.yahoo.com> Received: from [84.154.69.248] by web60618.mail.yahoo.com via HTTP; Mon, 17 Jul 2006 14:54:55 BST Date: Mon, 17 Jul 2006 14:54:55 +0100 (BST) From: Owen G To: freebsd-questions@freebsd.org In-Reply-To: <20060717120045.F13A916A603@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: mh983@yahoo.com Subject: defining dependencies for ports 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: Mon, 17 Jul 2006 13:54:57 -0000 > > Message: 5 > Date: Sun, 16 Jul 2006 23:00:40 -0500 > From: mike > Subject: defining dependencies for ports > To: freebsd-questions@freebsd.org > Message-ID: <44BB0B68.4020100@yahoo.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hello. I'm brand new to FreeBSD. I'm mostly enjoying it so far. > I'm > playing with installing the Eclipse IDE port right now. I say > playing > with because I started to install it and saw the list of dependencies > > and shuddered. I like to keep my system relatively clean and tend to > > start a new install of Linux (and now BSD) as bare bones and add only > > what I need. > > So I'm building Eclipse, and one of the things it wants to include is > > python . Seems odd for my java ide to need python, so I look it up > on > the web tool that shows all the dependencies for a port (which is a > fantastic tool, by the way). And python is included because glade is > > included, and glade seems to be a top-level dependency. However, > nowhere can I find in the Makefile any reference to Glade, nor to the > > many other "top-level" dependencies. How do I find out these things > and > once I find them, how do I change them so I don't include? (Mozilla > is > another example, but this one I actually see in the Makefile for the > Eclipse port. However, make config and make configure don't ask me > if I > want mozilla -- I use firefox). > > This applies generally. I installed other ports too that had odd > dependencies (like including perl because of some helper scripts that > > aren't even required to be run). Is there a command I'm missing that > > let's me configure these things? > > On a side note, is the name "pretty-print-build-depends-list" > designed > to keep me from running the command? ;-) And after typing all that, > > the output wasn't really even pretty. > > thanks for any tips. Sorry if this is a dumb question, I've been > using > FreeBSD only two days now. Currently I run slackware. > > mike Mike, Have a look at this link and see how your ports don't have to be difficult: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html Look for other stuff Dru's written about as well - good stuff. Install the port you want and all the dependancies will sort themselves out: e.g. # cd /usr/ports//www/firefox/ # make install clean Sorted! You are aware that there exists 1. ports = source = must be compiled = "make install" (as above) 2. packages = executable packages = precompiled = "pkgadd -r . . ." So unless you're running a custom kernel, there's no advantage of ports over packages. Good luck, Owen ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com