From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 10:19:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C72F1065695 for ; Sun, 10 Jan 2010 10:19:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id CBCE98FC08 for ; Sun, 10 Jan 2010 10:19:47 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id C47EF1EC41; Sun, 10 Jan 2010 11:19:46 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o0AAJjX7001503; Sun, 10 Jan 2010 11:19:46 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 10 Jan 2010 11:19:45 +0100 From: Polytropon To: nightrecon@hotmail.com Message-Id: <20100110111945.98208e9f.freebsd@edvax.de> In-Reply-To: References: <157701ca90c1$3a62ecd0$af28c670$@com> <20100109073442.c86fe9e4.freebsd@edvax.de> <188101ca918f$40141810$c03c4830$@com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: php-general@lists.php.net, freebsd-questions@freebsd.org Subject: Re: Clean PHP 5.2.12 Build Core Dumping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 10:19:48 -0000 On Sat, 09 Jan 2010 22:47:45 -0500, Michael Powell wrote: > If installing with the ports system you shouldn't need to be editing any > Makefiles. make config will give you list of options you may select from. That's correct. I forgot to add that there are some few ports that allow using an additional Makefile, i. e. Makefile.local in the port's directory, to contain compile time settings. Something similar can be achieved through the control files of various port management programs that then apply those settings if the port is compiled. A good example is mplayer where you can use this mechanism. As I said, I'm not sure if this still works. > Note there is an initial build/install of PHP itself and a second port > called php5-extensions which you then install for all the modules. Again, a > make config will list all options. No need to mess with Makefiles. There's the command "make config-recursive" (if I recall it correctly) to go through the config screens of all dependent ports at once - this saves you time of unneccessary interaction. > Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such as GD > try and pull in X dependencies; this will short circuit that. Excellent advice! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...