On Sun, Nov 06, 2011 at 06:15:12PM +0000, Brian Candler wrote: > This seems to be latest stable version - should I try 0.9.7rc2? > > Aha: 7 days ago... > http://libvirt.org/git/?p=libvirt.git;a=commit;h=73ce5050e0dcf897a975fd077d249f42e0549c64 Updating the brew formula to 0.97-rc2, I get the following build error: ... CC libvirt_driver_secret_la-secret_driver.lo CC libvirt_driver_storage_la-storage_driver.lo CC libvirt_driver_storage_la-storage_backend.lo CC libvirt_driver_storage_la-storage_backend_fs.lo CC libvirt_driver_storage_la-storage_backend_scsi.lo CC libvirt_iohelper-iohelper.o CCLD libvirt_util.la CCLD libvirt_conf.la /usr/bin/ranlib: file: .libs/libvirt_util.a(libvirt_util_la-bridge.o) has no symbols /usr/bin/ranlib: file: .libs/libvirt_util.a(libvirt_util_la-stats_linux.o) has no symbols ranlib: CCLD libvirt_cpu.la file: .libs/libvirt_util.a(libvirt_util_la-bridge.o) has no symbols ranlib: file: .libs/libvirt_util.a(libvirt_util_la-stats_linux.o) has no symbols CCLD libvirt_vmx.la CCLD libvirt_driver.la CCLD libvirt_driver_test.la CCLD libvirt-net-rpc-client.la /usr/bin/ranlib: file: .libs/libvirt_driver.a(libvirt_driver_la-driver.o) has no symbols ranlib: file: .libs/libvirt_driver.a(libvirt_driver_la-driver.o) has no symbols CCLD libvirt-net-rpc-server.la CCLD libvirt-net-rpc.la CCLD libvirt_driver_vmware.la CCLD libvirt_driver_vbox.la CCLD libvirt_driver_security.la CCLD libvirt_driver_secret.la CCLD libvirt_driver_storage.la CCLD libvirt_iohelper CCLD libvirt_driver_remote.la Undefined symbols for architecture x86_64: "_ptsname_r", referenced from: _virFileOpenTty in libvirt_util.a(libvirt_util_la-util.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[3]: *** [libvirt_iohelper] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ==> Exit Status: 2 http://github.com/mxcl/homebrew/blob/master/Library/Formula/libvirt.rb#L42 ==> Environment HOMEBREW_VERSION: 0.8 HEAD: 0e318ead7589fedca2f647d0401324bfe0179a9d HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_REPOSITORY: /usr/local HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew Hardware: quad-core 64-bit sandybridge OS X: 10.7.2 Kernel Architecture: x86_64 Ruby: 1.8.7-249 /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby Xcode: 4.1 GCC-4.0: N/A GCC-4.2: build 5666 LLVM: build 2335 MacPorts or Fink? false X11 installed? true ==> Build Flags CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2 LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 CFLAGS: -O3 -march=core2 -w -pipe CXXFLAGS: -O3 -march=core2 -w -pipe MAKEFLAGS: -j4 Error: Failed executing: make If `brew doctor' does not help diagnose the issue, please report the bug: https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue -------- It would appear that OSX has ptsname but not ptsname_r: Brians-MacBook-Air:~ $ man -k ptsname grantpt(3), posix_openpt(3), ptsname(3), unlockpt(3) - pseudo-terminal access functions Note: the brew formula builds libvirt with the following ./configure arguments args = ["--prefix=#{prefix}", "--localstatedir=#{var}", "--mandir=#{man}", "--sysconfdir=#{etc}", "--with-esx", "--with-init-script=none", "--with-remote", "--with-test", "--with-vbox", "--with-vmware", "--with-yajl", "--without-qemu"] Regards, Brian.