qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] cannot build qemu with "--static" configure option


From: Mr Dash Four
Subject: Re: [Qemu-devel] cannot build qemu with "--static" configure option
Date: Wed, 23 Nov 2011 19:50:41 +0000
User-agent: Thunderbird 2.0.0.24 (X11/20110312)

> Do you have a static libgthread-2.0? (ie /usr/lib/libgthread-2.0.a or
> equivalent).
Nope, this is what I have:

/usr/lib64/libgthread.so
/usr/lib64/libgthread-2.0.so
/usr/lib64/libgthread-1.2.so.0
/usr/lib64/libgthread-1.2.so.0.0.10

*but*, just downloaded the source rpm and looked at the .spec file. It contains 
the following few lines in the %build section:

%configure --disable-static
[...]
## Unpackaged files
# info
%{__rm} -rf %{buildroot}%{_infodir}
# .la fies... die die die.
%{__rm} -rf %{buildroot}%{_libdir}/lib*.la
# despite use of --disable-static, delete static libs that get built anyway
%{__rm} -rf %{buildroot}%{_libdir}/lib*.a


So, somebody at Fedora doesn't like static (.a) files very much, it seems. I 
could easily correct this, enable static building and have these installed, I 
think.

 If not you need to install it. Similarly you'll need
> a static libglib-2.0.
Here, things are a bit easier - even though I do have the glib2-devel and glib2 
packages installed, looking at the source rpm there is a separate package 
called glib2-static, so I'll just install it and get on with it.

I presume after doing all this I need to rerun the stripped-down version of 
./configure again, right? If so, I'll do just that and let you know how it goes.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]