← Back to team overview

maria-developers team mailing list archive

Fwd: To Sergei:

 

I put the <plugin>.c file and the CmakeLists.txt in a folder on my desktop
and ran
*cmake .*

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be
lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

then i ran
*cmake . -Wno-dev*

CMake Error at CMakeLists.txt:1 (MYSQL_ADD_PLUGIN):
  Unknown CMake command "MYSQL_ADD_PLUGIN".


-- Configuring incomplete, errors occurred!

Thanks


On Fri, May 24, 2013 at 10:40 PM, Sergei Golubchik <serg@xxxxxxxxxxxx>wrote:

> Hi, Samarth!
>
> On May 24, Samarth Mathur wrote:
> > Hi,
> >
> > How do I go about compiling the plugin in mariadb? I searched online, but
> > only found the mysql method :
> > https://dev.mysql.com/doc/refman/5.5/en/compiling-plugin-libraries.html
> > I'm getting some errors there, but, I wanna know, if it's done
> differently
> > or like this?
>
> Like in the manual, at the link above.
> What errors are you getting?
>
> Regards,
> Sergei
>

References