2012年9月16日日曜日

Gdk-Pixbuf のインストール

Gdk-Pixbuf をインストールする前の下準備として LibTIFF、 libjpeg、 libpng をインストールする。

・LibTIFFのインストール
公式サイト(http://www.remotesensing.org/libtiff/)から tiff-4.0.2.tar.gz をダウンロードする。それから以下のコマンドを実行する。
$ tar xzvf tiff-4.0.2.tar.gz
$ cd tiff-4.0.2
$ ./configure && make
# make install

・libjpegのインストール
公式サイト(http://www.ijg.org/)から jpegsrc.v8d.tar.gz をダウンロードする。それから以下のコマンドを実行する。
$ tar xzvf jpegsrc.v8d.tar.gz
$ cd jpeg-8d
$ ./configure && make
# make install

・libpngのインストール
公式サイト(http://www.libpng.org/pub/png/libpng.html)から libpng-1.5.12.tar.xz をダウンロードする。それから以下のコマンドを実行する。
$ tar Jxvf libpng-1.5.12.tar.xz
$ cd libpng-1.5.12
$ ./configure && make
# make install

ここまで下準備をしてようやく本題に入る。
・Gdk-Pixbufのインストール
Gdk-PixbufをDLサイト(http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.26/)から gdk-pixbuf-2.26.3.tar.xz をダウンロードする。それから以下のコマンドを実行する。
$ tar Jxvf gdk-pixbuf-2.26.3.tar.xz
$ cd gdk-pixbuf-2.26.3
$ ./configure && make
# make install

Note:
cannot open shared object file: No such file or directory とエラーが出たら、http://xpb8dqx.blogspot.jp/2012/09/blog-post.htmlを実行してから以下のコマンドを実行する。
$ make clean
$ ./configure && make 
# make install

0 件のコメント:

コメントを投稿