[clamav-users] [Clamav-devel] ClamAV® blog: ClamAV 0.103.0 released!
Gary R. Schmidt
grschmidt at acm.org
Tue Sep 15 12:24:03 UTC 2020
On 14/09/2020 23:36, Joel Esler (jesler) wrote:
>
>>
>> https://blog.clamav.net/2020/09/clamav-01030-released.html <https://blog.clamav.net/2020/09/clamav-01030-released.html>
>>
>> ClamAV 0.103.0 released!
>>
>> Please visit the ClamAV Downloads page <https://www.clamav.net/downloads> to get your copy now!
>>
>> ClamAV 0.103.0 highlights
>>
Well, that was entertaining.
It initially didn't even want to configure on my Solaris 11.3 system.
Using gcc 9.3.0, freshly built :-)
$ ./configure \
--disable-ipv6 \
--disable-silent-rules \
--disable-check \
--with-libbz2-prefix=/opt/local \
--prefix=/opt/sandbox
First problem: configure does not recognise
"--with-libbz2-prefix=/opt/local", it tries to use the system's
libbz2.so, which is a bit old.
Second problem:
...
checking that structure packing works... no
configure: error: Structure packing seems to be available, but is not
working with this compiler
Hmm, look at config.log, it can't find libcharset.so.1, sigh, add CFLAGS
and LDFLAGS...
$ ./configure \
CFLAGS=-I/opt/local/include \
LDFLAGS="-L/opt/local/lib -R/opt/local/lib" \
--disable-ipv6 \
--disable-silent-rules \
--disable-check \
--with-libbz2-prefix=/opt/local \
--prefix=/opt/sandbox
Now configure works, and coincidentally it finds the newer libbz2...
Onward!
$ gmake
...
../libtool: eval: line 1731: syntax error near unexpected token `|'
../libtool: eval: line 1731: `/bin/nm -p ../libclammspack/mspack/.libs
/libclammspack_la-cabc.o
../libclammspack/mspack/.libs/libclammspack_la-cabd.o
../libclammspack/mspack/.libs/libclammspack_la-chmc.o
../libclammspack/mspack/.libs/libclammspack_la-chmd.o
../libclammspack/mspack/.libs/libclammspack_la-crc32.o
../libclammspack/mspack/.libs/libclammspack_la-hlpc.o
../libclammspack/mspack/.libs/libclammspack_la-hlpd.o
../libclammspack/mspack/.libs/libclammspack_la-kwajc.o
../libclammspack/mspack/.libs/libclammspack_la-kwajd.o
../libclammspack/mspack/.libs/libclammspack_la-litc.o
../libclammspack/mspack/.libs/libclammspack_la-litd.o
../libclammspack/mspack/.libs/libclammspack_la-lzssd.o
../libclammspack/mspack/.libs/libclammspack_la-lzxc.o
../libclammspack/mspack/.libs/libclammspack_la-lzxd.o
../libclammspack/mspack/.libs/libclammspack_la-mszipc.o
../libclammspack/mspack/.libs/libclammspack_la-mszipd.o
../libclammspack/mspack/.libs/libclammspack_la-oabc.o
../libclammspack/mspack/.libs/libclammspack_la-oabd.o
../libclammspack/mspack/.libs/libclammspack_la-qtmd.o
../libclammspack/mspack/.libs/libclammspack_la-system.o
../libclammspack/mspack/.libs/libclammspack_la-szddc.o
../libclammspack/mspack/.libs/libclammspack_la-szddd.o | | /bin/gsed
's/.* //' | sort | uniq > .libs/libclammspack.exp'
gmake[4]: *** [libclammspack.la] Error 2
Ah, munge configure files for Solaris nm post 2010 or so:
$ for i in `find . -name configure`
do
sed 's/BDRT/BCDRT/' $i > /tmp/configure.$$
mv /tmp/configure.$$ $i
chmod a+x $i
done
Rinse, lather, repeat.
It builds!
$ sudo gmake install
And
$ sudo /opt/sandbox/bin/freshclam -f -F
does the right things! :-)
$ cd clamav-0.103.0/test
$ /opt/sandbox/bin/clamscan -v *
... And lots of "Clamav.Test.File-6 FOUND" messages.
Okay, do I feel lucky, shall I rebuild it and install????
Well, if you don't hear back from me, it worked, or else I've been
drowned in virii :-)
Cheers,
Gary B-)
More information about the clamav-users
mailing list