Ubuntu 14.04 : Installation de antivirus clamav-0.98.4

Fermé
Arno59 Messages postés 4600 Date d'inscription jeudi 23 octobre 2003 Statut Contributeur Dernière intervention 18 avril 2023 - Modifié par Arno59 le 19/08/2014 à 20:49
Arno59 Messages postés 4600 Date d'inscription jeudi 23 octobre 2003 Statut Contributeur Dernière intervention 18 avril 2023 - 19 août 2014 à 21:03
Bonjour,

Je viens de récupérer la dernière version de ClamAV Site :http://www.clamav.net/

Installation de clamav-0.98.4 :
/usr/local/clamav-0.98.4#
./configure 
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... no
configure: error: in '/usr/local/clamav-0.98.4':
configure: error: C compiler cannot create executables
See 'config.log' for more details

--> Comment se fait-il que l'étape de configuration plante ?

Fichier : config.log
$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = arnaud-laptop
uname -m = i686
uname -r = 3.13.0-34-generic
uname -s = Linux
uname -v = #60-Ubuntu SMP Wed Aug 13 15:49:09 UTC 2014

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games

## Core tests. ##
## ----------- ##

configure:2556: checking build system type
configure:2570: result: i686-pc-linux-gnu
configure:2590: checking host system type
configure:2603: result: i686-pc-linux-gnu
configure:2623: checking target system type
configure:2636: result: i686-pc-linux-gnu
configure:2720: result: creating target.h - canonical system defines
configure:2867: checking for a BSD-compatible install
configure:2935: result: /usr/bin/install -c
configure:2946: checking whether build environment is sane
configure:2996: result: yes
configure:3137: checking for a thread-safe mkdir -p
configure:3176: result: /bin/mkdir -p
configure:3189: checking for gawk
configure:3205: found /usr/bin/gawk
configure:3216: result: gawk
configure:3227: checking whether make sets $(MAKE)
configure:3249: result: yes
configure:3315: checking how to create a ustar tar archive
configure:3328: tar --version
tar (GNU tar) 1.27.1

Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

configure:3331: $? = 0
configure:3371: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3374: $? = 0
configure:3378: tar -xf - <conftest.tar
configure:3381: $? = 0
configure:3394: result: gnutar
configure:3412: checking whether make supports nested variables
configure:3429: result: yes
configure:3456: checking for style of include used by make
configure:3484: result: GNU

configure:3555: checking for gcc
configure:3571: found /usr/local/bin/gcc
configure:3582: result: gcc
configure:3811: checking for C compiler version
configure:3820: gcc --version >&5
gcc (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3831: $? = 0
configure:3820: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
Target: i686-pc-linux-gnu
Configured with: ./configure
Thread model: posix
gcc version 4.8.2 (GCC)
configure:3831: $? = 0
configure:3820: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3831: $? = 1
configure:3820: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3831: $? = 1
configure:3851: checking whether the C compiler works
configure:3873: gcc conftest.c >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:3877: $? = 1
configure:3915: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ClamAV"
| #define PACKAGE_TARNAME "clamav"
| #define PACKAGE_VERSION "0.98.4"
| #define PACKAGE_STRING "ClamAV 0.98.4"
| #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
| #define PACKAGE_URL "http://www.clamav.net/"
| #define PACKAGE PACKAGE_NAME
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3920: error: in '/usr/local/clamav-0.98.4':
configure:3922: error: C compiler cannot create executables
See 'config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/local/clamav-0.98.4/config/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR=''
ARGZ_H=''
AUTOCONF='${SHELL} /usr/local/clamav-0.98.4/config/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/local/clamav-0.98.4/config/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/local/clamav-0.98.4/config/missing --run automake-1.11'
AWK='gawk'
BUILD_CLAMD_FALSE=''
BUILD_CLAMD_TRUE=''
BUILD_CONFIGURE_FLAGS=''
CC='gcc'
CCDEPMODE=''
CFGDIR=''
CFLAGS=''
CHECK_CPPFLAGS=''
CHECK_LIBS=''
CLAMAVGROUP=''
CLAMAVUSER=''
CLAMAV_MILTER_CPPFLAGS=''
CLAMAV_MILTER_LIBS=''
CLAMBC_CPPFLAGS=''
CLAMBC_LIBS=''
CLAMCONF_CPPFLAGS=''
CLAMCONF_LIBS=''
CLAMDSCAN_CPPFLAGS=''
CLAMDSCAN_LIBS=''
CLAMDTOP_CPPFLAGS=''
CLAMDTOP_LIBS=''
CLAMD_CPPFLAGS=''
CLAMD_LIBS=''
CLAMMEM_CPPFLAGS=''
CLAMMEM_LIBS=''
CLAMSCAN_CPPFLAGS=''
CLAMSCAN_LIBS=''
CLAMSUBMIT_CFLAGS=''
CLAMSUBMIT_LIBS=''
CONVENIENCE_LTDL_FALSE=''
CONVENIENCE_LTDL_TRUE=''
CPP=''
CPPFLAGS=''
CURSES_CPPFLAGS=''
CURSES_LIBS=''
CYGPATH_W='echo'
DBDIR=''
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_CLAMSUBMIT_FALSE=''
ENABLE_CLAMSUBMIT_TRUE=''
ENABLE_COVERAGE_FALSE=''
ENABLE_COVERAGE_TRUE=''
ENABLE_LLVM_FALSE=''
ENABLE_LLVM_TRUE=''
ENABLE_UNRAR_FALSE=''
ENABLE_UNRAR_TRUE=''
EXEEXT=''
FGREP=''
FRESHCLAM_CPPFLAGS=''
FRESHCLAM_LIBS=''
GCOV=''
GENHTML=''
GETENT=''
GPERF=''
GREP=''
HAVE_CURSES_FALSE=''
HAVE_CURSES_TRUE=''
HAVE_LIBBZ2_FALSE=''
HAVE_LIBBZ2_TRUE=''
HAVE_LIBCHECK_FALSE=''
HAVE_LIBCHECK_TRUE=''
HAVE_LIBXML2_FALSE=''
HAVE_LIBXML2_TRUE=''
HAVE_MILTER_FALSE=''
HAVE_MILTER_TRUE=''
INCLTDL=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_LTDL_FALSE=''
INSTALL_LTDL_TRUE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LCOV=''
LD=''
LDFLAGS=''
LIBADD_DL=''
LIBADD_DLD_LINK=''
LIBADD_DLOPEN=''
LIBADD_SHL_LOAD=''
LIBBZ2=''
LIBBZ2_PREFIX=''
LIBCLAMAV_CPPFLAGS=''
LIBCLAMAV_LIBS=''
LIBCLAMAV_VERSION=''
LIBCLAMSHARED_CPPFLAGS=''
LIBLTDL=''
LIBM=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTDLDEPS=''
LTDLINCL=''
LTDLOPEN=''
LTLIBBZ2=''
LTLIBOBJS=''
LT_CONFIG_H=''
LT_DLLOADERS=''
LT_DLPREOPEN=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /usr/local/clamav-0.98.4/config/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='clamav'
PACKAGE_BUGREPORT='http://bugs.clamav.net/'
PACKAGE_NAME='ClamAV'
PACKAGE_STRING='ClamAV 0.98.4'
PACKAGE_TARNAME='clamav'
PACKAGE_URL='http://www.clamav.net/'
PACKAGE_VERSION='0.98.4'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SIGTOOL_CPPFLAGS=''
SSL_CPPFLAGS=''
SSL_LDFLAGS=''
SSL_LIBS=''
STRIP=''
THREAD_LIBS=''
TH_SAFE=''
VERSION='0.98.4'
VERSIONSCRIPTFLAG=''
VERSIONSCRIPT_FALSE=''
VERSIONSCRIPT_TRUE=''
WERR_CFLAGS=''
WERR_CFLAGS_MILTER=''
XML_CPPFLAGS=''
XML_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /usr/local/clamav-0.98.4/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
ltdl_LIBOBJS=''
ltdl_LTLIBOBJS=''
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sys_symbol_underscore=''
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "ClamAV"
#define PACKAGE_TARNAME "clamav"
#define PACKAGE_VERSION "0.98.4"
#define PACKAGE_STRING "ClamAV 0.98.4"
#define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
#define PACKAGE_URL "http://www.clamav.net/"
#define PACKAGE PACKAGE_NAME

Présence de build-essential

apt-get install build-essential
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
build-essential est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 4 non mis à jour.


Version de GCC :
gcc --version
gcc (GCC) 4.8.2
Copyright © 2013 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de copie. Il n'y a PAS
GARANTIE; ni implicite pour le MARCHANDAGE ou pour un BUT PARTICULIER.

D'avance merci

L'Open source répond à la liberté de choix du consommateur du XXIe siècle
A voir également:

2 réponses

3m1x4m Messages postés 47 Date d'inscription lundi 18 août 2014 Statut Membre Dernière intervention 23 août 2014 5
19 août 2014 à 20:38
Peux-tu mettre le contenu du fichier config.log ?
0
Arno59 Messages postés 4600 Date d'inscription jeudi 23 octobre 2003 Statut Contributeur Dernière intervention 18 avril 2023 485
19 août 2014 à 21:03
Bonsoir,

Je l'ai ajouté à mon précédent post.
0