On Wed, 2 Feb 2005, Matthew H. Plough wrote:

> Hi everyone --
> I've decided that it's time for me to compile GIMP on my Windows
> system.  I have the latest 2.3.3 sources from gimp.org, and I'm trying
> to compile them with cygwin/gcc.
> The README.win32 file seems to indicate that a ./configure and a make
> will work, but it fails on my system.  I don't want to go download
> libgimpprint, so I do:
> > ./configure --disable-print
> Then, I run make, which produces the following output:
> make[3]: *** No rule to make target `gimp-remote-2.2', needed by
> `all-am'.  Stop
> What am I doing wrong?

If you are using Cygwin's gcc, it is very important to realize that it by
default uses Cygwin's POSIX emulation capabilities and does not produce a
completely "native" Windows binary. The libraries like GTK+ that are
included with Cygwin are also as far as I know configured to use the X11
backend so a program that uses those needs an X server to run.
This is probably why it tries to build gimp-remote for you, as Sven said
it is built when GTK+ is using the X11 backend.
Normally, this is not what you want.

What one can do to produce native windows binaries with Cygwin gcc is to
export CC="gcc -mno-cygwin"  before running configure. You also need to
download a massive amount of libraries from
http://www.gimp.org/~tml/gimp/win32/downloads.html instead of using those
available with Cygwin, and perhaps make sure they can be found by setting
libraries in /usr or /usr/local since they aren't Cygwin libraries)

I remember having to fiddle around a bit with the paths in the
pkgconfig files and config scripts included with those libraries to make
things work, but after that it worked fine.

The easiest way to get started is probably to use MinGW and MSys instead
and follow the instructions on the wiki:


If you really want to compile GIMP for Cygwin and X11, I think the problem
is that $(EXEEXT) needs to be added to GIMP_REMOTE in configure.in for it
to work under Windows. (The target in the generated Makefile is
gimp-remote-2.2$(EXEEXT)  as far as I can see).

Gimp-user mailing list

Reply via email to