On 04/27/2011 08:31 PM, James Ralston wrote:
> LLVM (included with ClamAV) can make use of the graphviz and ocaml
> packages, if they are present at compile time.  But for various
> reasons, we want to build ClamAV without these packages.
> 
> From inspecting the sources, I don't believe that ClamAV's use of LLVM
> requires the graphviz/ocaml features of LLVM.  In other words,
> building clamav without graphviz/ocaml shouldn't disable (or break)
> any features of ClamAV.
> 
> Is my assessment correct?

Yes.

If OCaml is installed then LLVM builds OCaml bindings, but ClamAV
doesn't need those, and in fact the LLVM embedded in ClamAV won't build it.
Graphviz is used as a debugging aid in LLVM, i.e. you can view
callgraph/control-flow graphs, etc. Again this is of no direct use in
ClamAV.

So you can build ClamAV without OCaml and graphviz, without any
functionality changes.

Note that the above only applies to ClamAV, the "ClamAV bytecode
compiler" can make use of OCaml, but that is something different.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to