Building Gimp 2.0 on Windows XP? 53
Anonymouse asks: "Has anyone out there just had the urge to build Gimp 2.0 on Windows instead of using an installer made by a third party, hosted on a free web hosting service? It's probably fine but it makes me nervous, so I figure I should try building it on Windows instead...besides, it could be educational! Does anyone have any instructions/suggestions for building the source on Windows XP using MinGW and MinSYS? Keep in mind I have no experience with *nix, and my meek programing skillz only apply to Perl. Thanks!"
Not too sketchy. (Score:5, Informative)
I found this site [arnes.si] linked from the main Gimp site [gimp.org]. It doesn't look too sketchy to me. Why don't you use that?
If you really want to compile from scratch, do it on Linux first with native Linux programs. When you get the hang of that, move to Windows. I'm all for sink-or-swim type trials, but, in this case, I think you'll sink. Very quickly.
Re:Not too sketchy. (Score:4, Insightful)
Second that. Most software builds are much more extensively tested and used (and made easier and more reliable to build) under Linux. Linux distros come with a good set-up-in-a-standard-manner development toolset.
A lot of Windows port work isn't kept up-to-date.
Putting together your own cygwin or mingw toolchain (not that that's a bad idea in general) already is a severe pain in the ass. It can be real black magic to figure out what people last did to get primarily-used-on-UNIX-software building. When you couple that with the fact that there are all *sorts* of interesting problems that come up on Windows (case sensitivity suddenly existing, line feeds mattering, etc) things can get much more interesting.
Re:Not too sketchy. (Score:2, Interesting)
Black Magic is putting it mildly. You could build a Gentoo system for how long it takes to cygwin configured just so.
And that's not a knock on Cygwin's fine efforts, it's just the matter of fact. You're trying to dupe an OS's behavior on another OS.
I started tryi
Re:Not too sketchy. (Score:3, Insightful)
No. (Score:5, Funny)
Build is a discipline all to itself (Score:4, Informative)
This is not an easy task, though once set up properly it becomes fairly self-managing.
Since you are coming from Perl where there is nothing to compile, it would probably be best to start by installing Cygwin and gcc and just try compiling a few simple programs first. READ the makefiles. Understanding the makefiles will make understanding the build process much easier.
Re:Build is a discipline all to itself (Score:3, Insightful)
Really? I don't know about other people, but where I work we do this stuff with computers!
Maintaining a team of people to autobuild would be really expensive, but maintaining a couple of computers to do it has mostly involved some setup co
Re:Build is a discipline all to itself (Score:1, Interesting)
Maybe for a company that only produces a handful of software titles, trusting the build machines to work flawlessly all the time is fine. You can always fire up another build in the morning if during the nightly the build machine ran out of memory or crashed a head or had any of a number of critical errors occur. But such lackadaisical care paid to the build system is not a luxury many companies can afford.
Re:Build is a discipline all to itself (Score:2)
emerge gimp
or not.. but you'll save plenty of time and can have a beer or two while you sit back and enjoy seeing your build actually work without having to do it the hard way.
Building GIMP (Score:5, Informative)
Not something that is worthy of an Ask Slashdot in my opinion, but we're here to help I guess. Also, check out the #gimp channel on irc.gimp.org for some help.
-Tukon
Stating the obvious.
Re:Building GIMP (Score:5, Funny)
Re:Building GIMP (Score:3, Funny)
it relieves stress from all of the SCO bashing.
Re:Building GIMP (Score:1, Insightful)
Re:Building GIMP (Score:1)
Well, kinda like Maslow's Hierarchy of Needs, we have Slashdot's Hierarchy of Stress Relief.
--JoeNope (Score:1, Insightful)
Nope. No. Nuh-uh.
Next!
New low (Score:1, Insightful)
What next? "I'm J.Random Hax0R and I thought that I should get my own 3733t L1nux shell setup on my 14.4k modem and like I've got this 486DX33 with 8MB of RAM and a SoundBlaster Pro card but I can't work out how to recompile my own kernel. Can somebody tell me how and give me the config file as well? Greetz to Scr1ptK1dd1es and MrHax0RXtreme"
The Gimp Wiki has plenty of information on how to compile Gimp for Windows so it'
Re:New low (Score:2, Informative)
How's that for *free* software?
Re:New low (Score:4, Informative)
You're *free* to do whatever you like. Isn't that great?
My experiences with GIMP 2.0 on Windows (Score:5, Informative)
I downgraded to GTK 2.2.4.2 revision C and went back to GIMP 1.25. I'll give GIMP 2.0 another try when GTK+ 2.4.1 is released.
Broken tray menus in Gaim? (Score:4, Informative)
From their win32 page [sourceforge.net]:
On the other hand, I just downloaded Gaim 0.76 (because I broke the old version when I upgraded GTK for GIMP 2.0)... and the tray icon is working fine, no changes on my part at all.
Hmm. Either way, you should consider another shot.
Re:Broken tray menus in Gaim? (Score:2)
I preferred the ability to chat than to use Gimp, so out goes the GTK+ 20040124 and in goes GTK 2.2.4 rev. C (the one recommended by Gaim). Besides, I'm more comfortable with Paint Shop Pro [jasc.com].
Re:Broken tray menus in Gaim? (Score:2)
Weird -- maybe you're using a different OS version, or something else.... I'm running win2K, with GTK+ 20040124 (I just checked) and Gaim 0.76. And I'm using Gaim right now, so I know it's working. You might want to make sure you uninstall and reinstall Gaim, instead of just putting 0.76 on top of the older version. My older version of Gaim *did* die when
Re:Broken tray menus in Gaim? (Score:2)
Now installed GTK 2.2.4 rev C, and the libglib-2.0-0.dll also says it's version 2.2.3.0
Maybe you installed Glib separately? Or maybe the glib error is caused by some other error?
Aah, DLL hell..
Re:My experiences with GIMP 2.0 on Windows (Score:2)
Maybe try CygWin (Score:2, Informative)
Re:Maybe try CygWin (Score:1)
Of course, if you're not accustomed to the shell game that Cygwin plays with all your files, it could become very confusing.
I stopped building stuff with Cygwin a long time ago for that reason. I still have it on my HD for a handful of tools, but really I should consider building those all with MinGW so that path interpretation works a little more sanely.
--JoeUhm (Score:4, Insightful)
Doesn't this belong on an appropriate mailing list or something?
CygWin? (Score:2, Informative)
Re:CygWin? (Score:1, Informative)
Cygwin is a single dll that provides a posix emulation layer between via win32 api calls. The rest of cygwin is various source and binary packages available that are available for download via the setup tool. Certain packages (such as sshd for proper installation as a service) will require administrative privileges to properly install. Most packages don't require any special permissions.
Re:CygWin? (Score:2, Informative)
Cygwin is one of those really valuable tools that I use day in and day out. I installed cygwin on a windows server and now I have the best of both worlds. I can ssh into my windows machine and run windows commands as well as unix ones.
Re:CygWin? (Score:3, Informative)
Re:CygWin? (Score:1)
On Win9x, every process has the equivalent of root privileges. Always.
On NT, any user can _get_ root (err, LocalSystem) privileges due to a thing
called a shatter attack (which is basically a local root exploit that can't
be fixed without breaking the Win32 API), but processes do not all have such
privileges automatically, and cygwin would be no different from any other
application in this regard.
Re:CygWin? (Score:1)
< A so-called 'shatter attack' doesn't work unless you
< have a buggy program with enhanced privileges running.
The program doesn't have to be buggy per se; it only has to be running with enhanced privileges and have a "window" on the desktop. (Any representation on the desktop will do, even a system tray icon, if I understand correctly.) The vulnerability is in the Win32 API and widget set. The antivirus software in question was not buggy in itself (at least, not in a way that i
Re:CygWin? (Score:2)
No, but the cygwin DLL maintains state such as file descriptor tables and other "kernel level" stuff, so anyone who can write to the DLL's state can screw with any running cygwin process to the point of pretty much owning it. It was designed this way so it would work on Win9x -- if it used the NT native API's exclusively, many of cygwin's design decisions would be a lot more elegant. It's not so much a risk as it sounds though -- any kernel has the same issue,
Experiences from Gaim (Score:3, Informative)
The basic idea is to install cygwin, and use make and python and perl and all that other stuff the build process needs, but replace the compilers and libraries in your path with the ones from mingw.
See here for more info:
Windows Development - gaim [sourceforge.net]
When installing or compiling UNIX apps that have been ported to Windows, especially ones using GTK+, all kinds of crazy things end up happening with confused DLLs. Sometimes Gaim tries to use ActiveState's Perl and that breaks something, or tries to use some of Cygwin's libraries. What we need is something like the LSB [linuxbase.org] that governs how UNIX-compatible environments (Cygwin and MinGW mainly) should work on Windows. That would be a big help to folks like me who must use Windows (No, trolls. I can't use Linux. I have reasons. Go away.) but want to have appilcations and environments that are UNIXey.
Re:Experiences from Gaim (Score:1)
That shouldn't happen, at least not if you used mingw all the way through. The whole purpose of compiling using Mingw is so that it uses msvcrt.dll and other common Windows equivalents instead of the Cygwin ones. I suggest you see what "ldd gaim" tells you. If you don't see 'cygwin3.dll' in there, it really shouldn't be loading said DLL. If you do, you didn't build suing Mingw all the w
Re:Experiences from Gaim (Score:1)
But... but... but... (Score:5, Funny)
How did you find this webpage?
What are you doing here?
You're making me very nervous.
Is this a trick?
I have to go now.
No (Score:3, Informative)
But if you feel like building it yourself, be my guest.
Building a native win32 gimp? (Score:3, Interesting)
Of course building a Gimp 2 in managed code on the
And why don't you... (Score:3, Insightful)
Seriously, if you're so lazy that you're using Ask Slashdot instead of their mailing list you should stick with the installer ! Especially since compiling GIMP 2.0 is diving into dependency hell (you'll need to compile about half a dozen libraries first, ATK, glib, GTK+,
The idea is pretty sick, but it is possible (Score:1)
Anyway, I don't have enough time recently to continue the development at a higher pace...
Please help with the development!