WARNING: Your ClamAV installation is OUTDATED!

WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.100.2 Recommended version: 0.101.1
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav

clamav has been outdated for over a month now. I’ve been studying the documentation. I have the downloaded source and did the first step.

What are the requirements for opensuse or conflicts? If any… Once it’s compiled, I overwrite the system file. I’m not new to compiling code or coding. Linux specific compiling is all new.

./configure
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether the C++ compiler works... no

Need help with the basics.

I think you used the wrong title because the title “WARNING: Your ClamAV installation is OUTDATED!” (who cares?) has nothing to do with Programming/Scripting.

Something like “Need help in building clamav from sourse” would better cover you need IMHO. And it would draw the attention of people who know how to build. Not those knowing about clamav (only a few in any case).

verify GPG signature. I’m also struggling with how to use the gpg sig. For another message. ‘username’ hidden from public view.

clamav website shows both local install of bin or system install.

I’m studying how on the clamav website.

I checked the gcc is installed - yast software, but the output shows it’s not. Does this have to do with system path?

echo $PATH
/home/username/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/sbin

Drag and drop into clamav source folder into my home/bin folder

~/bin/clamav-0.101.1>

Private installation on local shell account

To install ClamAV locally on an unprivileged shell account you need not create any additional users or groups. Assuming your home directory is /home/gary you should build it as follows:
./configure --prefix=/home/username/clamav --disable-clamav
make; make install

This doesn’t work either.

Hi
The /usr/bin/gcc is a softlink, so depending on the release it is possible to use multiple versions, either via the full binary, via update-altenatives or export CC…

On my Tumbleweed install I see;


ls -la `which gcc`
lrwxrwxrwx 1 root root 5 Jan 30 02:53 /usr/bin/gcc -> gcc-8

So I could use;


gcc
gcc-8
export CC=/usr/bin/gcc-8

So does it error out on the configure command?

According to what is posted,
The g++ compiler is needed, not gcc.

Also, because so many of the other dependencies aren’t detected I suspect the C Development pattern isn’t installed.

TSU

Hi
Same applies for gcc-c++ and the rest of the compilers, lot more needed that just development pattern, look at the spec file, look at the build time configure options run…


   57s] + CFLAGS=-fstack-protector
   57s] + CXXFLAGS=-fstack-protector
   57s] + export 'CFLAGS=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fstack-protector -fPIE -fno-strict-aliasing'
   57s] + CFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fstack-protector -fPIE -fno-strict-aliasing'
   57s] + export 'CXXFLAGS=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fstack-protector -fPIE -fno-strict-aliasing -std=gnu++98'
   57s] + CXXFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fstack-protector -fPIE -fno-strict-aliasing -std=gnu++98'
   57s] + export LDFLAGS=-pie
   57s] + LDFLAGS=-pie
   57s] + CFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fstack-protector -fPIE -fno-strict-aliasing -DFP_64BIT'
   57s] + CFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fstack-protector -fPIE -fno-strict-aliasing -DFP_64BIT'
   57s] + export CFLAGS
   57s] + CXXFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fstack-protector -fPIE -fno-strict-aliasing -std=gnu++98'
   57s] + export CXXFLAGS
   57s] + FFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g'
   57s] + export FFLAGS
   57s] + ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-clamav --disable-static --with-dbdir=/var/lib/clamav --with-user=vscan --with-group=vscan --enable-milter --enable-check --enable-clamdtop --disable-zlib-vcheck --disable-timestamps --disable-yara --with-system-libmspack

I’v installed as many apps I could find from that list. This the results of the command. What else is needed?

Running unit tests

./configure --enable-check
make
make check

./configure --enable-check
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
creating target.h - canonical system defines
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of g++... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s

checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib /usr/local/lib64 /usr/local/lib /usr/lib64/graphviz /usr/lib64/graphviz/sharp /usr/lib64/graphviz/java /usr/lib64/graphviz/perl /usr/lib64/graphviz/php /usr/lib64/graphviz/ocaml /usr/lib64/graphviz/python /usr/lib64/graphviz/lua /usr/lib64/graphviz/tcl /usr/lib64/graphviz/guile /usr/lib64/graphviz/ruby 
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... yes
checking whether lt_dlinterface_register is declared... yes
checking for lt_dladvise_preload in -lltdl... yes
checking where to find libltdl headers... 
checking where to find libltdl library... -lltdl
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for flex... no
checking for lex... no
checking for bison... no
checking for byacc... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for cos in -lm... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for dlfcn.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for memory.h... (cached) yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for C/C++ restrict keyword... __restrict
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for a supported version of gcc... ok (7)
checking for gcc bug PR27603... ok, bug not present
checking for gcc bug PR26763-2... ok, bug not present
checking for valid code generation of CLI_ISCONTAINED... ok, bug not present
checking for gcc bug PR28045... ok, bug not present
checking for gcc bug PR37573... ok, bug not present
checking for off_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of void *... 8
checking for ld --version-script... yes
checking whether uname(2) is POSIX... yes
checking for bind in -lsocket... no
checking for library containing gethostent... none required
checking for poll... yes
checking for setsid... yes
checking for memcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strerror_r... yes
checking for strlcpy... (cached) no
checking for strlcat... (cached) no
checking for strcasestr... yes
checking for inet_ntop... yes
checking for setgroups... yes
checking for initgroups... yes
checking for ctime_r... yes
checking for mkstemp... yes
checking for mallinfo... yes
checking for madvise... yes
checking for getnameinfo... yes
checking for strndup... yes
checking for strnlen... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for working mmap... yes
checking for sysconf(_SC_PAGESIZE)... yes
checking for getpagesize()... yes
checking for MAP_ANON(YMOUS)... MAP_ANONYMOUS
checking for enable_extended_FILE_stdio... no
checking for timegm... yes
checking for sysctlbyname... no
checking for CHECK... no
checking for ld used by GCC... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking check.h usability... no
checking check.h presence... no
checking for check.h... no
configure: unable to compile/link with check
configure: error: 

ERROR!  Check was configured, but not found.  Get it from http://check.sf.net/

command ‘#make’ entered
[text removed]

SKIP: check_clamav
...............................................
PASS: check_freshclam.sh
PASS: check_sigtool.sh
SKIP: check_unit_vg.sh
PASS: check1_clamscan.sh
PASS: check2_clamd.sh
PASS: check3_clamd.sh
PASS: check4_clamd.sh
SKIP: check5_clamd_vg.sh
SKIP: check6_clamd_vg.sh
SKIP: check7_clamd_hg.sh
SKIP: check8_clamd_hg.sh
SKIP: check9_clamscan_vg.sh
................................................
============================================================================
Testsuite summary for ClamAV 0.101.1
============================================================================
# TOTAL: 13
# PASS:  6
# SKIP:  7
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

According to your error,
You likely need to look for a file “check.h”
And if you can’t find it, then do a little research why it’s not there.
There error suggests the check.h functionality might be embedded in something else, but that’s kind of unusual… At least for me, I haven’t seen “check.h” provided in any way other than as its own file.

TSU

Hi
All files from ‘BuildRequires’ from the spec file, would seem you missed check-devel?

No errors. To update the files, I simply overwrite them? with the newer versions. Do I need to do a full install?

[clipped data]

#./configure --enable-check
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking whether we are cross compiling... no
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for dlltool... no
checking if mt is a manifest tool... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking if gcc static flag -static works... no
checking whether -lc should be explicitly linked in... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking whether to build static libraries... no
checking if g++ static flag -static works... no
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for strlcat... no
checking for strlcpy... no
checking for flex... no
checking for lex... no
checking for bison... no
checking for byacc... no
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking whether byte ordering is bigendian... no
checking for bind in -lsocket... no
checking for library containing gethostent... none required
checking for strlcpy... (cached) no
checking for strlcat... (cached) no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for enable_extended_FILE_stdio... no
checking for sysctlbyname... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for dn_expand in std libs... no
checking for libiconv_open in -liconv... no
checking for libiconv_open in -liconv... (cached) no
checking for llvm-config... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for sys/int_types.h... (cached) no
config.status: creating libltdl/Makefile
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamd/clamav-daemon.service
config.status: creating clamd/clamav-daemon.socket
config.status: creating clamdscan/Makefile
config.status: creating clamsubmit/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/clamav-freshclam.service
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating clamconf/Makefile
config.status: creating etc/Makefile
config.status: creating test/Makefile
config.status: creating unit_tests/Makefile
config.status: creating clamdtop/Makefile
config.status: creating clambc/Makefile
config.status: creating libfreshclam/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating platform.h
config.status: creating docs/man/clamav-milter.8
config.status: creating docs/man/clamav-milter.conf.5
config.status: creating docs/man/clambc.1
config.status: creating docs/man/clamconf.1
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/clamdscan.1
config.status: creating docs/man/clamscan.1
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating docs/man/sigtool.1
config.status: creating docs/man/clamdtop.1
config.status: creating docs/man/clamsubmit.1
config.status: creating clamav-types.h
config.status: creating clamav-config.h
config.status: creating libclammspack/config.h
config.status: libclammspack/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libltdl/Makefile
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamd/clamav-daemon.service
config.status: creating clamd/clamav-daemon.socket
config.status: creating clamdscan/Makefile
config.status: creating clamsubmit/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/clamav-freshclam.service
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating clamconf/Makefile
config.status: creating etc/Makefile
config.status: creating test/Makefile
config.status: creating unit_tests/Makefile
config.status: creating clamdtop/Makefile
config.status: creating clambc/Makefile
config.status: creating libfreshclam/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating platform.h
config.status: creating docs/man/clamav-milter.8
config.status: creating docs/man/clamav-milter.conf.5
config.status: creating docs/man/clambc.1
config.status: creating docs/man/clamconf.1
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/clamdscan.1
config.status: creating docs/man/clamscan.1
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating docs/man/sigtool.1
config.status: creating docs/man/clamdtop.1
config.status: creating docs/man/clamsubmit.1
config.status: creating clamav-types.h
config.status: creating libclamav/Makefile
config.status: creating clamav-config.h
config.status: clamav-config.h is unchanged
config.status: creating libclammspack/config.h
config.status: libclammspack/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Summary of detected features follows
              OS          : linux-gnu
              pthreads    : yes (-lpthread)
configure: Summary of miscellaneous features
              check       : -lcheck
              fanotify    : yes
              fdpassing   : 1
              IPv6        : yes
configure: Summary of optional tools
              clamdtop    : -lncurses (auto)
              milter      : yes (disabled)
              clamsubmit  : yes (libjson-c-dev found at /usr), libcurl-devel found at /usr)
configure: Summary of engine performance features
              release mode: yes
              llvm        : no (disabled)
              mempool     : yes
configure: Summary of engine detection features
              bzip2       : ok
              zlib        : /usr
              unrar       : yes
              preclass    : yes (libjson-c-dev found at /usr)
              pcre        : /usr
              libmspack   : yes (Internal)
              libxml2     : yes, from /usr
              yara        : yes
              fts         : yes (libc)


There were a few warnings.

#make
regex_pcre.c:405:44: warning: passing argument 3 of ‘named_substr_print’ from incompatible pointer type -Wincompatible-pointer-types]
             named_substr_print(pd, buffer, ovector);
                                            ^~~~~~~
regex_pcre.c:301:13: note: expected ‘int *’ but argument is of type ‘size_t * {aka long unsigned int *}’
 static void named_substr_print(const struct cli_pcre_data *pd, const unsigned char *buffer, int *ovector)
#make check
Making check in libltdl
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/libltdl'
make  check-am
make[2]: Entering directory '/home/username/bin/clamav-0.101.1/libltdl'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/home/username/bin/clamav-0.101.1/libltdl'
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/libltdl'
Making check in libclamav
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/libclamav'
make  check-recursive
make[2]: Entering directory '/home/username/bin/clamav-0.101.1/libclamav'
make[3]: Entering directory '/home/username/bin/clamav-0.101.1/libclamav'
  GEN      version.h.tmp
  GEN      version.h
make[3]: Leaving directory '/home/username/bin/clamav-0.101.1/libclamav'
make[2]: Leaving directory '/home/username/bin/clamav-0.101.1/libclamav'
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/libclamav'
Making check in clamscan
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/clamscan'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/clamscan'
Making check in clamd
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/clamd'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/clamd'
Making check in clamdscan
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/clamdscan'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/clamdscan'
Making check in freshclam
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/freshclam'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/freshclam'
Making check in sigtool
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/sigtool'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/sigtool'
Making check in clamconf
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/clamconf'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/clamconf'
Making check in database
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/database'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/database'
Making check in docs
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/docs'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/docs'
Making check in etc
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/etc'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/etc'
Making check in clamav-milter
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/clamav-milter'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/clamav-milter'
Making check in test
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/test'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/test'
Making check in clamdtop
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/clamdtop'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/clamdtop'
Making check in clambc
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/clambc'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/clambc'
Making check in unit_tests
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/unit_tests'
make  check_clamav check_clamd check_fpu_endian check_freshclam.sh check_sigtool.sh check_unit_vg.sh check1_clamscan.sh check2_clamd.sh check3_clamd.sh check4_clamd.sh check5_clamd_vg.sh check6_clamd_vg.sh check7_clamd_hg.sh check8_clamd_hg.sh check9_clamscan_vg.sh
make[2]: Entering directory '/home/username/bin/clamav-0.101.1/unit_tests'
cp input/clamav.hdb clamav.hdb
  CC       check_clamav-check_clamav.o
  CC       check_clamav-check_jsnorm.o
  CC       check_clamav-check_str.o
  CC       check_clamav-check_regex.o
  CC       check_clamav-check_disasm.o
  CC       check_clamav-check_uniq.o
  CC       check_clamav-check_matchers.o
  CC       check_clamav-check_htmlnorm.o
  CC       check_clamav-check_bytecode.o
  CCLD     check_clamav
  CC       check_clamd-check_clamd.o
  CCLD     check_clamd
  CC       check_fpu_endian-check_fpu_endian.o
  CCLD     check_fpu_endian
make[2]: Nothing to be done for 'check_freshclam.sh'.
make[2]: Nothing to be done for 'check_sigtool.sh'.
make[2]: Nothing to be done for 'check_unit_vg.sh'.
make[2]: Nothing to be done for 'check1_clamscan.sh'.
make[2]: Nothing to be done for 'check2_clamd.sh'.
make[2]: Nothing to be done for 'check3_clamd.sh'.
make[2]: Nothing to be done for 'check4_clamd.sh'.
make[2]: Nothing to be done for 'check5_clamd_vg.sh'.
make[2]: Nothing to be done for 'check6_clamd_vg.sh'.
make[2]: Nothing to be done for 'check7_clamd_hg.sh'.
make[2]: Nothing to be done for 'check8_clamd_hg.sh'.
make[2]: Nothing to be done for 'check9_clamscan_vg.sh'.
make[2]: Leaving directory '/home/username/bin/clamav-0.101.1/unit_tests'
make  check-TESTS
make[2]: Entering directory '/home/username/bin/clamav-0.101.1/unit_tests'
make[3]: Entering directory '/home/username/bin/clamav-0.101.1/unit_tests'
PASS: check_clamav
PASS: check_freshclam.sh
PASS: check_sigtool.sh
SKIP: check_unit_vg.sh
PASS: check1_clamscan.sh
PASS: check2_clamd.sh
PASS: check3_clamd.sh
PASS: check4_clamd.sh
SKIP: check5_clamd_vg.sh
SKIP: check6_clamd_vg.sh
SKIP: check7_clamd_hg.sh
SKIP: check8_clamd_hg.sh
SKIP: check9_clamscan_vg.sh
make[4]: Entering directory '/home/username/bin/clamav-0.101.1/unit_tests'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/username/bin/clamav-0.101.1/unit_tests'
============================================================================
Testsuite summary for ClamAV 0.101.1
============================================================================
# TOTAL: 13
# PASS:  7
# SKIP:  6
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/home/username/bin/clamav-0.101.1/unit_tests'
make[2]: Leaving directory '/home/username/bin/clamav-0.101.1/unit_tests'
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/unit_tests'
Making check in clamsubmit
make[1]: Entering directory '/home/username/bin/clamav-0.101.1/clamsubmit'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1/clamsubmit'
make[1]: Entering directory '/home/username/bin/clamav-0.101.1'
make[1]: Leaving directory '/home/username/bin/clamav-0.101.1'


Private installation on local shell account

To install ClamAV locally on an unprivileged shell account you need  not create any additional users or groups. Assuming your home directory  is /home/gary you should build it as follows:

      ./configure --prefix=/home/gary/clamav --disable-clamav
    make; make install

These commands don’t work in normal user mode.
In superuser mode, I ran those command successfully. Now, I copy clamscan into the folder to overwrite the file?

I was successful in in compiling clamav. I have new problem, a run-time error. For another day and forum topic.

Thanks everyone for the help.