cd mkdir avs_main_dir
cd avs_main_dir tar jxvf STLport-5.0.2.tar.bz2 cd STLport/build/lib make -f gcc.mak depend make -f gcc.mak make -f gcc.mak all-static make -f gcc.mak install make -f gcc.mak install-static
The libraries are located in STLport/lib and the headers in STLport/stlport.
cd ../.. su <type the root password> cp lib/libstlport* /usr/local/lib/ cp -R stlport /usr/local/include/ <Ctrl-d>
cd ../.. cp lib/libstlport* $HOME/local/lib/ cp -R stlport $HOME/local/include/
cd
cd avs_main_dir
tar jxvf boost_1_33_1.tar.bz2
tar zxvf boost-jam-3.1.12-1-linuxx86.tgz
cd boost_1_33_1
su <type the root password>
../boost-jam-3.1.12-1-linuxx86/bjam "-sTOOLS=gcc" --prefix=/usr/local --with-thread install
<Ctrl-d>
If one wants to install it locally (like in Installation of STLport 5.0.2), just replace --prefix=/usr/local by --prefix=$HOME/local/.
Remark that Boost will be automatically found if installed in /usr/local.
cd cd avs_main_dir tar jxvf freetype-2.2.1.tar.bz2 cd freetype-2.2.1 ./configure --prefix=/usr/local make su <type the root password> make install <Ctrl-d>
If one wants to install it elsewhere, change the value given to the --prefix parameter.
cd cd avs_main_dir tar jxvf fontconfig-2.3.2.tar.bz2 cd fontconfig-2.3.2 ./configure --prefix=/usr/local make su <type the root password> make install <Ctrl-d>
If one wants to install it elsewhere, change the value given to the --prefix parameter.
Install these libraries in the /usr/local directory:
cd .. tar zxvf liboil-0.3.9.tar.gz cd liboil-0.3.9 ./configure --prefix=/usr/local make su <type the root password> make install <Ctrl-d>
cd .. tar jxvf gstreamer-0.10.8.tar.bz2 cd gstreamer-0.10.8 ./configure --prefix=/usr/local make su <type the root password> make install <Ctrl-d>
d .. tar jxvf gst-plugins-base-0.10.8.tar.bz2 cd gst-plugins-base-0.10.8 ./configure --prefix=/usr/local make su <type the root password> make install <Ctrl-d>
cd .. tar jxvf gst-plugins-good-0.10.3.tar.bz2 cd gst-plugins-good-0.10.3 ./configure --prefix=/usr/local make su <type the root password> make install <Ctrl-d>
cd .. tar jxvf gst-plugins-bad-0.10.3.tar.bz2 cd gst-plugins-bad-0.10.3 ./configure --prefix=/usr/local make su <type the root password> make install <Ctrl-d>
cd .. tar jxvf gst-plugins-ugly-0.10.3.tar.bz2 cd gst-plugins-ugly-0.10.3 ./configure --prefix=/usr/local make su <type the root password> make install <Ctrl-d>
cd .. tar jxvf gst-ffmpeg-0.10.1.tar.bz2 cd gst-ffmpeg-0.10.1 ./configure --prefix=/usr/local make su <type the root password> make install <Ctrl-d>
If you want to install it elsewhere, change the value given to the --prefix parameter.
cd ../ tar jxvf nasm-0.98.39.tar.bz2 cd nasm-0.98.39 ./configure --prefix=/usr/local make su <type the root password> make install <Ctrl-d>
If one wants to install it elsewhere, change the value given to the --prefix parameter.
Ok, ok, I'm kidding...
First we have to download the source code which is in cvs:
cd cd avs_main_dir cvs -z3 -d:pserver:anonymous@avisynth2.cvs.sourceforge.net:/cvsroot/avisynth2 login cvs -z3 -d:pserver:anonymous@avisynth2.cvs.sourceforge.net:/cvsroot/avisynth2 co -r avisynth_3_0 avisynth
Avisynth 3.0 needs an extension to boost, not yet included in the current version of boost. This extension is provided in the build directory of avisynth. It suffices to unzip it and copy the files to the boost include directory:
cd avisynth/build tar jxvf circular_buffer_v3.7.tar.bz2 cd circular_buffer
su <enter the root password> cp -R circular_buffer* boost /usr/local/include/boost-1_33_1/ <Ctrl-d>
cp -R circular_buffer* boost $HOME/local/include/boost-1_33_1/
And now, we can configure Avisynth 3.0:
cd ../linux ./booststrap.sh ./configure
If configure is not able to find automatically one or more library, we have to specify its path. Assuming that you have installed everything in /usr/:
./configure --with-stl-path=/usr --with-boost-path=/usr
If you have installed some of the above libraries elsewhere, just replace /usr by the correct path. The configure script should be able to find automatically Freetype.
If you want to build this documentation, just pass to the configure script the options --enable-doc
make make install
If you have Gtk+ 2.8 and x264 installed, you can test avisynth with the program avisynth_test. Use the following script file:
And see the result.