2010/6/19 Yves-Alexis Perez <cor...@debian.org>: > On sam., 2010-06-19 at 21:32 +0200, Cyril Brulebois wrote: >> | configure: error: no OS implementation for kfreebsd-gnu is available > > yeah, new upstream maintainer (Mike Massonnet, CC:ed) rewrote it quasi > from scratch, he added support for various BSD later so maybe he can > have a look at kfreebsd-gnu :)
Good the new build fails on this, really. Previously the application was building with -linux.c and I doubt the kernel provides anything such as a Linux /proc tree emulation :) For the record, the Linux implementation depends only on fopen() and the files inside the /proc directory (reason why it built fine), whereas the FreeBSD code depends on KVM. Can you test the application with the -freebsd.c code? Apply a patch for the configure script (patch attached): case "$target_os" in - freebsd*) + freebsd*|kfreebsd*-gnu) ac_os_implementation="freebsd" If it works I will commit it. Cheers -- Mike
--- configure.orig 2010-06-20 23:20:26.358270984 +0200 +++ configure 2010-06-20 23:21:29.408243816 +0200 @@ -12862,7 +12862,7 @@ ac_os_implementation="skel" else case "$target_os" in - freebsd*) + freebsd*|kfreebsd*-gnu) ac_os_implementation="freebsd" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_openfiles in -lkvm" >&5 $as_echo_n "checking for kvm_openfiles in -lkvm... " >&6; }