On Wed, Oct 12, 2011 at 01:20:12AM +0300, Mihai Cozma wrote: > OK, I gave up on Linux cross compiling of GTK+ after trying for 3 hours to > build gdk-pixbuf (I managed to build glib as instructed in the irc chat > dump btw).
I assume you found my notes: http://maxy.homeip.net/misc/jhbuild.mingw.gtk-2.24_maxy_notes/ For gdk-pixbuf I ended up compiling the latest git version, allthough I don't remember why. I have written down the exact git version that I had success with. Did you already try with exactly this version? > Everything seems to be a complete mess. The last error I've got resumes > to: > > "We need Glib >= 2.27.2, pkg-config reported 2.28.1 and we found 2.28.6, > so we fail on autoconf.sh." Now why would it do such a thing, since it got > what it needed? Hm, I didn't get this one. My guess is that you see a mix-up between the native (linux) version of glib and the cross-compiled one. Maybe the test does check the linux version, but displays you the cross-compile version in the error message. You could try to install a more recent native (linux) glib version (development packet) to make the test happy, or try to disable the test. Looking at configure.ac, there seem to be two different checks for glib, maybe you can just disable one of them. You are starting the compilation via jhbuild I assume? Asking because otherwise I would also suspect messed up environement variables like PKG_CONFIG_PATH. > Hopefully I'll be able to configure a build environment on Windows, > it's my only hope. Either way, you probably will end up knowing how pkg-config works and how to debug those version checks when you succeed. Setup takes time (I estimated two days in my previous mail). Please ask again if you get stuck. I should be available on IRC this weekend to help you where I can. -- Martin Renold _______________________________________________ Mypaint-discuss mailing list [email protected] https://mail.gna.org/listinfo/mypaint-discuss
