What i did was compile BABL on its own then install it into your usr/ directory (it should by default anyways)
The script is looking for files that are not there yet.
If you think that's weird Bob, check this out.
I decided to run the script just to get the dependencies, and then compile BABL, GEGL, and then Gimp-2.7.2 in that order.
Here is what i fell into, and maybe you can find an explanation for what you ask. (moving BABL files around)
Exactly what i was trying to do was create a compile directions sort of speak for Gimp-2.7.2 on Windows XP-
Here they are and the error i finally got which totally stumped me:
*******************************************************************
DISCLAIMER:
USE AT YOUR OWN RISK!
*******************************************************************
First you will need to do a few things to get the Gimp compile to work.
First - Download the MinGW/Msys package
http://sourceforge.net/projects/mingw/f ... e/download -
Select everything in the install pkg - including all the compilers, and the Msys developers files.
The download, and install will take a while have a cup of coffee, or some pie while it downloads,compiles, and installs everything you will need.It will do this automatically for you.
**********************************************************
install Perl from Activestate into C:\Perl -
Note: it should do this by defaultCopy your entire C:\Perl folder to - C:\MinGW\msys\1.0\bin (you will need the modules, and expat)
Install wget from here -
http://gnuwin32.sourceforge.net/packages/wget.htm into C:\MinGW
Install unzip from here -
http://gnuwin32.sourceforge.net/packages/unzip.htm into C:\MinGW
*****************************
Sadly - The flamingtext.com site no longer hosts the nightly tarballs for BABL, GEGL, nor Gimp 2.7.2
They are selling, or have by now sold their domain.
LUCKILY! - i have them all uploaded to MediaFire here - Download them to your desktop -
BABL -
http://download1321.mediafire.com/1af5v ... .2.tar.bz2GEGL -
http://download1081.mediafire.com/vrtmk ... .2.tar.bz2GIMP 2.7.2 -
http://download556.mediafire.com/9k7tp2 ... .2.tar.bz2Note:I do have GEGL and BABL 0.1.3 versions also if you would rather use those, but they aren't required for compile.PM me for the links
Unzip them all into your home directory, or wherever you will run your terminal from.
Usually it will be - C:\MinGW\msys\1.0\home\UserName
***********************************
COMPILE DIRECTIONS-***********************************
OK - it's downloaded, installed, and ready to start compiling stuff. ... NO it's not
Time to run the compilegimp.sh script from your home directory in MinGW to get all the other dependencies you need. YES! - you need more.

.. Copy the file compilegimp.sh to your MinGW home directory
Open your terminal in your home directory and type
./compilegimp.sh and hit enter.
The script will stop, and or error after the dependencies are downloaded and installed because it will run into a test error for babl files it needs to move..That's ok though.We just want the dependencies from this script.
They will be downloaded to a "gimp-packages-tmp" directory created by the script in your home directory (or wherever the sh script resides).
Copy the BABL-0.1.2, GEGl-0.1.2, and the Gimp-2.7.2 RARs into gimp-packages-tmp folder.Time for another cup of coffee while these are installed for you
**************************************************
Note: After it's done - you no longer need this folder "gimp-packages-tmp"Save that gimp-packages-tmp folder full of ZIP files after everything is downloaded for any future uses along with the compilegimp.sh script.Make sure and add the the BABL, Gimp-2.7.2, and GEGL RAR files to the folder also.
Put them somewhere you know you wont delete them
ever.
Name it something like
"My Gimp Compile Files". Zip the entire thing.
Place it in your safe! .... j/k
**************************************************
Ok the compiler is ready.
The dependencies are downloaded and installed.
We have GEGl, BABL, and Gimp-2.7.2 un-tarred.
Can we compile gimp now?
No - first we need to compile BABL-0.1.2
Open a terminal in your home directory and type-
cd babl-0.1.2
./configure
make
make install
If all goes well your babl libraries will be installed correctly
Find the babl.pc file in your install and make sure it's copied to the pkgconfig folders here -
C:\MinGW\lib\pkgconfig and here C:\MinGW\share\pkgconfig
NOW -
Open a terminal in your home directory and type
cd gegl-0.1.2
./configure
make
Now we need to make sure GEGL has all it's header files to make install correctly -
So - copy the babl folder from here
C:\MinGW\msys\1.0\local\include\babl-0.1
into the gegl folder here
C:\MinGW\msys\1.0\home\Compaq_Owner\gegl-0.1.2
Now that gegl.pc is made copy it to the pkgconfig folders where you put the babl.pc file.-
C:\MinGW\lib\pkgconfig and here C:\MinGW\share\pkgconfig
NOWOpen a terminal and type
make install
You are now faced with this error -
make[2]: Entering directory `/home/Compaq_Owner/gegl-0.1.2/gegl'
CCLD libgegl-0.1.la
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lbabl-0.1
collect2: ld returned 1 exit status
make[2]: *** [libgegl-0.1.la] Error 1
make[2]: Leaving directory `/home/Compaq_Owner/gegl-0.1.2/gegl'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/Compaq_Owner/gegl-0.1.2/gegl'
make: *** [install-recursive] Error 1
Compaq_Owner@Family-Room ~/gegl-0.1.2
$
So what to do now -

-
This is where i got stuck - no lbabl-0.1 file to be found...so i went into my babl-0.1.2 file and found these three files
libbabl-0.1-0.dll
libbabl-0.1.la
libbabl-0.1.dll.a
You need to take these three files (copy them all at once).
Paste them in the C:\MinGW\msys\1.0\home\username\gegl-0.1.2\gegl folder
Then paste them in all folders under this diectory
C:\MinGW\msys\1.0\home\username\gegl-0.1.2\operations
********************************************************
type
make install
This is where i get thrown - e -IC:/MinGW/include/freetype2 -IC:/MinGW/include -IC:/MinGW/include/libpng12 -IC:/MinGW/incl
ude/babl-0.1 -IC:/MinGW/include/libpng12 -g -O2 -Wall -Wdeclaration-after-statement -Wmissi
ng-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -
msse -c -o gegl-paint.lo gegl-paint.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../gegl -I../gegl -I../gegl/buffer -I../
gegl/buffer -I../gegl/property-types -I../gegl/property-types -I../gegl/buffer -I../gegl/buffer
-I../gegl/operation -I../gegl/operation -I../gegl/module -I../gegl/module -mms-bitfields -IC:/
MinGW/include/glib-2.0 -IC:/MinGW/lib/glib-2.0/include -mms-bitfields -IC:/MinGW/include/gtk-2.
0 -IC:/MinGW/lib/gtk-2.0/include -IC:/MinGW/include/atk-1.0 -IC:/MinGW/include/cairo -IC:/MinGW
/include/pango-1.0 -IC:/MinGW/include/glib-2.0 -IC:/MinGW/lib/glib-2.0/include -IC:/MinGW/inclu
de/freetype2 -IC:/MinGW/include -IC:/MinGW/include/libpng12 -IC:/MinGW/include/babl-0.1 -IC:/Mi
nGW/include/libpng12 -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-
declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -c gegl-paint.c -D
DLL_EXPORT -DPIC -o .libs/gegl-paint.o
In file included from gegl-paint.c:24:0:
util/gegl-view.c: In function 'gegl_view_repaint':
util/gegl-view.c:507:3:
warning: implicit declaration of function 'gtk_widget_get_allocation'
/bin/sh ../libtool --mode=link gcc ../gegl/libgegl-0.1.la -LC:/MinGW/lib -lgio-2.0 -lgobject
-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -LC:/MinGW/lib -lgtk-win32-2.0 -lgdk-win32
-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0
-lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -LC:/MinGW/lib -lbabl-0.1 -LC:/MinGW
/lib -lpng12 -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-decla
rations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -o gegl-paint gegl-paint
.lo
-lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -LC:/MinGW/lib -lbabl-0.1 -LC:/MinGW
/lib -lpng12 -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-decla
rations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -o gegl-paint gegl-paint
.lo
libtool: link: gcc -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-de
clarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -o .libs/gegl-paint .
libs/gegl-paint.o ../gegl/.libs/libgegl-0.1.dll.a -LC:/MinGW/lib -L/mingw/lib /home/Compaq_Own
er/gegl-0.1.2/gegl/libbabl-0.1.dll.a -lgthread-2.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -l
gio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobjec
t-2.0 -lgmodule-2.0 -lglib-2.0 C:/MinGW/lib/libintl.dll.a /mingw/lib/libiconv.dll.a ../gegl/lib
babl-0.1.dll.a -lpng12 -L/usr/local/lib -L/mingw/lib
.libs/gegl-paint.o: In function `gegl_view_repaint':
C:\MinGW\msys\1.0\home\Compaq_Owner\gegl-0.1.2\examples/util/gegl-view.c:507: undefined referen
ce to `gtk_widget_get_allocation'
collect2: ld returned 1 exit status
make[3]: *** [gegl-paint] Error 1
make[3]: Leaving directory `/home/Compaq_Owner/gegl-0.1.2/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Compaq_Owner/gegl-0.1.2/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Compaq_Owner/gegl-0.1.2'
make: *** [all] Error 2
Compaq_Owner@Family-Room ~/gegl-0.1.2
$
can't figure this out yet so................
****************************************************
I decided to download and compile GLIB (needed for Gimp compile) - go here to get it
ftp://ftp.gtk.org/pub/glib/2.24/ make sure to choose glib-2.24.1.tar.gz - download and unzip it into your home directory.
Open your terminal and type
cd glib-2.24.1
./configure
make
Go get a cup of coffee, it takes awhile to make GLIB.
BEFORE you make install - remove all traces of GLIB installed from the MinGW installer.(libs and header files)
If you do not, the Gimp configure script will find older headers(2.22.0) for newer libs (2.24.1)
make install
Go get another cup of coffee ..
This is much faster i was just kidding
Copy the glib-2.0.pc file to your pkgconfig folders like your gegl and babl files above.
C:\MinGW\lib\pkgconfig and C:\MinGW\share\pkgconfig
**********************************
There will be more to come stay tuned for further Gimp compile developments!
