Build-Linux-local

From SkyWiki

(Difference between revisions)
Jump to: navigation, search
(autoconf)
(<code>)
Line 13: Line 13:
== m4 ==
== m4 ==
 +
<code>
./configure --prefix=$HOME
./configure --prefix=$HOME
 +
</code>
== libtool ==
== libtool ==
 +
<code>
./configure --prefix=$HOME
./configure --prefix=$HOME
 +
</code>
== APR ==
== APR ==
 +
<code>
./configure --prefix=$HOME
./configure --prefix=$HOME
 +
</code>
== APR-util ==
== APR-util ==
 +
<code>
./configure --prefix=$HOME --with-apr=$HOME
./configure --prefix=$HOME --with-apr=$HOME
 +
</code>
== APR-iconv ==
== APR-iconv ==
 +
<code>
./configure --prefix=$HOME --with-apr=$HOME
./configure --prefix=$HOME --with-apr=$HOME
 +
</code>
== OpenSSL ==
== OpenSSL ==
 +
<code>
./config --prefix=$HOME threads zlib shared
./config --prefix=$HOME threads zlib shared
 +
</code>
== Apache httpd ==
== Apache httpd ==
Line 44: Line 56:
== libJPEG ==
== libJPEG ==
 +
<code>
./configure --prefix=$HOME --enable-shared
./configure --prefix=$HOME --enable-shared
 +
make
make
 +
make install
make install
 +
make install-lib
make install-lib
== Freetype ==
== Freetype ==
 +
<code>
./configure --prefix=$HOME
./configure --prefix=$HOME
 +
</code>
== libGD ==
== libGD ==
 +
<code>
./configure --prefix=$HOME --with-jpeg=$HOME
./configure --prefix=$HOME --with-jpeg=$HOME
 +
</code>
== graphviz ==
== graphviz ==
 +
<code>
export PATH=/usr/bin:/bin:$PATH
export PATH=/usr/bin:/bin:$PATH
 +
./configure --prefix=$HOME CC=gcc-2.95 CXX=gcc-2.95
./configure --prefix=$HOME CC=gcc-2.95 CXX=gcc-2.95
 +
</code>
== PHP ==
== PHP ==
 +
<code>
./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
./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
 +
</code>
== MySQL ==
== MySQL ==
 +
<code>
./configure --prefix=$HOME --with-tcp-port=3307 --with-mysqld-user=sky
./configure --prefix=$HOME --with-tcp-port=3307 --with-mysqld-user=sky
 +
</code>
== DBD Perl extension ==
== DBD Perl extension ==
 +
<code>
perl Makefile.PL --cflags=-I/home2/sky/include/mysql "--libs=-L/usr/lib -lmysqlclient.so"
perl Makefile.PL --cflags=-I/home2/sky/include/mysql "--libs=-L/usr/lib -lmysqlclient.so"
 +
</code>
== Neon ==
== Neon ==
 +
<code>
./configure --prefix=$HOME --with-ssl --enable-shared --with-libs=$HOME/lib
./configure --prefix=$HOME --with-ssl --enable-shared --with-libs=$HOME/lib
 +
</code>
== Subversion ==
== Subversion ==
Line 78: Line 109:
old: <code>./configure --prefix=$HOME --with-apr=$HOME --with-apr-util=$HOME --with-neon=$HOME --with-apache=$HOME/httpd-2.2.4</code>
old: <code>./configure --prefix=$HOME --with-apr=$HOME --with-apr-util=$HOME --with-neon=$HOME --with-apache=$HOME/httpd-2.2.4</code>
 +
 +
<code>
 +
make swig-pl
 +
 +
make install-swig-pl
 +
 +
make swig-py
 +
 +
make install-swig-py
 +
</code>
== git ==
== git ==
 +
<code>
./configure --prefix=$HOME --with-perl=$HOME/bin/perl
./configure --prefix=$HOME --with-perl=$HOME/bin/perl
 +
</code>
== GCC ==
== GCC ==
 +
<code>
 +
 +
</code>

Revision as of 17:01, 15 September 2008

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


Contents

autoconf

./configure --prefix=$HOME

make

make install

m4

./configure --prefix=$HOME

libtool

./configure --prefix=$HOME


APR

./configure --prefix=$HOME

APR-util

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

APR-iconv

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


OpenSSL

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

Apache httpd

Apache 2.2:

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

old: ./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

Apache 2.0.x:

old: ./configure --prefix=$HOME --enable-dav --enable-dav-fs --enable-deflate

libJPEG

./configure --prefix=$HOME --enable-shared

make

make install

make install-lib

Freetype

<code> ./configure --prefix=$HOME

libGD

./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


DBD Perl extension

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


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

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

make swig-pl

make install-swig-pl

make swig-py

make install-swig-py

git

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


GCC

Personal tools