Using jhbuild on cygwin

Jonas Platte jonasplatte@myopera.com
Mon Feb 4 13:12:00 GMT 2013


Hello,
I am trying to port my gtkmm program (that runs well on linux) to 
windows, but it seems there is a bug in gtkmm or the underlying gtk+ 
that keeps my program from starting. Now to debug that, I use the 
official method of building gtkmm with jhbuild 
(http://developer.gnome.org/gtkmm-tutorial/stable/chapter-working-with-source.html.en). 
I was able to setup jhbuild under linux only with minor problems that I 
could solve for myself, but now on windows (with cygwin) there are some 
things that just won't work.

I use cygwin on a virtual Windows 7 x64. My environment should be okay, 
I only added two lines to my .bashrc, the first for jhbuild to be found 
and the second one because I had pkgconfig problems with jhbuilder on 
linux, and now I tried that to fix some other errors. I adjusted it for 
my cygwin environment.
PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/home/qwertz/.local/bin
PKG_CONFIG_PATH=/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/share/pkgconfig:/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig

My first problem are the depencies not of jhbuild itself but for the 
building process. This is what I get... I don't know how to change my 
language in cygwin, but I think the comments are okay, right?

$ jhbuild sysdeps --install
# the following are modules that depend on other unknown modules
# jhbuild had this kind of "problem" under linux too, but it worked anyway
W: »glib« hängt vom unbekannten Modul »gvfs« ab
W: »gtk+« hängt vom unbekannten Modul »at-spi2-atk« ab
W: »libproxy« hängt vom unbekannten Modul »NetworkManager« ab
W: »WebKit« hängt vom unbekannten Modul »at-spi2-core« ab
W: »dbus-glib« hängt vom unbekannten Modul »dbus« ab
W: »geoclue« hängt vom unbekannten Modul »NetworkManager« ab
W: »libgnome-keyring« hängt vom unbekannten Modul »dbus« ab
W: »gypsy« hängt vom unbekannten Modul »bluez« ab
W: »glib-networking« hängt vom unbekannten Modul 
»gsettings-desktop-schemas« ab
# I don't know if the following is an issue. On Google I found that this 
is probably a pkgconfig problem
# and jhbuild also uses pkgconfig but I don't know if there is a way of 
editing how it is used
Package 'libpng' has no Name: field
Im System installierte ausreichend aktuelle Pakete:
     # here is more output but I think it's not important. here the 
already present depencies were listed
Benötigte Pakete:
   Im System installierte Pakete, die zu alt sind:
     # too old packages: (none)
     (keine)
   Kein passendes Systempaket installiert:
     # didn't find following packages
     libXft (xft.pc, Benötigt=2.0.0) # I installed this and I'm quite 
sure it was recognized, but now it isn't
     python-devel (python.pc, Benötigt=2.5) # well, I got the basic 
python package installed, and didn't find any python-dev or python-devel 
in the cygwin installer. do I have to build this separately?
     libpng (libpng.pc) # installed this too and it somewhen was recognized
Optionale Pakete: (JHBuild wird die fehlenden Pakete erstellen)
       # those are optional and I cut them out therefore
# this is probably normal on cygwin. It sais that it doesn't know how to 
install packages on the system (normally it would install all depencies)
jhbuild sysdeps: Unbekannt, wie Pakete auf diesem System installiert 
werden können

During the building process (I am able to start that without the 
depencies) there are more errors, but I think when the depencies are met 
some of those will vanish, so this is the first thing I have to solve.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list