I'm installing Gimp (2.6.10) on Debian. The system has all the required libraries (dependencies) installed in the default directories, so giving to Gimp./configure && make && make installcompletes fine, and installs Gimp. But I compiled some of the dependencies manually, for needed performance. These are GEGL, Glib, and BABL. All them are correctly installed in--prefix /usr/handsoftwareI configure Gimp with these essential flags: (there are more flags to strip down unused features from the binary)./configure --prefix=/usr/handsoftware/ PKG_CONFIG_PATH=../gegl/:../babl/ CXXFLAGS=-march=pentium4 -O3 CXXFLAGS=-march=pentium4 -O3where PKG_CONFIG_PATH points to the source directories of GEGL and BABL from which these libraries were compiled and installed. I don't know if this setting is correct nor required.This ./configures correctly, but make fails pointing out that gegl.h is missing.gegl.h is installed in two points in my system:in the GNU include standard directory, where it's been installed by APTin ../gegl/ , as pointed by PKG_CONFIG_PATHI have to point Gimp to the manually-installed includes rather than to the ones installed by APT, as the formers are those compatible with the manually installed library. Can I do this?
Build Gimp from custom-path libraries
compiling;libraries;make;gimp