Difference between revisions of "GD Graphic Library (MIPSel)"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(gdlib)
m
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{Template:Articles}}
 
[[Image:Gdlogobig.png]]
 
[[Image:Gdlogobig.png]]
  
Line 49: Line 50:
  
 
  mkdir /usr/local/man/man1
 
  mkdir /usr/local/man/man1
 +
mkdir /usr/local/lib
  
 
Then
 
Then

Latest revision as of 07:40, 14 July 2008

Gdlogobig.png

GD Graphic Library is required for Swisscenter and other mediaservers to run

Contents

Required

  1. libpng
  2. libjpeg
  3. GDLIB

libpng

Create and enter a folder where you download software etc...

mkdir /mnt/hda/misc
cd /mnt/hda/misc

Download, untar and then enter libpng source tarball from http://www.libpng.org/pub/png/libpng.html

 wget http://kent.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.12.tar.bz2
 bunzip2 libpng-1.2.12.tar.bz2
 tar xvf libpng-1.2.12.tar
 cd libpng-1.2.12

Then install it

./configure
make
make install

libjpeg

Enter folder where you download software etc...

cd /mnt/hda/misc

Download,untar and then enter libjpeg source tarball from http://www.ijg.org/

wget ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6b

Then install it

./configure 
make

May need to

mkdir /usr/local/man/man1
mkdir /usr/local/lib

Then

make install
make install-lib
ranlib /usr/local/lib/libjpeg.a

gdlib

Enter folder where you download software etc...

cd /mnt/hda/misc

Download, untar and then enter GDLIB source tarball from http://www.boutell.com/gd/

wget http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
tar zxvf gd-2.0.33.tar.gz
cd gd-2.0.33

Then install it

./configure
make
make install