Received: from eggs.gnu.org ([2001:4830:134:3::10]:57914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmLAZ-0002yo-Cb for qemu-devel@nongnu.org; Tue, 11 Jun 2013 05:47:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmLAU-0002mZ-BP for qemu-devel@nongnu.org; Tue, 11 Jun 2013 05:47:15 -0400 Message-ID: <51B6F219.2070401@msgid.tls.msk.ru> Date: Tue, 11 Jun 2013 13:47:05 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1370897240-23490-1-git-send-email-mjt@msgid.tls.msk.ru> <51B63DBE.2010903@msgid.tls.msk.ru> <87li6ht322.fsf@gmail.com> In-Reply-To: <87li6ht322.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH trivial] configure: explicitly disable virtfs if softmmu=no List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "M. Mohan Kumar" Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org 11.06.2013 13:22, M. Mohan Kumar wrote: > Michael Tokarev writes: > >> 11.06.2013 00:47, Michael Tokarev wrote: >>> Or else >>> >>> ./configure --disable-system --enable-virtfs >>> >>> (which makes no sense by its own but does not error out) >>> will fail to build, because it will define CONFIG_VIRTFS, >>> and the makefile will try to build virtfs-proxy-helper >>> manpage (but not the executable). >> >> The build fails in this case in a separate build tree, because ^^^^^^^^^^^^^^^^^^^^^^^^^ >> the fsdev directory is not created and scripts/texi2pod.pl >> will be called with output = fsdev/virtfs-proxy-helper.pod, >> which can't be created because fsdev/ does not exist. >> > > Hi, > > I tried ./configure --disable-system --enable-virtfs and make. But didnt > face any build failure. Could you please share your build failure > information? virtfs-proxy-helper.1 is created inside the fsdev folder. Well, it shouldn't be created to start with ;) But the key component to this is to build in a separate subdir: mkdir build cd build ../configure --disable-system --enable-virtfs make this will fail. It succeeds when run in the source tree because there, fsdev/ dir does exist. But in a separate build dir, when system targets aren't enabled, it isn't created. Thanks, /mjt