MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: How to build linux generic package
Posted by: Kent Boortz
Date: July 19, 2017 08:41AM

You can try run cmake like

cmake -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=STANDALONE -DFEATURE_SET=community -DPLATFORM=linux ......

Also make sure no CFLAGS, CXXFLAGS, LDFLAGS or similar are set in the environment specifying any CPU specific flags.

The binary built with the older glibc and kernel should run fine on one with newer versions.

Note that if different major GCC versions on your systems you might need to install some sort of C++ runtime compatibility package to be able to run binaries compiled with one GCC major version on the other system based on another GCC major version,

kent

Kent Boortz, Release Staff Engineer
Oracle, the MySQL team, www.mysql.com

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to build linux generic package
91
July 19, 2017 08:41AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.