LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   compiling the gimp (https://www.linuxquestions.org/questions/general-10/compiling-the-gimp-388596/)

Netsensei 12-02-2005 07:58 AM

compiling the gimp
 
So I want to compile the gimp on MSYS with MINGW. I'm following following tutorial.

wiki.gimp.org/gimp/HowToCompileGimp/MicrosoftWindows

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:

Code:

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

Code:

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.

jtshaw 12-02-2005 05:31 PM

I'm dumping this in General.. not really Linux related.

Seph64 12-02-2005 08:11 PM

If you followed the tutorial, you should have run in to a warning of the errors before hand.

http://wiki.gimp.org/gimp/CompileGim...owsShellScript

Look at the bottom.

Actually, maybe you already did?

Netsensei 12-06-2005 02:27 AM

Quote:

Originally Posted by Seph64
If you followed the tutorial, you should have run in to a warning of the errors before hand.

wiki.gimp.org/gimp/CompileGimpAtWindowsShellScript

Look at the bottom.

Actually, maybe you already did?

Well, I posted that warning there in the first place...

I just wondered if anyone else already ran into this.


All times are GMT -5. The time now is 06:09 PM.