Re: [lfs-dev] libnl and iproute2

2012-01-14 Thread Olaf
On 2012-01-11 02:14, Andrew Benton wrote: >> FWIW: libnl-3.2.3 proved quite an interesting 'change', I've needed to >> tweak several packages (hostapd to name one) to deal with the move of >> header files :-( > > Could you tell me how you built hostapd with libnl-3.2.3? I've just > taken the easy

Re: [lfs-dev] libnl and iproute2

2012-01-11 Thread Ken Moffat
On Wed, Jan 11, 2012 at 10:43:12PM +, Matt Burgess wrote: > On Tue, 2012-01-10 at 02:22 +, Ken Moffat wrote: > > For those who saw me moaning on lfs-book about libnl-2.0 (for me, > > NetworkManager doesn't build against it), a summary of what is going > > to happen: > > > > in LFS - nothi

Re: [lfs-dev] libnl and iproute2

2012-01-11 Thread Matt Burgess
On Tue, 2012-01-10 at 02:22 +, Ken Moffat wrote: > For those who saw me moaning on lfs-book about libnl-2.0 (for me, > NetworkManager doesn't build against it), a summary of what is going > to happen: > > in LFS - nothing! Matt spotted that iproute2 only uses the > headers, it doesn't link a

Re: [lfs-dev] libnl and iproute2

2012-01-11 Thread Matthew Burgess
Markku Pesonen wrote >iproute2 doesn't even use the headers. See this commit in upstream: >http://git.kernel.org/?p=linux/kernel/git/shemminger/iproute2.git;a=commit;h=13603f6a9e46f08576f6284a0ef1ce1fbf94ffe0 Nice! I'll try a libnl-less build tonight with relevant seds to prevent iproute2 from

Re: [lfs-dev] libnl and iproute2

2012-01-10 Thread Markku Pesonen
On 10.1.2012 4:22, Ken Moffat wrote: > For those who saw me moaning on lfs-book about libnl-2.0 (for me, > NetworkManager doesn't build against it), a summary of what is going > to happen: > > in LFS - nothing! Matt spotted that iproute2 only uses the > headers, it doesn't link against the lib.

Re: [lfs-dev] libnl and iproute2

2012-01-10 Thread Andrew Benton
On Tue, 10 Jan 2012 17:15:19 +0100 Olaf wrote: > FWIW: libnl-3.2.3 proved quite an interesting 'change', I've needed to > tweak several packages (hostapd to name one) to deal with the move of > header files :-( Could you tell me how you built hostapd with libnl-3.2.3? I've just taken the easy

Re: [lfs-dev] libnl and iproute2

2012-01-10 Thread Olaf
Ken, > in BLFS, I'll be adding libnl-3.2.3 when I (eventually) merge > Wayne's gnome-3 changes. The headers in -3 have moved one level > deeper, and a quick attempt to use them for iproute2 by editing the > includes in ip2/ipl2tpc from netlink/ to libnl3/netlink/ failed > because the first of t

[lfs-dev] libnl and iproute2

2012-01-09 Thread Ken Moffat
For those who saw me moaning on lfs-book about libnl-2.0 (for me, NetworkManager doesn't build against it), a summary of what is going to happen: in LFS - nothing! Matt spotted that iproute2 only uses the headers, it doesn't link against the lib. For that, 2.0 is fine. With only 2.0 installe

Re: [lfs-dev] libnl

2012-01-09 Thread Bruce Dubbs
Ken Moffat wrote: > On Mon, Jan 09, 2012 at 05:49:20PM -0600, Bruce Dubbs wrote: >> No, I don't edit /etc files daily, but I certainly do when I'm setting >> it up. Occasionally, I want to change things in /etc/dircolors, >> /etc/profile.d/, /etc/vimrc, etc :) >> >> Actually libnl-3 has several

Re: [lfs-dev] libnl

2012-01-09 Thread Uwe Düffert
On Tue, 10 Jan 2012, Ken Moffat wrote: OK. What sort of things do you change in /etc ? For me, mostly building desktops (with shared /home), the idea of having to tweak files in /etc to get it working properly is uncommon. For me, mostly maintaining kind of servers, pretty sure the majority of

Re: [lfs-dev] libnl

2012-01-09 Thread Ken Moffat
On Mon, Jan 09, 2012 at 05:49:20PM -0600, Bruce Dubbs wrote: > > No, I don't edit /etc files daily, but I certainly do when I'm setting > it up. Occasionally, I want to change things in /etc/dircolors, > /etc/profile.d/, /etc/vimrc, etc :) > > Actually libnl-3 has several executables to manage

Re: [lfs-dev] libnl

2012-01-09 Thread Ken Moffat
On Tue, Jan 10, 2012 at 12:41:47AM +0100, Uwe Düffert wrote: > > Well, I'm not sure whether this was the original intention, but to > me this kind of distinction does make sense. Maybe not from the > perspective of a user of a *LFS system, but for a user of *LFS, i.e. > a system builder/maintainer

Re: [lfs-dev] libnl

2012-01-09 Thread Bruce Dubbs
Ken Moffat wrote: > On Sun, Jan 08, 2012 at 10:01:21PM -0600, Bruce Dubbs wrote: >> 4. I don't really like /etc for the /etc/libnl/{pktloc,classid} files. >> that's not the kind of thing a user would change, especially with an >> editor. I'd suggest /var/lib. >> > I'm perhaps too late to the

Re: [lfs-dev] libnl

2012-01-09 Thread Uwe Düffert
On Mon, 9 Jan 2012, Ken Moffat wrote: On Sun, Jan 08, 2012 at 10:01:21PM -0600, Bruce Dubbs wrote: 4. I don't really like /etc for the /etc/libnl/{pktloc,classid} files. that's not the kind of thing a user would change, especially with an editor. I'd suggest /var/lib. Why do you think user

Re: [lfs-dev] libnl

2012-01-09 Thread Ken Moffat
On Sun, Jan 08, 2012 at 10:01:21PM -0600, Bruce Dubbs wrote: > > 4. I don't really like /etc for the /etc/libnl/{pktloc,classid} files. > that's not the kind of thing a user would change, especially with an > editor. I'd suggest /var/lib. > I'm perhaps too late to the party here, but (in t

Re: [lfs-dev] libnl

2012-01-09 Thread Bruce Dubbs
Matt Burgess wrote: > On Sun, 2012-01-08 at 22:01 -0600, Bruce Dubbs wrote: >> 4. I don't really like /etc for the /etc/libnl/{pktloc,classid} files. >> that's not the kind of thing a user would change, especially with an >> editor. I'd suggest /var/lib. > > Agreed. Does it warrant a comma

Re: [lfs-dev] libnl

2012-01-09 Thread Matt Burgess
On Sun, 2012-01-08 at 22:01 -0600, Bruce Dubbs wrote: > I took a look at libnl2 and libnl3. Here's a couple of issues: > > 1. The book lists directories: > /usr/include/netlink, > /usr/include/netlink/genl, > /usr/include/netlink/netfilter, > /usr/include/netlink/route > > but I

[lfs-dev] libnl

2012-01-08 Thread Bruce Dubbs
I took a look at libnl2 and libnl3. Here's a couple of issues: 1. The book lists directories: /usr/include/netlink, /usr/include/netlink/genl, /usr/include/netlink/netfilter, /usr/include/netlink/route but I think we really only need to list /usr/include/netlink, not all the su