Installing ports with OPTIONS
Matthew Seaman
m.seaman at infracaninophile.co.uk
Fri Sep 10 07:09:09 PDT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040910/7f594a3e/attachment.bin
More information about the freebsd-questions
mailing list