ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Efremov <sem@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] libnl3 vs libnl
Date: Sun, 17 Feb 2013 04:33:51 +0400
Message-ID: <20130217043351.78890631@sem-notebook> (raw)
In-Reply-To: <20130217042308.12979349@sem-notebook>

On Sun, 17 Feb 2013 04:23:08 +0400 Mikhail Efremov wrote:
> On Sun, 17 Feb 2013 01:04:03 +0800 Евгений Терешков wrote:
> > Mikhail Efremov пишет:
> > 
> > > Предлагаю заменить libnl-devel на libnl-devel из libnl3 и собрать
> > > libnl как legacy library без devel-части. Весь живой софт уже
> > > давно должен поддерживать libnl3.
> > > http://git.altlinux.org/people/sem/packages/?p=libnl.git;a=summary
> > > http://git.altlinux.org/people/sem/packages/?p=libnl3.git;a=shortlog;h=refs/heads/rpms
> > 
> > А то, что в libnl-devel-3.2.21-alt2 по сравнению с
> > libnl-devel-1.1-alt2.qa2 все инклуды переместились в подкаталог
> > "libnl3" это так и задумано?
> 
> Да. Это изменение в апстриме.
> 
> > Предлагается допатчить весь софт, ищущий
> > все инклуды, вне зависимости от версии, в netlink/... ? 
> 
> Это должно решаться использованием pkg-config:
> pkg-config --cflags libnl-3.0                    
> -I/usr/include/libnl3
> 
> > У меня из
> > такого есть iw: умеет все версии библиотеки, но перестал собираться
> > из-за этого "переноса".
> 
> В Makefile iw предполагается использование pkg-config:
> CFLAGS += $(shell $(PKG_CONFIG) --cflags $(NLLIBNAME))
> Но это не работает, т.к. CFLAGS задается аргументом make и в Makefile
> не используется override.
> Нужно либо патчить Makefile и определять нужные CFLAGS там, либо
> явно добавлять -I/usr/include/libnl3 в CFLAGS при вызове make. 

Хотя нет, проще всего делать export CFLAGS вместо того, чтобы задавать
аргументом make.

-- 
WBR, Mikhail Efremov


      reply	other threads:[~2013-02-17  0:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-13 14:40 Mikhail Efremov
2013-02-16 17:04 ` Евгений Терешков
2013-02-17  0:23   ` Mikhail Efremov
2013-02-17  0:33     ` Mikhail Efremov [this message]

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=20130217043351.78890631@sem-notebook \
    --to=sem@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