Hi-- On Nov 4, 2013, at 2:27 PM, lcon...@go2france.com wrote: >> PS: Note that FreeBSD 7.2 went EOL around May 2009. >> Consider upgrading to something newer listed in >> http://www.freebsd.org/security/security.html#sup > > yeah, I know, but 7.2 is working great.
Well, FreeBSD is remarkably stable even if you are running an old version. :-) > upgrading to 9.2 underway, but I thought I'd up clamav on the production > server, figured it would be quick an easy. > > there is no /usr/include/spawn.h, only: > > locate spawn.h > /usr/local/include/glib-2.0/glib/gspawn.h > /usr/local/include/gtk-2.0/gdk/gdkspawn.h OK. I suspect the maintainer of security/clamav hasn't checked this port against FreeBSD-7.x. It looks like the include of spawn.h is guarded via HAVE_POSIX_SPAWN; does your ./configure output include: "checking for posix_spawn... yes" ...if so, after ./configure runs, try to comment out this define: /* Define to 1 if you have the `posix_spawn' function. */ #define HAVE_POSIX_SPAWN 1 ...around line 240 in libclamav/c++/llvm/include/llvm/Config/config.h. Regards, -- -Chuck _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml