ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Afonin <asy@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] pkg-config и наименование библиотеки (libmongoc)
Date: Wed, 24 Aug 2016 18:44:46 +0400
Message-ID: <201608241844.46612.asy@altlinux.ru> (raw)

Приветствую.

А как правильно следует упаковывать %name.pc ?

Пытаюсь собрать syslog-ng 3.8. Зачем-то там перешли с libmongo-client
на libmongoc, и вылезла ошибка сборки. В configure проверка библиотеки
делается так:

$PKG_CONFIG --exists --print-errors "libmongoc >= $LMC_MIN_VERSION"

А у нас пакет называется libmongoc-1.0 (кстати, на самом деле, он 1.1.2).
Вопрос: тут с версией в названии у libmongoc проблема, или для libmongoc
так положено ? Кстати, а cmake pkg-config использует ? Клиент у libmongoc
один пока, и он cmake-ом собирается.

Хотя, в принципе, можно задать LIBMONGO_CFLAGS и LIBMONGO_LIBS, в этом
случае pkg-config не используется в configure у syslog-ng...

-- 
С уважением, Сергей Афонин.


             reply	other threads:[~2016-08-24 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-24 14:44 Sergey Afonin [this message]
2016-08-24 15:34 ` Alexey Shabalin
2016-08-25 12:25   ` Sergey Afonin

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=201608241844.46612.asy@altlinux.ru \
    --to=asy@altlinux.ru \
    --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