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 27: Line 27:


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


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


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


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


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


libtheora
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
./configure --prefix=.. --with-ogg=.. --with-vorbis=.. --with-sdl-prefix=.. --disable-oggtest --disable-vorbistest --disable-sdltest


#xslt-config 位於 libxslt 裡面, 要先去改成可執行
#xslt-config 位於 libxslt 裡面, 要先去改成可執行
icecast
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
./configure --prefix=.. --with-xslt-config=../libxslt-1.1.12/xslt-config --with-vorbis=.. --with-theora=..
</nowiki></pre>
</nowiki></pre>

Revision as of 14:30, 15 June 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 SDL-1.0.8.tar.gz
tar -zxvf libvorbis-1.0.1.tar.gz
tar -zxvf libogg-1.1.tar.gz
tar -zxvf icecast-2.2.0.tar.gz
tar -zxvf libxml2-2.6.17.tar.gz
tar -zxvf libxslt-1.1.12.tar.gz
tar -zxvf libtheora-1.0alpha4.tar.gz

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

libxml
./configure --prefix=..

libxslt
./configure --prefix=.. --with-libxml-prefix=..

libsdl
./configure --prefix=..

libogg
./configure --prefix=..

libvorbis
./configure --prefix=.. --with-ogg=.. --disable-oggtest

libtheora
./configure --prefix=.. --with-ogg=.. --with-vorbis=.. --with-sdl-prefix=.. --disable-oggtest --disable-vorbistest --disable-sdltest

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