Prev Up (Under construction)

libgd

A graphics library for fast image creation

Compilation (V2.0.33)

Requires zlib.
Asks for support of pthreads, PNG, JPEG, Freetype 2.x, Fontconfig, Xpm.
   cd src
   make distclean
             # AIX 7.1; C 12.1
   configure --prefix=/tmp/GD-2.0.33 CC=cc CPPFLAGS="-I/nfs/local/71/include -I/nfs/local/71/include/freetype2 -I/nfs/local/71/libpng-1.4.12/include/ -D_REENTRANT -D_LARGEFILES" CFLAGS="-I/nfs/local/71/include -I/nfs/local/71/include/freetype2 -I/nfs/local/71/libpng-1.4.12/include/ -O2 -D_REENTRANT -D_LARGEFILES" LDFLAGS="-L/nfs/local/71/lib -L/nfs/local/71/libpng-1.4.12/lib/ -lexpat -lpthread" --with-fontconfig=/nfs/local/71/fontconfig-2.8.0 --enable-static --disable-shared

             # HP-UX 10.20, native
   configure --prefix=/tmp/GD-2.0.33 CC=cc CPPFLAGS="-I/nfs/local/1020/include -I/nfs/local/1020/include/freetype2" CFLAGS="-I/nfs/local/1020/include -I/nfs/local/1020/include/freetype2 -O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z" LDFLAGS="-L/nfs/local/1020/lib" --with-fontconfig=/nfs/local/1020/fontconfig-2.8.0 --enable-static --disable-shared

   make clean
   make 
   make install
Compilation of legacy executables (giftogd,webgif) might be re-enabled by replicating the logic for giftogdw and webpng, respectively, in src/Makefile.in

Installation and configuration


Last updated: Thu, Jul 18, 2013 11:16:09 AM , M.Kraemer