Compile icecast in the Unix-Like Environment: Difference between revisions

From TestingMediawiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
暫存:在 *nix 下架設 icecast 麻瓜用教學 ( 作者 AndCycle )
暫存:在 *nix 下編譯 icecast 麻瓜用教學 ( 作者 AndCycle )


<pre style="overflow:auto;"><nowiki>
<pre style="overflow:auto;"><nowiki>
Line 13: Line 13:
wget http://www.vorbis.com/files/1.0.1/unix/libogg-1.1.tar.gz
wget http://www.vorbis.com/files/1.0.1/unix/libogg-1.1.tar.gz
wget http://downloads.xiph.org/releases/icecast/icecast-2.2.0.tar.gz
wget http://downloads.xiph.org/releases/icecast/icecast-2.2.0.tar.gz
wget ftp://xmlsoft.org/libxml2-cvs-snapshot.tar.gz
wget ftp://xmlsoft.org/libxml2-2.6.17.tar.gz
wget ftp://xmlsoft.org/libxslt-cvs-snapshot.tar.gz
wget ftp://xmlsoft.org/libxslt-1.1.12.tar.gz
wget http://downloads.xiph.org/releases/theora/libtheora-1.0alpha4.tar.gz
wget http://downloads.xiph.org/releases/theora/libtheora-1.0alpha4.tar.gz
tar -zxvf *.gz
tar -zxvf *.gz

Revision as of 21:56, 25 January 2005

暫存:在 *nix 下編譯 icecast 麻瓜用教學 ( 作者 AndCycle )

"/home/colo/andcycle/"代換成所屬的home目錄


cd ~
mkdir testCompile
cd testCompile
mkdir install
wget http://www.libsdl.org/release/SDL-1.0.8.tar.gz
wget http://www.vorbis.com/files/1.0.1/unix/libvorbis-1.0.1.tar.gz
wget http://www.vorbis.com/files/1.0.1/unix/libogg-1.1.tar.gz
wget http://downloads.xiph.org/releases/icecast/icecast-2.2.0.tar.gz
wget ftp://xmlsoft.org/libxml2-2.6.17.tar.gz
wget ftp://xmlsoft.org/libxslt-1.1.12.tar.gz
wget http://downloads.xiph.org/releases/theora/libtheora-1.0alpha4.tar.gz
tar -zxvf *.gz

然後依序進入對照目錄執行configure, make, make install

libxml
./configure --prefix=/home/colo/andcycle/testCompile/install

libxslt
./configure --prefix=/home/colo/andcycle/testCompile/install --with-libxml-prefix=/home/colo/andcycle/testCompile/install

libsdl
./configure --prefix=/home/colo/andcycle/testCompile/install

libogg
./configure --prefix=/home/colo/andcycle/testCompile/install

libvorbis
./configure --prefix=/home/colo/andcycle/testCompile/install --with-ogg=/home/colo/andcycle/testCompile/install --disable-oggtest

libtheora
./configure --prefix=/home/colo/andcycle/testCompile/install --with-ogg=/home/colo/andcycle/testCompile/install --with-vorbis=/home/colo/andcycle/testCompile/install --with-sdl-prefix=/home/colo/andcycle/testCompile/install --disable-oggtest --disable-vorbistest --disable-sdltest

#xslt-config 位於 libxslt 裡面, 要先去改成可執行
icecast
./configure --prefix=/home/colo/andcycle/testCompile/install --with-xslt-config=/home/colo/andcycle/testCompile/libxslt-1.1.12/xslt-config --with-vorbis=/home/colo/andcycle/testCompile/install --with-theora=/home/colo/andcycle/testCompile/install