ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Yuri N. Sedunov" <aris@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Q: Попытка заставить работать libdbus-glib
Date: Fri, 22 Aug 2008 03:56:00 +0400
Message-ID: <1219362960.15455.86.camel@arisbook.local.home.home> (raw)
In-Reply-To: <m3zln6lz5x.fsf@blard.localdomain>

В Птн, 22/08/2008 в 06:35 +0700, Michael Pozhidaev пишет:
> Привет всем!
> 
> Очень нужна в работе какая-нибудь библиотека, через которую можно ловить события dbus.
> Немного подумав, остановился на libdbus-glib. Почитал документацию, и начал пробовать:
> 1. быстро появилась необходимость добавить ссылку /usr/include/dbus -> /usr/include/dbus-1.0/dbus, ну это ерунда, добавил;
> 2. потом вылезла нехватка файла dbus-arch-deps.h, пришлось найти srpm, там прогнать configure. и положить файл оттуда -- сделано;
> 3. потом выяснилось, что файлы из /usr/include/glib2 инклюдятся напрямую, добавил -I/usr/include/glib2;
> 4. но теперь не хватает файла glibconfig.h, на этом мои поиски остановились.
> 
> Буду рад. если кто-нибудь мне даст совет, куда рыть дальше, чтобы иметь возможность 
> писать программы с glib. :)

Использовать pkg-config
$ pkg-config --cflags dbus-glib-1
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include

> 
> Система -- текущий бранч 4.1. Подключать Сизиф было бы пока нежелательно, но что-нибудь точечно могу вытащить.
> -- 
> С уважением и наилучшими пожеланиями, Михаил Пожидаев. E-mail: msp@altlinux.ru.
> Томский государственный университет. Факультет информатики. http://www.csd.tsu.ru
> ALT Linux Team. http://www.altlinux.ru
> 
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel
-- 
Yuri N. Sedunov



  reply	other threads:[~2008-08-21 23:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21 23:35 Michael Pozhidaev
2008-08-21 23:56 ` Yuri N. Sedunov [this message]
2008-08-22 18:47   ` Michael Pozhidaev
2008-08-22  5:18 ` Ildar Mulyukov
2008-08-22 18:50   ` Michael Pozhidaev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1219362960.15455.86.camel@arisbook.local.home.home \
    --to=aris@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git