It is currently Thu Nov 19, 2026 11:25 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: qustion on building gmp on windows with mingw
PostPosted: Sun Dec 14, 2014 10:41 am  (#1) 
Offline
GimpChat Member

Joined: Dec 12, 2014
Posts: 11
GIMP Version: 2.8.10
Operating System: Windows
GIMP Experience: Beginner Level



I just want to compile GIMP on Windows with 32-bits mingw, roughly based on what partha says in "So You Want to Compile Gimp, Building Gimp"( sorry I am not allowed to post URL here). I can build BABL. However I am stucked by GEGL.
When I run
./configure

under gegl-0.2.1, I get
Check for bind_textdomain_codeset() failed!  This is required.

I have searched, but found nothing helpful.

Any hints? Thanks


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: qustion on building gmp on windows with mingw
PostPosted: Sun Dec 14, 2014 1:25 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Mar 15, 2014
Posts: 115
Location: Brooklyn, NY
Hi Oyster,

My day to ask the silly questions. I hope you don't mind.
You'll be able to include URL's and other actions after you've posted here for awhile. I think after 5 posts you're golden.

I trust the page you have in mind is So You Want to Compile Gimp - Building Gimp.

So the first silly question is where Partha writes:

"Now that we have done the groundwork, we are ready to build Gimp. If you are not familiar with the groundwork, please read that article first."

which kicks off the first paragraph. "That article" is the Groundwork piece and it deals with an awful lot of stuff that has to be built first before you get to actually building BABL/GEGL/GIMP. So did you read that article and do all the stuff mentioned there?

The second silly question relates to how you invoked the configure script. For GEGL, did you actually just type:

./configure ?

If so, was there a reason you didn't write something akin to Partha's suggested command line?

./configure --prefix=/opt/gimp-2.7.2 CPPFLAGS="-I/usr/include -I/c/Python27/include" LIBS="-L/usr/lib -L/c/Python27/Lib" --disable-docs

adapting, as needed, for 64 bits and the later versions of Gimp?

Third silly question, did you write a comment to Partha on the page or send him an e-mail? He is very good, patient, decent and kind, but he gets busy and may not respond Real Soon Now. Probaby he'd like to see the configure.status file with the bail-out messages, which should be in your build directory.

Finally the Gimp being referenced is the old 2.7 development series and the page date (lower right hand corner) is May 1, 2011. I think that is about 250 years ago, Internet time. Could be the dependency graph has changed since then. Possibly he may have a more updated procedure elsewhere.

I wish I could be more particularly helpful, but I don't build in this environment. The error message in question concerning "bind_textdomain_codeset()" references a call in the gettext utility; I strongly suspect you haven't built all of the packages GEGL requires.

Hope this helps; anyway - welcome to GimpChat! I think you can search on member names here. With luck, Partha may already have a post here answering a question very much like this.

Garry


Top
 Post subject: Re: qustion on building gmp on windows with mingw
PostPosted: Mon Dec 15, 2014 12:40 pm  (#3) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 295
Location: Germany
Configure does not find the development version of the libintl library.
The development version includes the include file(s) and the library file(s).
If you have such an error, you can check the configure.ac file, it is a text file.
Search for the error message. There you get more information.
Or check the configure script. It is also pure text. Search for the error message.
There I see around line 17714 "# Check for bind_textdomain_codeset, including -lintl if GLib brings it in.", that led me
to the thought, that libintl is missing. Looking in libintl.h (in the include directory) showed me, that
that function is part of libintl.
So hop to

http://download.opensuse.org/repositori ... ry/noarch/
or
http://download.opensuse.org/repositori ... ry/noarch/
(you see the difference ;) )
and load the libintl and libintl-devel package.
For unpacking, I use 7z.
Install (copy) and start again. Until the next error... :hehe
By the way: you have to tell the configure script, where to find the header files and the libraries.
As an example:
I have
mingw64 in /mingw
gtk-stuff in /libs
msys in /usr

for gegl, I use following commandline:

./configure --prefix=/libs --enable-debug --disable-docs --target=x86_64-w64-mingw32 CFLAGS="-g3 -ggdb -O0" CPPFLAGS="-msse2 -I/libs/include -I/usr/include -I/mingw/include" LIBS="-L/usr/lib -L/mingw/lib -L/libs/lib"

If you do not want to have such a long commandline, you have to tell the location of headers/libraries by
environment variable.


Top
 Post subject: Re: qustion on building gmp on windows with mingw
PostPosted: Tue Dec 16, 2014 9:08 am  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16279
Compiling GIMP in windows is a naughty monkey. :)
It is rewarding however once you actually do.
Ask Partha for help and he will steer you in the right direction.
Good luck on your endeavor.

_________________
Image


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group