GD Graphic Library (PowerPC)
From NAS-Central Buffalo - The Linkstation Wiki
(Difference between revisions)
(→libpng) |
(→libjpeg) |
||
| 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.linkstationwiki.net/packages/ppc/libjpeg_ppc.tar.gz | ||
| + | tar -C / -xzvf libjpeg_ppc.tar.gz | ||
| + | ranlib /usr/local/lib/libjpeg.a | ||
=== gdlib === | === gdlib === | ||
Revision as of 23:19, 1 August 2006
GD Graphic Library is required for Swisscenter and other mediaservers to run
Contents |
Required
- libpng
- libjpeg
- 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.linkstationwiki.net/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.linkstationwiki.net/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


