This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

CentOS RPM binary ./configure options ?

I am using CentOS 64bit rpm binaries from http://downloads.askmonty.org/mariadb/5.2/#file_type=rpm. May I ask what is the complete ./configure options used for MariaDB 5.2.5 ? There's some confusion as to whether --with-fast-mutexes, with-aria-tmp-tables and --with-libevent are enabled by default in this rpm binary ?

I'd like to replicate the CentOS 64bit rpm binary install configure options and layout in source tarball install so would be great if you can provide this info which I can't find on kb.askmonty.org at the moment.

thanks

Answer Answered by openiduser7 in this comment.

I think i answered my own question by looking at /usr/bin/mysql for MariaDB 5.2.5 CentOS RPM 64Bit install i find.

VERSION="5.2.5-MariaDB-mariadb99"
COMPILATION_COMMENT="(MariaDB - http://mariadb.com/)"
BUGmysql="maria-developers@lists.launchpad.net"
# This is set by configure

COMP_CALL_INFO="CC='gcc'  CFLAGS='-O2 -fno-omit-frame-pointer  -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'  CXX='g++'  CXXFLAGS='-O2 -fno-omit-frame-pointer -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'  LDFLAGS=''  ASFLAGS=''"
COMP_RUN_INFO="CC='gcc'  CFLAGS=' -O2 -fno-omit-frame-pointer  -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DUNIV_LINUX'  CXX='g++'  CXXFLAGS=' -O2 -fno-omit-frame-pointer -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -fno-implicit-templates -fno-exceptions -fno-rtti'  LDFLAGS=' -rdynamic '  ASFLAGS=''"
CONFIGURE_LINE="./configure '--disable-shared' '--with-server-suffix=-mariadb99' '--without-bench' '--with-big-tables' '--with-libwrap' '--with-libevent' '--with-zlib-dir=bundled' '--with-partition' '--with-embedded-server' '--with-plugins=max-no-ndb' '--without-plugin-innodb_plugin' '--enable-local-infile' '--with-mysqld-user=mysql' '--with-unix-socket-path=/var/lib/mysql/mysql.sock' '--with-pic' '--prefix=/' '--without-docs' '--with-extra-charsets=all' '--with-ssl' '--exec-prefix=/usr' '--libexecdir=/usr/sbin' '--libdir=/usr/lib64' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var/lib/mysql' '--infodir=/usr/share/info' '--includedir=/usr/include' '--mandir=/usr/share/man' '--enable-thread-safe-client' '--enable-shared' '--enable-static' '--with-comment=(MariaDB - http://mariadb.com/)' '--with-readline' 'CC=gcc' 'CFLAGS=-O2 -fno-omit-frame-pointer  -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CXXFLAGS=-O2 -fno-omit-frame-pointer -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CXX=g++' 'LDFLAGS='"
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.