http://www.ostube.de/node/1941#comment-2598
http://www.chineselinuxuniversity.net/courses/using/introductions/25004.shtml
=========================================================
Basic installation instructions for external Software
=========================================================
-> Create a folder where you store the software archives we want to build and change in there:
mkdir /root/self_build
cd /root/self_build
****************************
-> Now we install at first the jpeg headers and ruby from your repository:
Debian:
apt-get install libjpeg-dev ruby
RedHat/Fedora/CentOS:
Make sure yum is installed. Otherwise you have to use rpm manually.
yum install libjpeg-devel ruby
SuSE:
yast2 -i libjpeg-devel ruby
****************************
-> Get all the software needed using the downloading swissknife 'wget':
1. libmp3lame / libamrwb /libamrnb:
wget http://downloads.sourceforge.net/lame/lame-3.97.tar.gz?modtime=1159107882&big_mirror=0
wget http://ftp.penguin.cz/pub/users/utx/amr/amrnb-7.0.0.0.tar.bz2
wget http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.2.tar.bz2
2. Mplayer:
wget http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc2.tar.bz2
3. Codecs for Mplayer - select the one for your environment (32bit / 64bit)
wget http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
wget http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-20071007.tar.bz2
4. Flvtool2:
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz
****************************
-> Now change directory to /usr/local/lib, decompress the codecs package there and rename the newly created folder to 'codecs':
cd /usr/local/lib
tar xvjf /root/self_build/essential-20071007.tar.bz2
mv essential-20071007 codecs
cd /root/self_build
****************************
-> The first compiling job: we build the lame and amr libraries
tar xzf lame-3.97.tar.gz
tar xvjf amrnb-7.0.0.0.tar.bz2
tar xvjf amrwb-7.0.0.2.tar.bz2
cd lame-3.97
./configure && make && make install
cd ../amrnb-7.0.0.0
./configure && make && make install
cd ../amrwb-7.0.0.2
./configure && make && make install
ldconfig
If there are error messages like 'no suitable compiler found', you have to install some development packages from your repository. You do that just like I described above (jpeg headers and ruby)
- g++ (gcc)
- make
- automake
- autoconf
- patch
- pkgconfig
**************** EDIT ******************
for HD support from version 2.6 on you need x264 libraries as well:
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20080731-2245.tar.bz2
tar xvjf x264-snapshot-20080731-2245.tar.bz2
cd x264-snapshot-20080731-2245
./configure --enable-shared
make && make install && ldconfig
cd ..
************** END EDIT ***************
* Newer yasm is needed instead of the old one in repo!! DO NOT USE APT!!
wget http://www.tortall.net/projects/yasm/releases/yasm-0.7.2.tar.gz
tar xzvf yasm-0.7.2.tar.gz
cd yasm-0.7.2
./configure && make && make install
-> Now Mplayer:
tar xvjf MPlayer-1.0rc2.tar.bz2
cd Mplayer-1.0rc2
./configure
At this point LOOK at the configure output! It will possibly prevent you from later frustrations! Make sure both jpeg output support and libmp3lame (for mencoder) are activated automatically here. If this is not the case, check again if you really installed the jpeg headers and the lame library. Then open the file /etc/ld.so.conf, add the line /usr/local/lib, save the file and execute ldconfig. Now clean up the previously made configuration for Mplayer by executing make distclean and run ./configure again. Now lame and jpeg headers should be found in the system. If so, go ahead with:
make && make install
cd ..
****************************
-> Finally we install Flvtool2:
tar xzf flvtool2-1.0.6.tgz
cd flvtool2-1.0.6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
cd ..
=========================================================
At this point all software packages urgently needed by osTube is installed
=========================================================
For the paying stuff you really should ask one of our sales manager (markovski@auvica.de or ucke@auvica.de). As far as I know PayPal isn't a problem at all.
But I think base currency for selling osTube is in fact EUR. Meaning you have to calculate the actual exchange rate. But before I tell you stuff that isn't fresh anymore, just ask the sales manager guys. Maybe in the meantime they have a constant price in USD... I don't know.
I hope that was informative.
Regards
-- osTube Entwicklerteam, Karsten
網誌管理員已經移除這則留言。
回覆刪除