Date: Tue, 7 Apr 2009 19:30:03 -0500 (CDT) From: Lars Eighner <luvbeastie@larseighner.com> To: Dave Stegner <dstegner@earthlink.net> Cc: freebsd-questions@freebsd.org Subject: Re: Mysql make question Message-ID: <20090407192917.N49321@qroenaqrq.6qbyyneqvnyhc.pbz> In-Reply-To: <000801c9b7da$76575c00$69dea8c0@xws001> References: <000801c9b7da$76575c00$69dea8c0@xws001>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Apr 2009, Dave Stegner wrote: > > I am venturing into Mysql. I am trying to install it from the port, 5.1.33. > > Simple question: > > Immediately after the start of make, you are presented with a list of > options. > > Are those options selected by entering them on the make line like: > > make BUILD_OPTIMIZED=yes BUILD_STATIC=yes Yes. Note however that test in most cases is only for the *existence* of the argument, so WITH_OPENSSL="yes" is the same as WITH_OPENSSL="no"; If you don't want WITH_OPENSSL, don't use the argument at all. Obviously there are a few which actually use the value like WITH_XCHARSET. It will pay to learn to read Makefiles well enough to see what arguments the Makefile accepts and what it tests them for. In this case you will see that most arguments are tested only for defined. Many ports give you a nice interface to set options and remember some options for future builds. You can set these by running make config. But no joy with mysql. > Sorry for such a simple question but, I searched and could not find > answer. In most cases the defaults are good. Unless you are already familiar with the application and know what you want and why you want it, it is generally best to leave the defaults alone. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090407192917.N49321>