Build-Linux-local

From SkyWiki

(Difference between revisions)
Jump to: navigation, search
(BDB)
(download links)
Line 23: Line 23:
-
== APR ==
+
== [http://apr.apache.org/download.cgi APR] ==
<code>
<code>
./configure --prefix=$HOME
./configure --prefix=$HOME
</code>
</code>
-
== APR-util ==
+
== [http://apr.apache.org/download.cgi APR-util] ==
<code>
<code>
./configure --prefix=$HOME --with-apr=$HOME
./configure --prefix=$HOME --with-apr=$HOME
</code>
</code>
-
== APR-iconv ==
+
== [http://apr.apache.org/download.cgi APR-iconv] ==
<code>
<code>
./configure --prefix=$HOME --with-apr=$HOME
./configure --prefix=$HOME --with-apr=$HOME
Line 39: Line 39:
-
== OpenSSL ==
+
== [http://www.openssl.org/source/ OpenSSL] ==
<code>
<code>
./config --prefix=$HOME threads zlib shared
./config --prefix=$HOME threads zlib shared
</code>
</code>
-
== Apache httpd ==
+
== [http://httpd.apache.org/download.cgi Apache httpd] ==
Apache 2.2:
Apache 2.2:
Line 55: Line 55:
old: <code>./configure --prefix=$HOME --enable-dav --enable-dav-fs --enable-deflate</code>
old: <code>./configure --prefix=$HOME --enable-dav --enable-dav-fs --enable-deflate</code>
-
== libJPEG ==
+
== [http://www.ijg.org/files/jpegsrc.v6b.tar.gz libJPEG] ==
<code>
<code>
./configure --prefix=$HOME --enable-shared
./configure --prefix=$HOME --enable-shared
Line 66: Line 66:
</code>
</code>
-
== libPNG ==
+
== [http://libpng.sourceforge.net/ libPNG] ==
<code>
<code>
</code>
</code>
-
== Freetype ==
+
== [http://freetype.sourceforge.net/download.html Freetype] ==
<code>
<code>
./configure --prefix=$HOME
./configure --prefix=$HOME
</code>
</code>
-
== libGD ==
+
== [http://www.libgd.org/Downloads libGD] ==
<code>
<code>
./configure --prefix=$HOME --with-jpeg=$HOME
./configure --prefix=$HOME --with-jpeg=$HOME
</code>
</code>
-
== Graphviz ==
+
== [http://www.graphviz.org/Download_source.php Graphviz] ==
<code>
<code>
export PATH=/usr/bin:/bin:$PATH
export PATH=/usr/bin:/bin:$PATH
Line 88: Line 88:
</code>
</code>
-
== PHP ==
+
== [http://www.php.net/downloads.php PHP] ==
<code>
<code>
./configure --prefix=$HOME --with-libxml-dir=$HOME --with-apxs2=$HOME/apache/bin/apxs --with-mysql=$HOME --with-gd --with-jpeg-dir=$HOME --with-png-dir=$HOME --with-freetype-dir=$HOME
./configure --prefix=$HOME --with-libxml-dir=$HOME --with-apxs2=$HOME/apache/bin/apxs --with-mysql=$HOME --with-gd --with-jpeg-dir=$HOME --with-png-dir=$HOME --with-freetype-dir=$HOME
</code>
</code>
-
== MySQL ==
+
== [http://dev.mysql.com/downloads/mysql MySQL] ==
<code>
<code>
./configure --prefix=$HOME --with-tcp-port=<PORT> --with-mysqld-user=<USER>
./configure --prefix=$HOME --with-tcp-port=<PORT> --with-mysqld-user=<USER>
</code>
</code>
-
== Perl ==
+
== [http://www.cpan.org/src/README.html Perl] ==
<code>
<code>
</code>
</code>
-
== DBD Perl extension ==
+
== [http://search.cpan.org/~timb/DBI/lib/DBI/DBD.pm DBD Perl extension] ==
<code>
<code>
perl Makefile.PL --cflags=-I$HOME/include/mysql "--libs=-L/usr/lib -lmysqlclient.so"
perl Makefile.PL --cflags=-I$HOME/include/mysql "--libs=-L/usr/lib -lmysqlclient.so"
</code>
</code>
-
== Neon ==
+
== [http://www.webdav.org/neon/ Neon] ==
<code>
<code>
./configure --prefix=$HOME --with-ssl --enable-shared --with-libs=$HOME/lib
./configure --prefix=$HOME --with-ssl --enable-shared --with-libs=$HOME/lib

Revision as of 20:29, 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

libPNG

Freetype

./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-jpeg-dir=$HOME --with-png-dir=$HOME --with-freetype-dir=$HOME

MySQL

./configure --prefix=$HOME --with-tcp-port=<PORT> --with-mysqld-user=<USER>

Perl

DBD Perl extension

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

Neon

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

BDB

cd ...

../release/config

make

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

GMP

./configure --prefix=$HOME

make&&make install

MPFR

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

make&&make install

GCC

tar xjf gcc-4.3.2.tar.bz2

mkdir build

cd build

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/lib

../gcc-4.3.2/configure --prefix=$HOME --with-gmp=$HOME --with-mpfr=$HOME --enable-languages=c,c++,fortran

make

make install

Personal tools