uname -a
FreeBSD mx1.hctc.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0
cd /usr/ports/security/clamav
cat /usr/ports/security/clamav/distinfo
SHA256 (clamav-0.98.tar.gz)
make
===> Building for clamav-0.98_2
gmake all-recursive
gmake[1]: Entering directory
`/usr/ports/security/clamav/work/clamav-0.98'
Making all in libltdl
gmake[2]: Entering directory
`/usr/ports/security/clamav/work/clamav-0.98/libltdl'
gmake all-am
gmake[3]: Entering directory
`/usr/ports/security/clamav/work/clamav-0.98/libltdl'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.98/libltdl'
gmake[2]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.98/libltdl'
Making all in libclamav
gmake[2]: Entering directory
`/usr/ports/security/clamav/work/clamav-0.98/libclamav'
gmake all-recursive
gmake[3]: Entering directory
`/usr/ports/security/clamav/work/clamav-0.98/libclamav'
Making all in c++
gmake[4]: Entering directory
`/usr/ports/security/clamav/work/clamav-0.98/libclamav/c++'
gmake all-am
gmake[5]: Entering directory
`/usr/ports/security/clamav/work/clamav-0.98/libclamav/c++'
CXX Program.lo
CXX libllvmx86codegen_la-MCObjectStreamer.lo
CXX libllvmx86codegen_la-MCObjectWriter.lo
CXX libllvmx86codegen_la-MachObjectWriter.lo
In file included from llvm/lib/System/Program.cpp:52:
llvm/lib/System/Unix/Program.inc:34:19: error: spawn.h: No such file
or directory
In file included from llvm/lib/System/Program.cpp:52:
llvm/lib/System/Unix/Program.inc:134: error:
'posix_spawn_file_actions_t' has not been declared
llvm/lib/System/Unix/Program.inc: In function 'bool
llvm::RedirectIO_PS(const llvm::sys::Path*, int, std::string*, int&)':
llvm/lib/System/Unix/Program.inc:145: error:
'posix_spawn_file_actions_addopen' was not declared in this scope
llvm/lib/System/Unix/Program.inc: In member function 'bool
llvm::sys::Program::Execute(const llvm::sys::Path&, const char**,
const char**, const llvm::sys::Path**, unsigned int, std::string*)':
llvm/lib/System/Unix/Program.inc:187: error:
'posix_spawn_file_actions_t' was not declared in this scope
llvm/lib/System/Unix/Program.inc:187: error: expected `;' before
'FileActions'
llvm/lib/System/Unix/Program.inc:188: error: 'FileActions' was not
declared in this scope
llvm/lib/System/Unix/Program.inc:188: error:
'posix_spawn_file_actions_init' was not declared in this scope
llvm/lib/System/Unix/Program.inc:202: error:
'posix_spawn_file_actions_adddup2' was not declared in this scope
llvm/lib/System/Unix/Program.inc:217: error: 'posix_spawn' was not
declared in this scope
llvm/lib/System/Unix/Program.inc:219: error:
'posix_spawn_file_actions_destroy' was not declared in this scope
gmake[5]: *** [Program.lo] Error 1
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.98/libclamav/c++'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.98/libclamav/c++'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.98/libclamav'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.98/libclamav'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/security/clamav/work/clamav-0.98'
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to
the maintainer.
*** Error code 1
Stop in /usr/ports/security/clamav.
*** Error code 1
Stop in /usr/ports/security/clamav.
thanks
Len
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml