Skip to content

Debian 5 Lenny

Mark Winn edited this page Nov 1, 2019 · 1 revision

Debian Lenny specific build issues


Standard Debian 5.0 repositories contain an old version of git. To get a recent version of git, you can install it from source.

  1. Install dependencies with apt-get: apt-get install build-essential and zlib1g-dev
  2. Source code can be downloaded at http://git-core.googlecode.com/files/git-1.7.8.3.tar.gz
  3. Build using ./configure, make and make install. Use --without-tcltk option with configure to disable the git GUI.
  4. Create a symlink to your new git executable ln -s /usr/local/bin/git /usr/bin/git

Standard Debian 5.0 repositories do not contain MySQL 5.1. While the open-sharding project comes with MySQL 5.0 and 5.1 headers to build against, if you wish to test the driver against MySQL 5.1 you may need to build from source.

  1. Install dependencies with apt-get: build-essential and ncurses5-dev
  2. Source code can be found at http://dev.mysql.com/downloads/mirror.php?id=405600#mirrors
  3. Install using ./configure, make and make install.
  4. See mysql documentation for more information.