Problems Install ClamAV

paulonichio

Verified User
Joined
Jul 8, 2019
Messages
68
Hi;

We are trying to enable ClamAV on the server, but we are experiencing the error below:

Code:
www.c: In function 'submit_post':
www.c:200:5: error: unknown type name 'fd_set'
     fd_set readfds;
     ^
  CC       libclamav_la-hostid_internal.lo
make[4]: *** [libclamav_la-www.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libclamav'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/clamav-0.103.2'
make: *** [all] Error 2

[root@server custombuild]# ./build clamav
Downloading clamd...
--2021-04-26 20:14:45-- https://files2.directadmin.com/services/custombuild/clamd
Resolving files2.directadmin.com (files2.directadmin.com)... 185.42.221.168
Connecting to files2.directadmin.com (files2.directadmin.com)|185.42.221.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 840
Saving to: '/usr/local/directadmin/custombuild/clamd'

100%[===========================================================================================================================================================>] 840 --.-K/s in 0s

2021-04-26 20:14:45 (159 MB/s) - '/usr/local/directadmin/custombuild/clamd' saved [840/840]

Downloading clamd_freebsd...
--2021-04-26 20:14:45-- https://files2.directadmin.com/services/custombuild/clamd_freebsd
Resolving files2.directadmin.com (files2.directadmin.com)... 185.42.221.168
Connecting to files2.directadmin.com (files2.directadmin.com)|185.42.221.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 688
Saving to: '/usr/local/directadmin/custombuild/clamd_freebsd'

100%[===========================================================================================================================================================>] 688 --.-K/s in 0s

2021-04-26 20:14:45 (198 MB/s) - '/usr/local/directadmin/custombuild/clamd_freebsd' saved [688/688]

Downloading clamd_debian...
--2021-04-26 20:14:45-- https://files2.directadmin.com/services/custombuild/clamd_debian
Resolving files2.directadmin.com (files2.directadmin.com)... 185.42.221.168
Connecting to files2.directadmin.com (files2.directadmin.com)|185.42.221.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1116 (1.1K)
Saving to: '/usr/local/directadmin/custombuild/clamd_debian'

100%[===========================================================================================================================================================>] 1,116 --.-K/s in 0s

2021-04-26 20:14:46 (293 MB/s) - '/usr/local/directadmin/custombuild/clamd_debian' saved [1116/1116]

Downloading freshclam...
--2021-04-26 20:14:46-- https://files2.directadmin.com/services/custombuild/freshclam
Resolving files2.directadmin.com (files2.directadmin.com)... 185.42.221.168
Connecting to files2.directadmin.com (files2.directadmin.com)|185.42.221.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 904
Saving to: '/usr/local/directadmin/custombuild/freshclam'

100%[===========================================================================================================================================================>] 904 --.-K/s in 0s

2021-04-26 20:14:46 (234 MB/s) - '/usr/local/directadmin/custombuild/freshclam' saved [904/904]

Downloading freshclam_freebsd...
--2021-04-26 20:14:46-- https://files2.directadmin.com/services/custombuild/freshclam_freebsd
Resolving files2.directadmin.com (files2.directadmin.com)... 185.42.221.168
Connecting to files2.directadmin.com (files2.directadmin.com)|185.42.221.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 813
Saving to: '/usr/local/directadmin/custombuild/freshclam_freebsd'

100%[===========================================================================================================================================================>] 813 --.-K/s in 0s

2021-04-26 20:14:47 (221 MB/s) - '/usr/local/directadmin/custombuild/freshclam_freebsd' saved [813/813]

Downloading freshclam_debian...
--2021-04-26 20:14:47-- https://files2.directadmin.com/services/custombuild/freshclam_debian
Resolving files2.directadmin.com (files2.directadmin.com)... 185.42.221.168
Connecting to files2.directadmin.com (files2.directadmin.com)|185.42.221.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1181 (1.2K)
Saving to: '/usr/local/directadmin/custombuild/freshclam_debian'

100%[===========================================================================================================================================================>] 1,181 --.-K/s in 0s

2021-04-26 20:14:47 (290 MB/s) - '/usr/local/directadmin/custombuild/freshclam_debian' saved [1181/1181]

--2021-04-26 20:14:47-- https://files2.directadmin.com/services/exim.clamav.load.conf
Resolving files2.directadmin.com (files2.directadmin.com)... 185.42.221.168
Connecting to files2.directadmin.com (files2.directadmin.com)|185.42.221.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 87 [text/plain]
Saving to: '/etc/exim.clamav.load.conf'

100%[===========================================================================================================================================================>] 87 --.-K/s in 0s

2021-04-26 20:14:47 (22.4 MB/s) - '/etc/exim.clamav.load.conf' saved [87/87]

--2021-04-26 20:14:47-- https://files2.directadmin.com/services/exim.clamav.conf
Resolving files2.directadmin.com (files2.directadmin.com)... 185.42.221.168
Connecting to files2.directadmin.com (files2.directadmin.com)|185.42.221.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 820 [text/plain]
Saving to: '/etc/exim.clamav.conf'

100%[===========================================================================================================================================================>] 820 --.-K/s in 0s

2021-04-26 20:14:48 (220 MB/s) - '/etc/exim.clamav.conf' saved [820/820]

Installing clamav 0.103.2 ...
Found /usr/local/directadmin/custombuild/clamav-0.103.2.tar.gz
Extracting ...
Done.
Configuring clamav 0.103.2 ...
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-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-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... /usr/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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/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-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/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\n
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... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : 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... yes
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/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... no
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/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/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/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/lib64//bind9-export/ /usr/lib64/qt-3.3/lib /usr/local/lib
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... no
checking where to find libltdl headers... -I$(top_srcdir)/libltdl
checking where to find libltdl library... $(top_build_prefix)libltdl/libltdlc.la
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... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for bison... bison -y
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 multiarch libdir... ${exec_prefix}/lib64
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 (4.8.5)
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 strnstr... no
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/bin/ld -m elf_x86_64
checking if the linker (/usr/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
checking for libxml2 installation... /usr/local
checking for xml2-config... /usr/local/bin/xml2-config
checking for xmlreader.h in /usr/local/include/libxml2/libxml/xmlreader.h... found
CPPFLAGS: -I/usr/local/include/libxml2
LD_FLAGS: -L/usr/local/lib -lxml2 -L/usr/lib -lz -liconv -lm -ldl
checking for xmlTextReaderRead in -lxml2... yes
configure: Compiling and linking with libxml2 from /usr/local
checking for OpenSSL installation... /usr
checking for CRYPTO_free in -lcrypto... yes
checking for X509_VERIFY_PARAM_new in -lssl... yes
checking for libjson installation... checking for PCRE... yes
configure: Compiling and linking with pcre2 from pkg-config ( -L/usr/local/lib -lpcre2-8 -I/usr/local/include )
checking whether to enable maintainer-specific portions of Makefiles... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflateEnd in -lz... yes
checking for gzopen in -lz... yes
checking how to link with libbz2... -lbz2
checking for BZ2_bzDecompressInit in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for CVE-2008-1372... ok
checking for CVE-2010-0405... ok
checking for getaddrinfo... yes
checking for SYSTEMD... yes
checking for systemd system unit installation directory... /usr/lib/systemd/system
checking for IPv6 support... yes
checking for resolv.h... yes
checking for dn_expand in std libs... no
checking for dn_expand in -lresolv... yes
checking whether setpgrp takes no argument... yes
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for iconv.h... yes
checking localcharset.h usability... yes
checking localcharset.h presence... yes
checking for localcharset.h... yes
checking for locale_charset... no
checking for locale_charset in -lcharset... yes
checking for pthread.h... (cached) yes
checking whether in_port_t is defined... yes
checking for in_addr_t definition... yes
checking sys/fanotify.h usability... yes
checking sys/fanotify.h presence... yes
checking for sys/fanotify.h... yes
checking for sched_yield... yes
checking for pthread_yield... yes
checking for ctime_r... yes, and it takes 2 arguments
checking for socklen_t... yes
checking for structure packing via __attribute__((packed))... yes
checking for type aligning via __attribute__((aligned))... yes
checking that structure packing works... yes
checking for fd_set... no
checking default FD_SETSIZE value... 256
checking stat64... yes
checking whether signed right shift is sign extended... yes
checking for recvmsg... yes
checking for sendmsg... yes
checking for msg_control field in struct msghdr... yes
checking BSD 4.4 / RFC2292 style fd passing... yes
checking for NCURSES... yes
checking for llvm-config... no
checking LFS safe fts implementation... no
checking for libcurl installation... /usr/local
checking for gawk... (cached) gawk
checking for curl-config... /usr/local/bin/curl-config
./configure: line 30330: auto=yes: command not found
./configure: line 30332: clamonacc_curl: command not found
checking for curl_easy_init in -lcurl... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking for sys/int_types.h... (cached) no
checking for inttypes.h... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libltdl/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating platform.h
config.status: creating clamav-types.h
config.status: creating clamav-version.h
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating shared/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 fuzz/Makefile
config.status: creating clamdtop/Makefile
config.status: creating clambc/Makefile
config.status: creating libfreshclam/Makefile
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 clamonacc/Makefile
config.status: creating clamonacc/clamav-clamonacc.service
config.status: creating docs/man/clamonacc.8
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 Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating platform.h
config.status: creating clamav-types.h
config.status: creating clamav-version.h
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating shared/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 fuzz/Makefile
config.status: creating clamdtop/Makefile
config.status: creating clambc/Makefile
config.status: creating libfreshclam/Makefile
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 clamonacc/Makefile
config.status: creating clamonacc/clamav-clamonacc.service
config.status: creating docs/man/clamonacc.8
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 : no (auto)
fanotify : yes
fdpassing : 1
IPv6 : yes
openssl : /usr
libcurl : /usr/local
configure: Summary of optional tools
clamdtop : yes (-lncurses )
milter : no (missing libmilter) (disabled)
clamsubmit : no (missing libjson-c-dev. Use the website to submit FPs/FNs.) (disabled)
clamonacc : yes (auto)
configure: Summary of engine performance features
release mode: yes
llvm : no (disabled)
mempool : yes
configure: Summary of engine detection features
iconv : yes
bzip2 : ok
zlib : yes (zlib found at /usr)
unrar : yes
preclass : no (missing libjson-c-dev) (disabled)
pcre : pkg-config ( -L/usr/local/lib -lpcre2-8 -I/usr/local/include )
libmspack : yes (Internal)
libxml2 : yes, from /usr/local
yara : yes
fts : yes (internal, libc's is not LFS compatible)
Done Configuration.
Trying to make clamav...
make all-recursive
make[1]: Entering directory `/usr/local/directadmin/custombuild/clamav-0.103.2'
Making all in libltdl
make[2]: Entering directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libltdl'
make all-am
make[3]: Entering directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libltdl'
CC libltdlc_la-lt__alloc.lo
CC libltdlc_la-lt_dlloader.lo
CC libltdlc_la-lt_error.lo
CC libltdlc_la-ltdl.lo
CC libltdlc_la-slist.lo
CC lt__strl.lo
CC loaders/dlopen.lo
CC loaders/libltdlc_la-preopen.lo
CCLD dlopen.la
CCLD libltdlc.la
make[3]: Leaving directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libltdl'
make[2]: Leaving directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libltdl'
Making all in libclamav
make[2]: Entering directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libclamav'
make all-recursive
make[3]: Entering directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libclamav'
make[4]: Entering directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libclamav'
CC libclamav_la-matcher-ac.lo
CC libclamav_la-matcher-bm.lo
CC libclamav_la-matcher-hash.lo
CC libclamav_la-matcher.lo
CC libclamav_la-others.lo
CC libclamav_la-readdb.lo
CC libclamav_la-cvd.lo
CC libclamav_la-dsig.lo
CC libclamav_la-scanners.lo
CC libclamav_la-textdet.lo
CC libclamav_la-filetypes.lo
CC libclamav_la-rtf.lo
CC libclamav_la-blob.lo
CC libclamav_la-mbox.lo
CC libclamav_la-message.lo
CC libclamav_la-table.lo
CC libclamav_la-text.lo
CC libclamav_la-ole2_extract.lo
CC libclamav_la-vba_extract.lo
CC libclamav_la-xlm_extract.lo
CC libclamav_la-msexpand.lo
CC libclamav_la-pe.lo
CC libclamav_la-pe_icons.lo
CC libclamav_la-disasm.lo
CC libclamav_la-upx.lo
CC libclamav_la-htmlnorm.lo
CC libclamav_la-libmspack.lo
CC libclamav_la-rebuildpe.lo
CC libclamav_la-petite.lo
CC libclamav_la-wwunpack.lo
CC libclamav_la-unsp.lo
CC libclamav_la-aspack.lo
CC libclamav_la-packlibs.lo
CC libclamav_la-fsg.lo
CC libclamav_la-mew.lo
CC libclamav_la-upack.lo
CC libclamav_la-line.lo
CC libclamav_la-untar.lo
CC libclamav_la-unzip.lo
CC libclamav_la-ooxml.lo
CC libclamav_la-inflate64.lo
CC libclamav_la-special.lo
CC libclamav_la-binhex.lo
CC libclamav_la-is_tar.lo
CC libclamav_la-tnef.lo
CC libclamav_la-autoit.lo
CC libclamav_la-unarj.lo
CC libclamav_la-pdf.lo
CC libclamav_la-pdfng.lo
CC libclamav_la-pdfdecode.lo
CC libclamav_la-spin.lo
CC libclamav_la-yc.lo
CC libclamav_la-elf.lo
CC libclamav_la-execs.lo
CC libclamav_la-sis.lo
CC libclamav_la-uuencode.lo
CC libclamav_la-phishcheck.lo
CC libclamav_la-phish_domaincheck_db.lo
CC libclamav_la-phish_whitelist.lo
CC libclamav_la-regex_list.lo
CC libclamav_la-regex_suffix.lo
CC libclamav_la-entconv.lo
CC libclamav_la-hashtab.lo
CC libclamav_la-dconf.lo
CC libclamav_la-lzma_iface.lo
CC libclamav_la-7z_iface.lo
CC libclamav_la-explode.lo
CC libclamav_la-textnorm.lo
CC libclamav_la-dlp.lo
CC libclamav_la-uniq.lo
GEN version.h.tmp
CC libclamav_la-mpool.lo
CC libclamav_la-filtering.lo
CC libclamav_la-fmap.lo
CC libclamav_la-perflogging.lo
CC libclamav_la-bytecode.lo
CC libclamav_la-bytecode_vm.lo
CC libclamav_la-cpio.lo
CC libclamav_la-ishield.lo
CC libclamav_la-macho.lo
CC libclamav_la-bytecode_api.lo
CC libclamav_la-bytecode_api_decl.lo
CC libclamav_la-cache.lo
CC libclamav_la-bytecode_detect.lo
CC libclamav_la-events.lo
CC libclamav_la-dmg.lo
CC libclamav_la-adc.lo
CC libclamav_la-xar.lo
CC libclamav_la-xdp.lo
CC libclamav_la-mbr.lo
CC libclamav_la-gpt.lo
CC libclamav_la-apm.lo
CC libclamav_la-partition_intersection.lo
CC libclamav_la-json_api.lo
CC libclamav_la-xz_iface.lo
CC libclamav_la-sf_base64decode.lo
CC libclamav_la-hfsplus.lo
CC libclamav_la-swf.lo
CC libclamav_la-gif.lo
CC libclamav_la-jpeg.lo
CC libclamav_la-png.lo
CC libclamav_la-iso9660.lo
CC libclamav_la-arc4.lo
CC libclamav_la-rijndael.lo
CC libclamav_la-crtmgr.lo
CC libclamav_la-asn1.lo
CC libclamav_la-fpu.lo
CC libclamav_la-stats.lo
CC libclamav_la-www.lo
CC libclamav_la-stats_json.lo
www.c: In function 'connect_host':
www.c:63:5: error: unknown type name 'fd_set'
fd_set read_fds, write_fds;
^
www.c: In function 'submit_post':
www.c:200:5: error: unknown type name 'fd_set'
fd_set readfds;
^
CC libclamav_la-hostid_internal.lo
make[4]: *** [libclamav_la-www.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libclamav'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/directadmin/custombuild/clamav-0.103.2/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/clamav-0.103.2'
make: *** [all] Error 2
[root@servercustombuild]#

The commands we are running for the installation are as follows:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set clamav yes
./build clamav

What could be going on?

Thanks ;)
 
Try. maybe you are using old mirror
Code:
cd /usr/local/directadmin/custombuild
./build set_fastest
./build clean
./build update
./build set clamav yes
./build clamav

What OS and version?
 
Back
Top