Source tree compilation on Debian/Ubuntu: Difference between revisions
From genomewiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
I did this on my Debian Lenny am64 machine: | I did this on my Debian Lenny am64 machine: | ||
<pre> | <pre> | ||
aptitude install | su | ||
aptitude install mysql-server-5.0 apache2 libmysqlclient15-dev | |||
# libmysqlclient.a does not contain SSL symbols, so use shared library | |||
export MYSQLLIBS="-lmysqlclient -lz" | |||
export MACHTYPE=$(uname -m) | export MACHTYPE=$(uname -m) | ||
export MYSQLINC=/usr/include/mysql | export MYSQLINC=/usr/include/mysql | ||
# | DIRS='SCRIPTS=/usr/local/bin CGI_BIN=/usr/lib/cgi-bin DOCUMENTROOT=/var/www/genome BINDIR=/usr/local/bin ENCODE_PIPELINE_BIN=/usr/local/bin' | ||
# download | |||
cd /usr/local | |||
wget http://hgdownload.cse.ucsc.edu/admin/jksrc.zip | |||
unzip jksrc.zip | |||
mkdir -p /var/www/genome/ | |||
# compile libraries | |||
cd kent/src/libs | |||
make compile $DIRS | |||
# compile browser | |||
cd ../hg | |||
make $DIRS | |||
</pre> | </pre> |
Revision as of 15:11, 16 September 2009
I did this on my Debian Lenny am64 machine:
su aptitude install mysql-server-5.0 apache2 libmysqlclient15-dev # libmysqlclient.a does not contain SSL symbols, so use shared library export MYSQLLIBS="-lmysqlclient -lz" export MACHTYPE=$(uname -m) export MYSQLINC=/usr/include/mysql DIRS='SCRIPTS=/usr/local/bin CGI_BIN=/usr/lib/cgi-bin DOCUMENTROOT=/var/www/genome BINDIR=/usr/local/bin ENCODE_PIPELINE_BIN=/usr/local/bin' # download cd /usr/local wget http://hgdownload.cse.ucsc.edu/admin/jksrc.zip unzip jksrc.zip mkdir -p /var/www/genome/ # compile libraries cd kent/src/libs make compile $DIRS # compile browser cd ../hg make $DIRS