ads

search

Google

Wednesday, December 5, 2007

minisip compilation for linux

this script has the complete solution or step by step solutions compilation of minisip on linux. please read the script care fully and don't run the script beside runnig the script follow the steps given in script..

#/bin/sh

echo "Exporting some system variables needed"

export LD_LIBRARY_PATH=/usr/local/lib/

export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig

echo "Installing Initial Dependencies"

cd dependencies

echo "Installing cairo"

tar xvfz cairo*.tar.gz

cd cairo*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH CAIRO"

echo "Installing jpeg"

tar xvfz jpegsrc*.tar.gz

cd jpeg-*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH JPEG"

echo "Installing tiff"

tar xvfz tiff-*.tar.gz

cd tiff-*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH TIFF"

echo "Installing pkg-config"

tar xvfz pkg-config*.tar.gz

cd pkg-config*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH PKG-CONFIG"

echo "Installing pango"

tar xvfz pango*.tar.gz

cd pango*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH PANGO"

echo "Installing atk"

tar xvfz atk*.tar.gz

cd atk*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH ATK"

echo "Installing glib-"

tar xvfz glib-*.tar.gz

cd glib-*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH GLIB"

echo "Installing libsigc"

tar xvfz libsigc*.tar.gz

cd libsigc*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH libsigc"

echo "Installing gtk+"

tar xvfz gtk+*.tar.gz

cd gtk+*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH gtk+"

echo "Installing glibmm-"

tar xvfz glibmm-*.tar.gz

cd glibmm-*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH glibmm-"

echo "Installing gtkmm-"

tar xvfz gtkmm-*.tar.gz

cd gtkmm-*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH gtkmm-"

echo "Installing libglademm"

tar xvfz libglademm-*.tar.gz

cd libglademm-*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH libglademm"

echo "DONE WITH DEPENDENCIES"

echo "Installing minisip libraries"

cd ..

cd minisip

echo "Installing libmutil-"

tar xvfz libmutil-*.tar.tar

cd libmutil-*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH libmutil-"

echo "Installing libmnetutil-"

tar xvfz libmnetutil-*.tar.tar

cd libmnetutil-*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH libmnetutil-"

echo "Installing libmikey-"

tar xvfz libmikey-*.tar.tar

cd libmikey-*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH libmikey-"

echo "Installing libmsip-"

tar xvfz libmsip-*.tar.tar

cd libmsip-*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH libmsip-"

echo "Done installing minisip libraries"

echo "Installing minisip"

tar xvfz minisip*.tar.tar

cd minisip*

./configure --prefix=/usr

make

make install

cd ..

echo "DONE WITH minisip"

echo '/usr/local/lib' >> /etc/ld.so.conf

echo "export LD_PRELOAD=\"/lib/libc.so.6 /lib/libpthread-0.10.so\"" > ~/runminisip

echo 'minisip' >> ~/runminisip

chmod 755 ~/runminisip

echo "DONE"