I use MySQL and Percona for quite some time now but I'm quite new to
compiling from source. I need to do a recompile in order to include the
Sphinx plugin, and I'm able to do so. However, I noticed that the build I
created doesn't include the handlersocket files in the lib/mysql/plugin
directory. I've tried different variations of the name (handlersocket,
handler_socket, etc) as part of the --with-plugins parameter, but I always
get "unknown plugin" error. Can somebody point me to the correct
configuration parameters to include handlersocket?
Also, my other objective is to create a binary package, so that we don't
have to recompile every time we fire up a new server. So my idea is to set
the --prefix and --exec-prefix to point to a single directory or maybe two
directories within a single parent directory, then just move around the
directories to have the same layout as the downloaded linux binaries. Will
this work or am I missing something?
Johann Vincent Paul Tagle <johannta...@gmail.com> writes:
> I use MySQL and Percona for quite some time now but I'm quite new to
> compiling from source. I need to do a recompile in order to include the
> Sphinx plugin, and I'm able to do so. However, I noticed that the build I
> created doesn't include the handlersocket files in the lib/mysql/plugin
> directory. I've tried different variations of the name (handlersocket,
> handler_socket, etc) as part of the --with-plugins parameter, but I always
> get "unknown plugin" error. Can somebody point me to the correct
> configuration parameters to include handlersocket?
> Also, my other objective is to create a binary package, so that we don't
> have to recompile every time we fire up a new server. So my idea is to set
> the --prefix and --exec-prefix to point to a single directory or maybe two
> directories within a single parent directory, then just move around the
> directories to have the same layout as the downloaded linux binaries. Will
> this work or am I missing something?
We have the ./build/build-binary.sh script in the source tree that may
help you. There is also scripts there to build RPM and DEBs.
Hi Stewart. Thanks for the response and apologies for the late reply as
I'm only able to go back to this issue now. I can't seem to find any
build-binary.sh in the ./BUILD directory though. There's autorun.sh,
build_mccge.sh, cmake_configure.sh, FINISH.sh and SETUP.sh. Also did a
recursive search on the whole source directory for all .sh files and I
still cannot find anything that could be the script you mentioned. Can you
clarify? Thanks.
Johann
On Mon, Aug 6, 2012 at 8:52 AM, Stewart Smith <stew...@flamingspork.com>wrote:
> Johann Vincent Paul Tagle <johannta...@gmail.com> writes:
> > I use MySQL and Percona for quite some time now but I'm quite new to
> > compiling from source. I need to do a recompile in order to include the
> > Sphinx plugin, and I'm able to do so. However, I noticed that the build
> I
> > created doesn't include the handlersocket files in the lib/mysql/plugin
> > directory. I've tried different variations of the name (handlersocket,
> > handler_socket, etc) as part of the --with-plugins parameter, but I
> always
> > get "unknown plugin" error. Can somebody point me to the correct
> > configuration parameters to include handlersocket?
> > Also, my other objective is to create a binary package, so that we don't
> > have to recompile every time we fire up a new server. So my idea is to
> set
> > the --prefix and --exec-prefix to point to a single directory or maybe
> two
> > directories within a single parent directory, then just move around the
> > directories to have the same layout as the downloaded linux binaries.
> Will
> > this work or am I missing something?
> We have the ./build/build-binary.sh script in the source tree that may
> help you. There is also scripts there to build RPM and DEBs.
Okay I found scripts/make_binary_distribution, which I ran after make. But
my resulting package still doesn't have handlersocket. What parameter(s)
do I need to include when I run configure so that it will include
handlersocket?
Thanks
Johann
On Thu, Aug 23, 2012 at 5:08 PM, Johann Vincent Paul Tagle <
johannta...@gmail.com> wrote:
> Hi Stewart. Thanks for the response and apologies for the late reply as
> I'm only able to go back to this issue now. I can't seem to find any
> build-binary.sh in the ./BUILD directory though. There's autorun.sh,
> build_mccge.sh, cmake_configure.sh, FINISH.sh and SETUP.sh. Also did a
> recursive search on the whole source directory for all .sh files and I
> still cannot find anything that could be the script you mentioned. Can you
> clarify? Thanks.
> Johann
> On Mon, Aug 6, 2012 at 8:52 AM, Stewart Smith <stew...@flamingspork.com>wrote:
>> Johann Vincent Paul Tagle <johannta...@gmail.com> writes:
>> > I use MySQL and Percona for quite some time now but I'm quite new to
>> > compiling from source. I need to do a recompile in order to include the
>> > Sphinx plugin, and I'm able to do so. However, I noticed that the
>> build I
>> > created doesn't include the handlersocket files in the lib/mysql/plugin
>> > directory. I've tried different variations of the name (handlersocket,
>> > handler_socket, etc) as part of the --with-plugins parameter, but I
>> always
>> > get "unknown plugin" error. Can somebody point me to the correct
>> > configuration parameters to include handlersocket?
>> > Also, my other objective is to create a binary package, so that we don't
>> > have to recompile every time we fire up a new server. So my idea is to
>> set
>> > the --prefix and --exec-prefix to point to a single directory or maybe
>> two
>> > directories within a single parent directory, then just move around the
>> > directories to have the same layout as the downloaded linux binaries.
>> Will
>> > this work or am I missing something?
>> We have the ./build/build-binary.sh script in the source tree that may
>> help you. There is also scripts there to build RPM and DEBs.