[Libvir] The fist problem to compile libvirt in a Debian etch.

Daniel P. Berrange berrange at redhat.com
Fri May 4 18:47:31 UTC 2007


On Fri, May 04, 2007 at 03:30:56PM -0300, Marco Sinhoreli wrote:
> Hello list,
> 
> I'm writing a how-to about libvirt compilation in Debian Etch. Well, I tried
> to compile version 0.1.11 in a Debian etch completly newly built from
> debootstrap. These are the steps that I took:
> ----- init commands
> apt-get install make gcc
> # cd /usr/src && wget
> http://libvirt.org/sources/libvirt-cvs-snapshot.tar.gz&& tar -xzvf
> libvirt-cvs-snapshot.tar.gz
> # cd libvirt-0.1.11
> # ./configure
> checking build system type... i686-pc-linux-gnulibc1
> checking host system type... i686-pc-linux-gnulibc1
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> 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.
> # tail config.log
> #define PACKAGE "libvirt"
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_NAME ""
> #define PACKAGE_STRING ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
> #define VERSION "0.1.11"
> 
> configure: exit 77
> ----- finish commands
> 
> I don't know what's the problem.  Ideas please...

Can you attach the complete config.log - the real error is normally quite
a way further up in the file, so tail is not showing it.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list