[Gimp-developer] potfiles

Martin Nordholts enselic at gmail.com
Fri Jul 4 22:04:32 PDT 2008


Ek kian wrote:
>
> i download GIMP 2.4.3 from http://gimp-win.sourceforge.net/
>

I checked the MD5, and it is exactly the same tarball that we distribute.


> i've been able to compile it under Windows and i copy that folder to
> Linux to compile it under Linux, but it failed.

Aha, here is the problem.

The point of the ./configure script is to gather information about the
host system and then generate Makefiles and other files based on that
information.

If you ./configure on a Windows mashine, then copy that folder to a
Linux machine, things will break, because the information ./configure
gathered on Windows will be invalid on Linux.

You should always run ./configure on the host machine.

We don't need the output of ./configure anymore, but when you want the
output of a program in Linux, you simply redirect stdout to a file, like
this:

./configure > configure-output.txt

There are thousands more things to say about this, but let's leave that
up to google ;)

The same GIMP source is used to compile on the world's all platforms.

If you want to learn more about the build system GIMP and many many
other programs use, a good start would be reading the autoconf [1] and
automake [2] manuals.

[1] http://www.gnu.org/software/autoconf/manual/
[2] http://www.gnu.org/software/automake/manual/

Best regards,
Martin Nordholts


More information about the Gimp-developer mailing list