Manual:Packaging
From Askmonty.org
| TOC | MariaDB 5.1 Reference Manual: Packaging | Index |
See Also:MariaDB Reference Manual, MariaDB 5.3 Reference Manual
The content of this page is outdated, see the Compiling MariaDB section of the Knowledgebase for links to articles on how MariaDB packages are currently built.
Details of building of source and binary packages
On this page the command sequences used to build the tarballs available on MariaDB:Download is given for reference.
MariaDB 5.1.38 beta, released October 29, 2009
These packages were built on Ubuntu 9.04 "Jaunty", i686 and x86_64 machines.
They were built using the scripts in the lp:ourdelta Launchpad tree:
bakery/preheat.sh cd bakery-[0-9]* bakery/tarbake51.sh <revision> <mariadb-branch> bakery/autobake51-bintar.sh mariadb-*.tar.gz
The builds are done by our Buildbot setup.
Detailed building instructions are on the Building MariaDB page.
MariaDB 5.1.32 beta1, released April 20, 2009
The packages were built on Ubuntu 8.04 i686 and x86_64 machines. (The source package was built on x86_64).
Source package:
bzr co --lightweight -rrevid:knielsen@knielsen-hq.org-20090408165924-tpndsyx6jp0s9hfx ~/devel/repo/mariadb-5.1 mariadb-5.1-release cd mariadb-5.1-release BUILD/autorun.sh CC=gcc CXX=gcc CFLAGS="-O0" CXXFLAGS="-O0" ./configure --prefix=/usr/local/mysql --exec-prefix=/usr/local/mysql --libexecdir=/usr/local/mysql/bin --localstatedir=/usr/local/mysql/data --with-server-suffix=1 --with-comment="(MariaDB - http://askmonty.org/)" --enable-static --enable-thread-safe-client --enable-local-infile --with-big-tables --with-libwrap --with-ssl --without-docs --with-readline --with-extra-charsets=all --with-embedded-server --with-libevent --with-partition --with-zlib-dir=bundled --with-plugins=max-no-ndb make -j4 make dist
Binaries for x86_64:
tar zxf mysql-5.1.32-maria-beta.tar.gz cd mysql-5.1.32-maria-beta CC="gcc -static-libgcc" CXX="gcc -static-libgcc" CFLAGS="-O2 -fno-omit-frame-pointer -g" CXXFLAGS="-O2 -fno-omit-frame-pointer -g" ./configure --prefix=/usr/local/mysql --exec-prefix=/usr/local/mysql --libexecdir=/usr/local/mysql/bin --localstatedir=/usr/local/mysql/data --with-server-suffix=1 --with-comment="(MariaDB - http://askmonty.org/)" --with-system-type=linux-gnu --enable-shared --enable-static --enable-thread-safe-client --enable-local-infile --with-big-tables --with-libwrap --with-ssl --without-docs --with-readline --with-extra-charsets=all --with-embedded-server --with-libevent --with-partition --with-zlib-dir=bundled --with-plugins=max-no-ndb make -j4 sudo mkdir /usr/local/mysql && sudo chown knielsen:knielsen /usr/local/mysql make install sudo chown -R root:root /usr/local/mysql sudo mv /usr/local/mysql{,-5.1.32-maria-beta1-Linux-x86_64} tar zcf "$(pwd)/mysql-5.1.32-maria-beta1-Linux-x86_64.tar.gz" -C /usr/local mysql-5.1.32-maria-beta1-Linux-x86_64/
Binaries for i686 are build like for x86_64, except that the string "i686" is substituted for "x86_64" in the final command.

