On 04/12/2010 12:32 AM, Alex wrote:
Hi,
I'm trying to build 0.96 on Linux with an older compiler
what version?
and glibc,
and wondered what the minimum system requirements were? Is this
documented somewhere?
Yes, in docs/clamdoc.pdf
It appears g++ may be too old, as it builds
libclamav/.libs/libclamav_nocxx.a.
C++ (and the JIT) is optional: if you don't have it an interpreter
fallback will be used.
Is this the proper static library
to use for development?
It also appears that libclamav.a, libclamunrar.a, and
libclamunrar_iface.a weren't built. Do these need a later c++ compiler
to build correctly?
By default only the shared libraries are built, you should pass
--enable-static to configure to build the static libraries too.
For static linking libclamav.a should suffice.
libclamunrar can only be built as a shared library (well you can build
it as static library, but you can't dynamically load a static library).
What happened to the contrib directory
It is in the git repository only:
http://git.clamav.net/gitweb?p=clamav-devel.git;a=tree;f=contrib
Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml