in reply to Re: Gtk3 Install Problems
in thread Gtk3 Install Problems
You are absolutely correct. It is very relevent. I'm having similar problems. Thanks for the reply.
Don
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Gtk3 Install Problems
by syphilis (Archbishop) on Feb 21, 2014 at 00:09 UTC | |
I was trying to build version 1.34.2. I haven't checked to see whether there is something more recent (which might build more readily). I use gcc-4.7.0 in the msys shell. Please /msg me if you can get Glib::Object::Introspection installed. My notes regarding the awful hacks I used in my attempt to build the gobject-introspection C library are given below my sig (in readmore tags). Cheers, Rob Read more... (4 kB)
| [reply] [d/l] |
by drdon (Novice) on Feb 24, 2014 at 00:59 UTC | |
Check out https://github.com/tomnotcat/glib-win32. If that helps let me know. I would still like to get Gtk3 installed. Thanks, Don | [reply] |
by syphilis (Archbishop) on Feb 24, 2014 at 07:43 UTC | |
C:\usr\local Then I cut'n'pasted everything from C:/usr/local/glib-win32-master folder to C:/usr/local - ie moved those directories up one level. The pc files (that the Glib-Object-Introspection-0.020 build process will reference have {prefix} set to /usr/local/ ... and I'm thinking it's best to honor that spec. Added /usr/local/bin and my GTK-3 bin to the beginning of the PATH. For me: set PATH=C:\usr\local\bin;C:\GTK+3.6.1\bin;%PATH% Set the PKG_CONFIG_PATH envvar to include both C:\usr\local\lib\pkgconfig and the GTK-3 pkgconfig folder. For me: set PKG_CONFIG_PATH=C:\usr\local\lib\pkgconfig;C:\GTK+3.6.1\lib\pkgconfig Set the CPATH envvar to include the introspection headers: set CPATH=C:\usr\local\include\gobject-introspection-1.34.2 Then created a copy of libffi.dll.a named libffi.a. ie copied C:\GTK=3.6.1\lib\libffi.dll.a to C:\GTK=3.6.1\lib\libffi.a Then created a copy of girepository.lib named libgirepository-1.0.a: ie copied C:\usr\local\lib\girepository.lib to C:\usr\local\lib\libgirepository-1.0.a Then I ran the 'perl Makefile.PL', 'dmake' mantra. That built a loadable version of Glib-Object-Introspection-0.020 ... but the test libraries aren't being built (during the Makefile.PL step), so all tests are skipped. I still need to work out what's going wrong there. I'll update this post when (if) I get that sorted. Then we get to see what horrors await us when we try to build the Gtk3 module. (Hopefully none !!) Don, if you're impatient, just build and install Glib-Object-Introspection-0.020 as per the outline given above, and then see what happens when you try to build Gtk3. Don't worry (for the moment) about the tests being skipped. Cheers, Rob Update: Turns out that we don't have a /usr/local/bin/g-ir-scanner.exe ... instead we have /usr/local/bin/g-ir-scanner.py. And, to build the test libraries on Win32, we're hit with this in the Makefile.PL: Well, of course, the file is called 'g-ir-scanner.py' not 'g-ir-scanner' ... therefore $found doesn't get set and 0 is returned. Changing the 'g-ir-scanner' to 'g-ir-scanner.py' means that the file *does* get found and the python command then ultimately gets executed. But, unfortunately, that just errors out with: Now, I don't know what's needed there. (All I know about python is that there's a lot of half-witted wankers who reckon it's the ant's pants.) So, I'm currently left to wonder whether the G::O::I I've just built is right to go, or whether there are problems with it that won't be properly revealed until the tests are run. (BTW, if you want to see the diagnostics as the test libraries are being built, there's a variable in the Makefile.PL named $pipe that needs to be changed from 1>NUL 2>NUL to the empty string.) I installed G::I::O-0.020 and then tried building GTk3-0.016 (which is apparently a pure-perl module) but all of the test scripts I tried errored out (and hanged) with: Perhaps this is because G::O::I-0.020 is no good, or perhaps it's something that might be fixed quite simply. I'd recommend that a bug report, containing the above output, be filed against Gtk3-0.016 ... and take it from there. The bug report should also mention that all of the G::O::I tests were skipped because the test libraries were not built, but that G::O::I loads ok. | [reply] [d/l] [select] |
by syphilis (Archbishop) on Feb 24, 2014 at 12:30 UTC | |
by drdon (Novice) on Feb 27, 2014 at 22:57 UTC | |
| |