bzip2 1.0.5 looks kind of old. Can you try a more current version?

On Mon, Dec 7, 2015 at 12:25 PM, <a...@cerist.dz> wrote:

> > Hi Ali,
> >
> > Can you heck to see that you have installed the development versions of
> > bzip2 and check rpms (bzip2-devel-*.rpm / check-devel-*rpm)?
> >
> > Steve
>
> Hi Steve,
>
> I have checked my  installation, and yes the package check was installed
> from source,  the other package bzip2-devel was  already installed: so i
> have launched the installation of the package check from repository
> now
> i can say that both packages are there:
>
> [root@mail clamav-0.99]# rpm -q check check-devel
> check-0.9.8-1.1.el6.i686
> check-devel-0.9.8-1.1.el6.i686
>
> [root@mail clamav-0.99]# rpm -q bzip2 bzip2-devel
> bzip2-1.0.5-7.el6_0.i686
> bzip2-devel-1.0.5-7.el6_0.i686
>
> when i restarted the configuration the error regarding the check module
> disappeared (bravo!)
>
> but unfortunately the second issue is always  there as you can see below:
>
> [root@mail clamav-0.99]# ./configure --enable-llvm --enable-check
> --enable-clamdtop --with-user=clamav --with-group=clamav
> --enable-experimental
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-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... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> checking whether make supports nested variables... yes
> checking for style of include used by make... GNU
> checking for gcc... gcc
> 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 gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... gcc3
> 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/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... 1966080
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu
> format... func_convert_file_noop
> checking how to convert i686-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 ar... ar
> 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 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... 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/bin/ld) 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 which extension is used for runtime loadable modules... .so
> checking which variable specifies run-time module search path...
> LD_LIBRARY_PATH
> checking for the default library search path... /lib /usr/lib
> /usr/lib/mysql /usr/lib/qt-3.3/lib /usr/lib/xulrunner
> 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 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 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 multiarch libdir... ${exec_prefix}/lib
> 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.4.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... 4
> checking size of long long... 8
> checking size of void *... 4
> 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 _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 pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for CHECK... yes
> checking for libxml2 installation... /usr
> checking xml2-config version... 2.7.6
> checking for xmlreader.h in /usr... found
> checking for xmlTextReaderRead in -lxml2... yes
> configure: Compiling and linking with libxml2 from /usr
> checking for OpenSSL installation... /usr
> checking for SSL_library_init in -lssl... yes
> checking for EVP_EncryptInit in -lcrypto... yes
> checking for X509_VERIFY_PARAM_new in -lssl... yes
> checking for libpcre installation... using /usr/local
> checking pcre-config version... 8.36
> checking for CVE-2015-3210... yes
> configure: WARNING: The installed pcre version may contain a security bug.
> Please upgrade to 8.38 or later: http://www.pcre.org.
> checking for pcre.h in /usr/local... checking pcre.h usability... yes
> checking pcre.h presence... yes
> checking for pcre.h... yes
> checking for pcre_compile in -lpcre... yes
> configure: Compiling and linking with libpcre from /usr/local
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for zlib installation... /usr
> 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... linkfailed
> configure: WARNING: ****** Unable to link bzip2 testcase
> configure: WARNING: ****** You may be affected by CVE-2008-1372 bug, but I
> need to be able to link a testcase to verify
> configure: WARNING: ****** It is recommended to fix your build environment
> so that we can run the testcase!
> configure: WARNING: ****** Please do not report stability problems to the
> ClamAV developers!
> checking for CVE-2010-0405... linkfailed
> configure: WARNING: ****** Unable to link bzip2 testcase
> configure: WARNING: ****** You may be affected by CVE-2010-0405 bug, but I
> need to be able to link a testcase to verify
> configure: WARNING: ****** It is recommended to fix your build environment
> so that we can run the testcase!
> configure: WARNING: ****** Please do not report stability problems to the
> ClamAV developers!
> checking for getaddrinfo... no
> checking for IPv6 support... no
> 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 libiconv_open in -liconv... no
> checking for iconv... 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... no
> checking sys/fanotify.h presence... no
> checking for sys/fanotify.h... no
> checking for sched_yield... yes
> checking for pthread_yield... yes
> checking for readdir_r... support disabled
> 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... no
> configure: error: Structure packing seems to be available, but is not
> working with this compiler
>
> [root@mail clamav-0.99]#
> ---------------
> can your see what's wrong here?
> and thank you for help and precious your time
>
>  >
> > On Mon, Dec 7, 2015 at 10:03 AM, <a...@cerist.dz> wrote:
> >
> >> Hello everybody
> >>
> >> I am using Linux Centos6.7 (i686 )
> >> and i am using  clamav as antivirus for my qmail server with other
> >> modules
> >>
> >> today when i was upgrading from clamav-0.98.7 to clamav-0.99
> >>
> >> i got a configuration issue:
> >>
> >>
> >>
> >> [root@mail clamav-0.99]# ./configure --enable-llvm --enable-check
> >> --enable-clamdtop --with-user=clamav --with-group=clamav
> >> --enable-experimental
> >> ...
> >> ...(here i have I removed lines)
> >>
> >> checking for ld used by GCC... /usr/bin/ld
> >> checking if the linker (/usr/bin/ld) is GNU ld... yes
> >> checking for shared library run path origin... done
> >> checking check.h usability... yes
> >> checking check.h presence... yes
> >> checking for check.h... yes
> >> checking linking with check... configure: unable to compile/link with
> >> check
> >> configure: error:
> >>
> >> ERROR!  Check was configured, but not found.  Get it from
> >> http://check.sf.net/
> >>
> >> [root@mail clamav-0.99]#
> >>
> >> even though i have installed the check modules (check-0.10.0 )
> >> i still have the same complaining
> >>
> >> --
> >> i've tried to launch the configuration without the (--enable-check)
> >> option
> >>
> >> i have got  another issue as you can see below
> >>
> >> [root@mail clamav-0.99]# ./configure --enable-llvm --enable-clamdtop
> >> --with-user=clamav --with-group=clamav --enable-experimental
> >> checking build system type... i686-pc-linux-gnu
> >> checking host system type... i686-pc-linux-gnu
> >> checking target system type... i686-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... /bin/mkdir -p
> >> checking for gawk... gawk
> >> checking whether make sets $(MAKE)... yes
> >> checking how to create a ustar tar archive... gnutar
> >> checking whether make supports nested variables... yes
> >> checking for style of include used by make... GNU
> >> checking for gcc... gcc
> >>
> >> .....(here i have I removed lines)
> >>
> >> checking bzlib.h usability... yes
> >> checking bzlib.h presence... yes
> >> checking for bzlib.h... yes
> >> checking for CVE-2008-1372... linkfailed
> >> configure: WARNING: ****** Unable to link bzip2 testcase
> >> configure: WARNING: ****** You may be affected by CVE-2008-1372 bug, but
> >> I
> >> need to be able to link a testcase to verify
> >> configure: WARNING: ****** It is recommended to fix your build
> >> environment
> >> so that we can run the testcase!
> >> configure: WARNING: ****** Please do not report stability problems to
> >> the
> >> ClamAV developers!
> >> checking for CVE-2010-0405... linkfailed
> >> configure: WARNING: ****** Unable to link bzip2 testcase
> >> configure: WARNING: ****** You may be affected by CVE-2010-0405 bug, but
> >> I
> >> need to be able to link a testcase to verify
> >> configure: WARNING: ****** It is recommended to fix your build
> >> environment
> >> so that we can run the testcase!
> >> configure: WARNING: ****** Please do not report stability problems to
> >> the
> >> ClamAV developers!
> >> checking for getaddrinfo... no
> >> checking for IPv6 support... no
> >> 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 libiconv_open in -liconv... no
> >> checking for iconv... 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... no
> >> checking sys/fanotify.h presence... no
> >> checking for sys/fanotify.h... no
> >> checking for sched_yield... yes
> >> checking for pthread_yield... yes
> >> checking for readdir_r... support disabled
> >> 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... no
> >> configure: error: Structure packing seems to be available, but is not
> >> working with this compiler
> >> [root@mail clamav-0.99]#
> >>
> >> and yes bzip2 is installed too
> >>
> >> what seems to be wrong with my system, knowing that the previous
> >> installation(clamav-0.98.7) worked well with the same configuration.
> >>
> >> i will appreciate any help from any body here --
> >> thank you for your time in advance..
> >> (and sorry for my poor english too)
> >>
> >> --
> >> ali atik
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Help us build a comprehensive ClamAV guide:
> >> https://github.com/vrtadmin/clamav-faq
> >>
> >> http://www.clamav.net/contact.html#ml
> >>
> > _______________________________________________
> > Help us build a comprehensive ClamAV guide:
> > https://github.com/vrtadmin/clamav-faq
> >
> > http://www.clamav.net/contact.html#ml
> >
>
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

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

Reply via email to