On 26/02/2020 20:59, Gary R. Schmidt wrote:
On 26/02/2020 20:31, Martin Preen wrote:
On 26.02.20 10:19, Dawit Mesfin wrote:
Dear Clam team;

I am in the process of installing clam AV on one of Solaris 11 server for testing purpose . I downloaded the package for silaris  and try to install it , unfortunately I couldn't be successful installing it on the server

could you please assist me to do the installation if there is any workaround

Your prompt response is appreciated

I've had no problems building and installing it on Solaris 10/11.
I used something like

  configure --prefix=... --sysconfdir=/etc --datadir=/var/clamav --enable-bigstack   --enable-strni --disable-rpath --disable-clamuko --with-dbdir=/var/clamav
  --with-user=daemon --with-group=other --with-libncurses-prefix=/usr
  --with-openssl=/usr --with-libbz2-prefix=/usr --with-libcurl=/usr --with-pcre=/usr

and environment flags MAKE=/usr/bin/gmake, NM=/usr/bin/gnm, CC=gcc,
  CXX=g++, CFLAGS/CXXFLAGS="-O3"

Some ClamAV version failed to build with the Solaris compiler,
Thus I'm using gcc, but I haven't tested it lately.

The current version builds on Solaris 11.3, using GCC/G++ 9.1.0 and the following:
=====================================================================
export PATH=/usr/local/bin:/bin:/usr/bin:/sbin:/opt/developerstudio12.6/bin:.
# Fix configure files.
echo edit ... find . -name configure replace BDRT with BCDRT

for i in `find . -name configure`
do
         sed 's/BDRT/BCDRT/' $i > /tmp/configure.$$
         mv /tmp/configure.$$ $i
         chmod a+x $i
done

env CONFIG_SHELL=/bin/bash \
         /bin/bash ./configure \
         CONFIG_SHELL=/bin/bash \
         LDFLAGS=-R/opt/local/lib \
         --enable-unrar \
         --disable-ipv6 \
         --disable-silent-rules \
         --disable-check \
         --with-openssl=/opt/local \
         --with-libbz2-prefix=/opt/local \
         --with-libcurl=/opt/local \
         --prefix=/opt/local
=====================================================================

This uses latest version of OpenSSL, cURL, bZIP2, and so on.

And, if you are trying to install from the Oracle repository, it is probably very, very out of date - it looks like it's 0.99.x from here...

CSW has version 1.100.2, which is old, too.

        Cheers,
                Gary    B-)

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to