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

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(libpng)
m
 
(4 intermediate revisions by 2 users not shown)
Line 29: Line 29:
 
  make install
 
  make install
  
Or use the precompiled package:
+
'''Or use the precompiled package:'''
   wget http://downloads.linkstationwiki.net/packages/ppc/libpng-1.2.12_ppc.tar.gz
+
   wget http://downloads.nas-central.org/packages/ppc/libpng-1.2.12_ppc.tar.gz
 
   tar -C / -xzvf libpng-1.2.12_ppc.tar.gz
 
   tar -C / -xzvf libpng-1.2.12_ppc.tar.gz
  
Line 59: Line 59:
 
  make install-lib
 
  make install-lib
 
  ranlib /usr/local/lib/libjpeg.a
 
  ranlib /usr/local/lib/libjpeg.a
 +
 +
'''Or use the precompiled package:'''
 +
  wget http://downloads.nas-central.org/packages/ppc/libjpeg_ppc.tar.gz
 +
  tar -C / -xzvf libjpeg_ppc.tar.gz
 +
  ranlib /usr/local/lib/libjpeg.a
  
 
=== gdlib ===
 
=== gdlib ===
Line 78: Line 83:
 
  make install
 
  make install
  
 +
'''Or use the precompiled package:'''
 +
  wget http://downloads.nas-central.org/packages/ppc/gd-2.0.33_ppc.tar.gz
 +
  tar -C / gd-2.0.33_ppc.tar.gz
  
  

Latest revision as of 02:31, 11 September 2007

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/misc
cd /mnt/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

Or use the precompiled package:

 wget http://downloads.nas-central.org/packages/ppc/libpng-1.2.12_ppc.tar.gz
 tar -C / -xzvf libpng-1.2.12_ppc.tar.gz

libjpeg

Enter folder where you download software etc...

cd /mnt/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

Then

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

Or use the precompiled package:

 wget http://downloads.nas-central.org/packages/ppc/libjpeg_ppc.tar.gz
 tar -C / -xzvf libjpeg_ppc.tar.gz
 ranlib /usr/local/lib/libjpeg.a

gdlib

Enter folder where you download software etc...

cd /mnt/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

Or use the precompiled package:

 wget http://downloads.nas-central.org/packages/ppc/gd-2.0.33_ppc.tar.gz
 tar -C / gd-2.0.33_ppc.tar.gz