delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/02/04/08:13:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,KHOP_SPAMHAUS_DROP,TW_BP,TW_GT,TW_JH,TW_KG,TW_TK
X-Spam-Check-By: sourceware.org
Message-ID: <510FB3CB.7020603@myopera.com>
Date: Mon, 04 Feb 2013 13:12:43 +0000
From: Jonas Platte <jonasplatte AT myopera DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130109 Thunderbird/17.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Using jhbuild on cygwin
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019