Installing ports with OPTIONS
Steve Bertrand
iaccounts at ibctech.ca
Fri Sep 10 07:15:41 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?
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
>
More information about the freebsd-questions
mailing list