On 09/14/2012 05:31 PM, Ed Maste wrote: > On 13 September 2012 13:46, Daniel P. Berrange <berra...@redhat.com> wrote: >>> It looks like the primary code reused from dutil_linux.c is >>> exec_program / run_program (nl and augeas aren't used). Would calling >>> it dutil_posix be reasonable? >> Yes that sounds fine. > In order to submit a patch I'm trying to refactor and test this on > some Linux distribution, but I haven't yet been able to get the stock > source to build on either the Ubuntu (12.04) or CentOS (6.3) virtual > machines I have. It looks I have a libnl3 on Ubuntu with header > problems and no libnl3 package available for CentOS. > > Can you suggest a working Linux reference platform I should use for > testing the FreeBSD porting changes?
(netcf on Ubuntu is extremely new; I'm not sure what version is needed to build it properly.) Actually CentOS 6.3 should work just fine. You actually don't need libnl-3 (libnl-1.1 is what netcf and libvirt are linked against on CentOS 6.x), although I *think* libnl-3 is available for CentOS 6.3 as well. Try installing the package "libnl-devel" ("yum install libnl-devel" - it might be in some "optional" repo), as that will give you a netcf that's compatible with libvirt as built on CentOS 6.3 (forgive my inability to speak with certainty about CentOS; all of my info is based on RHEL and Fedora). If you really must have libnl3 for some reason, try installing libnl3-devel instead, but note that you'll also have to build your own libvirt from recent sources as well (libnl-3 and libnl-1.1 can coexist on the same system, but two packages that are linked together must both be linked with the same version of libnl) Another good platform for netcf (and libvirt) testing is Fedora. A large number of libvirt developers (including me) use Fedora as their main dev box, and netcf was originally developed on Fedora. The current release of Fedora (17) is reasonably stable (note that if you don't like the gnome shell, there are alternatives as close as a "yum install" away :-) _______________________________________________ netcf-devel mailing list netcf-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/netcf-devel