I am trying to install clamav. When I ran Adept to install clamav I received an error message saying something like "...failed because of dependencies..." or something like that. I could not find a definitive log file for an explanaction.
Since I am running Kubuntu Feisty Fawn I decided to install Klamav and see if that was part of my problem. I did install it, but it said that Klamav was out of date and that I should upgrade, which meant downloading and compiling the source. I procdeded to do that but I received the following error message regarding the compiler--
***** Klamav
***** Running configure (./configure)...
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
* configure: error: C compiler cannot create executables
* See `config.log' for more details.
***** Return value 77
I looked in config.log and here is a portion of that file--
.
.
.
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 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:3423: $? = 0
configure:3430: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:3433: $? = 0
configure:3440: gcc -V >&5
gcc: '-V' option must have argument
configure:3443: $? = 1
configure:3466: checking for C compiler default output file name
configure:3493: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3496: $? = 1
configure:3534: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "klamav"
| #define VERSION "0.1"
| /* end confdefs.h. */
.
.
.
And it apparently points back to gcc. How can a compiler NOT be able to create an executable file??
Any help will be appreciated.
Since I am running Kubuntu Feisty Fawn I decided to install Klamav and see if that was part of my problem. I did install it, but it said that Klamav was out of date and that I should upgrade, which meant downloading and compiling the source. I procdeded to do that but I received the following error message regarding the compiler--
***** Klamav
***** Running configure (./configure)...
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
* configure: error: C compiler cannot create executables
* See `config.log' for more details.
***** Return value 77
I looked in config.log and here is a portion of that file--
.
.
.
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 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:3423: $? = 0
configure:3430: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:3433: $? = 0
configure:3440: gcc -V >&5
gcc: '-V' option must have argument
configure:3443: $? = 1
configure:3466: checking for C compiler default output file name
configure:3493: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3496: $? = 1
configure:3534: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "klamav"
| #define VERSION "0.1"
| /* end confdefs.h. */
.
.
.
And it apparently points back to gcc. How can a compiler NOT be able to create an executable file??
Any help will be appreciated.
Comment