← Back to team overview

maria-developers team mailing list archive

Re: how to build mariadb RPMs


Is it possible to change the MariaDB RPM install directory to be
something like /opt/someotherplace?  I tried using
CMAKE_INSTALL_PREFIX but it seemed to be ignored.

On Thu, Jan 24, 2013 at 9:49 AM, Sergei Golubchik <serg@xxxxxxxxxxxx> wrote:
> Hi, Rich!
> On Jan 22, Rich Prohaska wrote:
>> It worked very nicely.  How hard to you think it is to port to MySQL?
>> Yes, we support MySQL.
> Not very difficult. There're changes in various CMakeLists.txt - to set
> correct components for files. in the main CMakeLists.txt - to read in
> this cpack_rpm.cmake, and in the install_layout.cmake.
> But generally, MySQL uses a hand-crafted mysql.spec, sometimes with
> extra patches on top. And invoke rpmbuild directly.
>> > But, anyway, for rpm it's
>> >
>> >   cmake -DRPM=xxx
>> >   make package
>> >
> Regards,
> Sergei

Follow ups