From: Alexey Shabalin <a.shabalin@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] pkg-config и наименование библиотеки (libmongoc) Date: Wed, 24 Aug 2016 18:34:54 +0300 Message-ID: <CAEdvWkQ7+vLYcVQVDhsLpaYOXiJUXYq=+wLUAB+-XV=XYkdWWg@mail.gmail.com> (raw) In-Reply-To: <201608241844.46612.asy@altlinux.ru> 24 августа 2016 г., 17:44 пользователь Sergey Afonin <asy@altlinux.ru> написал: > Приветствую. > > А как правильно следует упаковывать %name.pc ? > > Пытаюсь собрать syslog-ng 3.8. Зачем-то там перешли с libmongo-client > на libmongoc, и вылезла ошибка сборки. В configure проверка библиотеки > делается так: > > $PKG_CONFIG --exists --print-errors "libmongoc >= $LMC_MIN_VERSION" > надо $PKG_CONFIG --exists --print-errors "libmongoc-1.0 >= $LMC_MIN_VERSION" Может когда-то давно апстрим и предоставлял libmongoc, но сейчас апстрим предоставляет libmongoc-1.0. > А у нас пакет называется libmongoc-1.0 (кстати, на самом деле, он 1.1.2). 1.0 - некоторый аналог epoch. так что тут все нормально. > Вопрос: тут с версией в названии у libmongoc проблема, или для libmongoc > так положено ? Кстати, а cmake pkg-config использует ? Клиент у libmongoc > один пока, и он cmake-ом собирается. у libmongoc проблем нет. cmake может использовать pkg-config. я не увидел, что syslog-ng собирается cmake. > Хотя, в принципе, можно задать LIBMONGO_CFLAGS и LIBMONGO_LIBS, в этом > случае pkg-config не используется в configure у syslog-ng... -- Alexey Shabalin
next prev parent reply other threads:[~2016-08-24 15:34 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-08-24 14:44 Sergey Afonin 2016-08-24 15:34 ` Alexey Shabalin [this message] 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='CAEdvWkQ7+vLYcVQVDhsLpaYOXiJUXYq=+wLUAB+-XV=XYkdWWg@mail.gmail.com' \ --to=a.shabalin@gmail.com \ --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