Please make sure you don't have any old GTK, jpeg, etc. Generic instructions for configuring and compiling auto-configured packages are included below. The actual configuration, compilation and installation output is not shown. The script has many options, some of which are described in the generic instructions included at the end of this file. This option affects whether shared libraries will be built or not.
Shared libraries provide for much smaller executables, but they are difficult to debug with.
The default is to enable shared libraries. This option causes the build process to compile with debugging enabled. If debugging is disabled, the GIMP will instead be compiled with optimizations turned on. The default is for debugging to be disabled. This option is intended primarily as a convenience for developers.