So I want to compile the gimp on MSYS with MINGW. I'm following following tutorial.
It's basically getting two shellscripts and running them. All should be downloaded and installed automatically so you and up compiling a gimp executable.
As most things related to technology, theory and practice are two quite different things. I was able to set up the MSYS/MINGW environment and I can run the subsequent shellscript. I didn't run far into any problems... until now.
I'm now configuring the GIMP sources throught the compilegimp.sh file. But when I do, I get this error:
checking for pkg-config... /mingw/bin/pkgconfig
checking for GLIB - version >= 2.8.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: Test for GLIB failed. See the file 'INSTALL' for help.
Not nice. Googling around and going through my config.log files, I found out it has something to do with configure not being able to find the glib 2.0 library. It's installed and downloaded though (pkg-config --list-all returns glib-2.0) I started messing around with a custom made .profile file (based on pkg-config --libs glib-2.0 and pkg-config --cflags glib-2.0)
Now I've narrowed my problem down to the following error in my config.log
configure:25764: gcc -o conftest.exe -O3 -fsigned-char -Wall -mms-bitfields <includes> conftest.c >&5
c:/<path-to-temp>/ccILaaaa.o(.text+0x32):conftest.c: undefined reference to '_imp_glib_major_version'
c:/<path-to-temp>/ccILaaaa.o(.text+0x32):conftest.c: undefined reference to '_imp_glib_minor_version'
c:/<path-to-temp>/ccILaaaa.o(.text+0x32):conftest.c: undefined reference to '_imp_glib_micro_version'
collect2: ld returned 1 exit status
configure:25770: $? = 1
configure: failed program was:
Googling a bit I can't find any reference on _imp_glib_xxx_version. Searching on glib_xxx_version and the error returns some references but no specific solutions.
So... can anyone help me out here??
PS: don't ask me why anyone would compile the gimp on windows as there are great packages out there.