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?

> 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.

        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

Attachment: pgpIEys5CHJuT.pgp
Description: PGP signature

Reply via email to