More people have asked for including the GD module in this documentation set. So I finally had the time to research this and write it up and give this to you.
First unpack the source code and then go into the folder “jpeg-6b” for the source and execute the following commands:
cp /usr/share/libtool/config.guess .
Which will copy these files to the current directory. They are required for the configuration fase of this installation.
Next for 64 bits systems use:
CFLAGS="-arch x86_64" \
CXXFLAGS="-arch x86_64" \
LDFLAGS="-arch x86_64" \
For 32 bits systems use:
For all use
To compile and
To install the library.
The only change you need to make is to add:
To the configure statement and it will include this library for you.