Build-Linux-local

From SkyWiki

Revision as of 16:45, 15 September 2008 by Martin (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Instructions to build and install Linux packages as private instance in a user home

Contents

apr

./configure --prefix=$HOME

apr-util

./configure --prefix=$HOME --with-apr=$HOME

apr-iconv

./configure --prefix=$HOME --with-apr=$HOME


autoconf

./configure --prefix=$HOME

m4

./configure --prefix=$HOME

libtool

./configure --prefix=$HOME


DBD

perl Makefile.PL --cflags=-I/home2/sky/include/mysql "--libs=-L/usr/lib -lmysqlclient.so"

openssl

./config --prefix=$HOME threads zlib shared

httpd

  1. Apache 2.2:

./configure --prefix=$HOME/apache --enable-dav --enable-dav-fs --enable-deflate --with-apr=$HOME --with-apr-util=$HOME

  1. ./configure --prefix=$HOME --enable-info --enable-rewrite --enable-speling --enable-deflate --enable-mime-magic --enable-dav --enable-dav-fs --enable-ssl --enable-auth --with-apr=$HOME --with-apr-util=$HOME
  1. Apache 2.0.x:
  2. ./configure --prefix=$HOME --enable-dav --enable-dav-fs --enable-deflate

jpeg

./configure --prefix=$HOME --enable-shared make make install make install-lib

freetype

./configure --prefix=$HOME

gd

./configure --prefix=$HOME --with-jpeg=$HOME

graphviz

export PATH=/usr/bin:/bin:$PATH ./configure --prefix=$HOME CC=gcc-2.95 CXX=gcc-2.95

php

./configure --prefix=$HOME --with-libxml-dir=$HOME --with-apxs2=$HOME/apache/bin/apxs --with-mysql=$HOME --with-gd --with-freetype-dir=$HOME --with-jpeg-dir=$HOME --with-png-dir=$HOME


mysql

./configure --prefix=$HOME --with-tcp-port=3307 --with-mysqld-user=sky

neon

./configure --prefix=$HOME --with-ssl --enable-shared --with-libs=$HOME/lib


subversion

./configure --prefix=$HOME --with-apr=$HOME --with-apr-util=$HOME --with-neon=$HOME --with-apxs=$HOME/apache/bin/apxs

  1. ./configure --prefix=$HOME --with-apr=$HOME --with-apr-util=$HOME --with-neon=$HOME --with-apache=$HOME/httpd-2.2.4

git

./configure --prefix=$HOME --with-perl=$HOME/bin/perl

Personal tools