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 subdirectories.
2. I think we should remove the --disable-static. It could be listed
as optional. If we do leave it in, either reformat it one one line:
./configure --prefix=/usr --sysconfdir=/etc --disable-static
or as:
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-static
3. I see no conflicts between version 2 and 3:
V2 V3
/usr/include/netlink /usr/include/libnl3
/usr/lib /usr/lib/libnl
/usr/lib/libnl*3*
/usr/lib/pkgconfig/libnl-2.0.pc /usr/lib/pkgconfig/libnl*3.0.pc
/usr/sbin/nl*
/usr/share/man/man8/nl*.8
The name entries in libnl-2.0.pc and libnl-3.0.pc are the same, but I
don't see that as a problem. The calling program needs to know if it is
calling V2 or V3.
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.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page