LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 12-02-2005, 07:58 AM   #1
Netsensei
LQ Newbie
 
Registered: Aug 2004
Distribution: Debian
Posts: 2

Rep: Reputation: 0
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.
 
Old 12-02-2005, 05:31 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I'm dumping this in General.. not really Linux related.
 
Old 12-02-2005, 08:11 PM   #3
Seph64
Member
 
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Rep: Reputation: 30
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?

Last edited by Seph64; 12-02-2005 at 08:12 PM.
 
Old 12-06-2005, 02:27 AM   #4
Netsensei
LQ Newbie
 
Registered: Aug 2004
Distribution: Debian
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems compiling Gimp... mykrob Linux - Software 3 09-25-2005 04:43 PM
Compiling gimp-2.3.2, having issues with glib shevegen Linux - Software 2 08-03-2005 07:19 AM
Compiling print gimp with gcc mcedpd Linux - Newbie 4 02-23-2005 06:44 AM
Problem with Gimp 2.0 [compiling] Tsukasa Linux - Software 0 04-12-2004 06:19 AM
Compiling Gimp-Print Mikx Linux - Software 0 07-09-2003 09:09 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration