GD on FreeBSD 6.2

Prerequisites:

FreeBSD (Base + Autoconf, Automake, Bash and GCC)

 

libpng – PNG reference library for creating graphics / images

Home: 

http://www.libpng.org/pub/png/libpng.html

cd /usr/ports/graphics/png
make install clean

 

 

libjpeg – JPG reference library for creating graphics / images

Home: 

http://www.ijg.org

cd /usr/ports/graphics/jpeg
make install clean

#
Note: This method automatically downloads and patches jpeg and adds the "EXIF" add-on ability

 

 

GD – Open source dynamic image creation library

Home: 

http://www.boutell.com/gd

cd /usr/ports/graphics/gd
make install clean

# Note: Installing software the looks for GD may require adding configure options when you install that software:
#    --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include/