
FWIW, here is my configure: ./configure --prefix=/opt/libvirt/ --without-sasl --without-avahi -- without-polkit --without-python --without-xen --without-qemu --without- lxc --without-openvz --without-libvirtd I also tried adding the "--without-loadable-drivers" command since I thought including loadable modules may trigger the MODPROBE error. -- -a "Ideally, a code library must be immediately usable by naive developers, easily customized by more sophisticated developers, and readily extensible by experts." -- L. Stein On May 2, 2009, at 5:12 PM, Schley Andrew Kutz wrote:
It's me. The original instigator of the long Leopard thread from early 2008. I once again need to do libvirt development from my Mac, and I still cannot seem to get it to compile :(
It is currently bugging out at:
gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../ include -I../include -I../qemud -I/usr/include/libxml2 -DLIBDIR=\"/ opt/libvirt//lib\" -DBINDIR=\"/opt/libvirt//libexec\" -DSBINDIR=\"/ opt/libvirt//sbin\" -DSYSCONF_DIR=\"/opt/libvirt//etc\" - DLOCALEBASEDIR=\"/opt/libvirt//share/locale\" -DLOCAL_STATE_DIR=\"/ opt/libvirt//var\" -DGETTEXT_PACKAGE=\"libvirt\" -Wall -Wformat - Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra - Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict- prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wp,- D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -I/opt/ local/include -g -O2 -MT pci.lo -MD -MP -MF .deps/pci.Tpo -c pci.c - fno-common -DPIC -o .libs/pci.o pci.c: In function 'pciFindStubDriver': pci.c:652: error: 'MODPROBE' undeclared (first use in this function) pci.c:652: error: (Each undeclared identifier is reported only once pci.c:652: error: for each function it appears in.) make[3]: *** [pci.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Any help is appreciated.
-- -a
"Ideally, a code library must be immediately usable by naive developers, easily customized by more sophisticated developers, and readily extensible by experts." -- L. Stein