From owner-freebsd-questions@FreeBSD.ORG Fri Nov 24 22:35:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B713F16A407 for ; Fri, 24 Nov 2006 22:35:43 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 524C043D78 for ; Fri, 24 Nov 2006 22:34:19 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so918069wxc for ; Fri, 24 Nov 2006 14:34:58 -0800 (PST) Received: by 10.70.7.4 with SMTP id 4mr3705362wxg.1164407698813; Fri, 24 Nov 2006 14:34:58 -0800 (PST) Received: from scorpio.seibercom.net ( [67.189.184.224]) by mx.google.com with ESMTP id i16sm18789071wxd.2006.11.24.14.34.58; Fri, 24 Nov 2006 14:34:58 -0800 (PST) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id A5FE4BCC5; Fri, 24 Nov 2006 17:34:56 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: gerard@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTP id 14080BBC6; Fri, 24 Nov 2006 17:34:54 -0500 (EST) Date: Fri, 24 Nov 2006 17:34:48 -0500 (EST) From: Gerard Seibert To: FreeBSD-Questions In-Reply-To: <45675EE1.9010101@t-hosting.hu> Message-ID: <20061124172714.D73335@scorpio.seibercom.net> References: <2cd0a0da0611241302q77bf1d6etd59c7624562a65fe@mail.gmail.com> <45675EE1.9010101@t-hosting.hu> Organization: Seibercom.net MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1083641393-1164407688=:73335" X-Virus-Scanned: ClamAV using ClamSMTP Cc: =?UTF-8?Q?K=F6vesd=E1n_G=E1bor?= , VeeJay Subject: Re: How 2 Configure Makefile before "make install clean" from the ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gerard Seibert List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Nov 2006 22:35:43 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1083641393-1164407688=:73335 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 24 Nov 2006, Kövesdán Gábor wrote: > VeeJay escribió: >> Hi >> >> >> >> I want to install apache20 from the ports. But before installing, I want to >> enable/disable some of the modules as follow >> >> >> >> ./configure \ >> >> --prefix=/usr/local/apache2 \ >> >> --with-mpm=prefork \ >> >> --disable-charset-lite \ >> >> --disable-include \ >> >> --disable-env \ >> >> --disable-setenvif \ >> >> --disable-status \ >> >> --disable-autoindex \ >> >> --disable-asis \ >> >> --disable-cgi \ >> >> --disable-negotiation \ >> >> --disable-imap \ >> >> --disable-actions \ >> >> --disable-userdir \ >> >> --disable-alias \ >> >> >> >> But I have tried many different ways to configure before giving >> command "make install clean". But haven't had any luck. >> >> Could you please guide me that How can I configure the Makefile before >> installing apache? >> >> For example >> >> When I give "make config" command I get error as follow: >> >> >> >> # make config >> ===> No options to configure >> >> >> >> >> >> I have also tried --enable-OPTION and --disable-OPTION... in Makefile. >> >> >> but didn't had any luck.... :( >> >> Could you attache a Makefile showing places where to put these switches and >> how? I will be really very gratefull.... >> > When you try to install it, it prints a bunch of knobs, you can use, e.g. > WITH_SSL_MODULES, etc. You can set such in this way: > make WITH_SSL_MODULES=yes install clean I think the easiest method is to determine exactly what knobs you want to employ, then place them in the /etc/make.conf file. /etc/make.conf # Apache 2.2.2. section .if $(.CURDIR:M*/www/apache22) WITH_DBM=bdb WITH_BERKELEYDB=db42 .endif Obviously, you enter the knobs you want to use. An advantage to this method is that should you update Apache at some point, these knobs will be used by the newer version. -- Gerard gerard@seibercom.net Mike: "The Fourth Dimension is a shambles?" Bernie: "Nobody ever empties the ashtrays. People are SO inconsiderate." Gary Trudeau, "Doonesbury" --0-1083641393-1164407688=:73335--