From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:36143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTIqF-0007NI-48 for qemu-devel@nongnu.org; Wed, 23 Nov 2011 14:50:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTIqD-0006HH-Ue for qemu-devel@nongnu.org; Wed, 23 Nov 2011 14:50:47 -0500 Received: from mail-dy0-f45.google.com ([209.85.220.45]:63165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTIqD-0006H9-OM for qemu-devel@nongnu.org; Wed, 23 Nov 2011 14:50:45 -0500 Received: by dyj16 with SMTP id 16so136153dyj.4 for ; Wed, 23 Nov 2011 11:50:44 -0800 (PST) Message-ID: <4ECD4E91.9060605@googlemail.com> Date: Wed, 23 Nov 2011 19:50:41 +0000 From: Mr Dash Four MIME-Version: 1.0 References: <4ECCEDFF.1000303@googlemail.com> <4ECD001E.7020707@googlemail.com> <4ECD103C.60406@redhat.com> <4ECD140C.7060102@googlemail.com> <4ECD34BD.4010803@redhat.com> <4ECD3C93.7010307@googlemail.com> <4ECD3E9D.4090001@googlemail.com> <4ECD432A.4000008@googlemail.com> <4ECD47DD.90701@googlemail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] cannot build qemu with "--static" configure option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , qemu-devel@nongnu.org > 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.