From owner-freebsd-questions@FreeBSD.ORG Fri Sep 10 14:15:41 2004 Return-Path: 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 0C9BC16A4CE for ; Fri, 10 Sep 2004 14:15:41 +0000 (GMT) Received: from pearl.ibctech.ca (dev.eagle.ca [209.167.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD11143D1D for ; Fri, 10 Sep 2004 14:15:39 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: (qmail 13921 invoked by uid 1002); 10 Sep 2004 14:17:50 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (clamscan: 0.73. spamassassin: 2.64. Clear:RC:1(127.0.0.1):. Processed in 2.656197 secs); 10 Sep 2004 14:17:50 -0000 Received: from unknown (HELO webmail.ibctech.ca) (127.0.0.1) by localhost.ibctech.ca with SMTP; 10 Sep 2004 14:17:47 -0000 Received: from 209.167.16.15 (SquirrelMail authenticated user steve@ibctech.ca); by webmail.ibctech.ca with HTTP; Fri, 10 Sep 2004 10:17:47 -0400 (EDT) Message-ID: <1218.209.167.16.15.1094825867.squirrel@209.167.16.15> In-Reply-To: <20040910140904.GC50475@happy-idiot-talk.infracaninophile.co.uk> References: <1188.209.167.16.15.1094824957.squirrel@209.167.16.15> <20040910140904.GC50475@happy-idiot-talk.infracaninophile.co.uk> Date: Fri, 10 Sep 2004 10:17:47 -0400 (EDT) From: "Steve Bertrand" To: "Matthew Seaman" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: questions@freebsd.org Subject: Re: Installing ports with OPTIONS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 14:15:41 -0000 > On Fri, Sep 10, 2004 at 10:02:37AM -0400, Steve Bertrand wrote: > >> I am attempting to install /usr/ports/security/snort, but I want >> MySQL >> support. >> >> I've uncommented OPTIONS and the line that states MYSQL=on in the >> Makefile, however, when I run: >> >> # script >> # make > > Don't do that: the OPTIONS stuff is commented out for a reason. Not > entirely sure what reason, but if it worked, it wouldn't be commented > out now, would it? Well, I thought it was commented out so things don't get compiled in by default, but it certainly does not appear to work. > >> the resulting script shows no indication that MySQL was included. >> How >> can I verify that support for MySQL was included? >> >> If I run: >> >> # make -DWITH_MYSQL >> >> will I be certain that it is included, even if the output from make >> shows no indication of MySQL? > > Using: > > # make -DWITH_MYSQL > > is the correct thing to do. However, you should make sure that you > aren't stumbling over the remains of previous compilation sessions. > First run: > > # make clean > > then run > > # make -DWITH_MYSQL > > and you should certainly see mysql mentioned during the configuration > and compilation steps. Yes, as per my own reply, this is what I did, and it is compiling with MySQL. Thanks Matt, Tom for your suggestions. Steve > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH > UK >