Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2004 10:17:47 -0400 (EDT)
From:      "Steve Bertrand" <iaccounts@ibctech.ca>
To:        "Matthew Seaman" <m.seaman@infracaninophile.co.uk>
Cc:        questions@freebsd.org
Subject:   Re: Installing ports with OPTIONS
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>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1218.209.167.16.15.1094825867.squirrel>