Re: Help :Build error of "configure: error: Package requirements (libxml-2.0 >= 2.6.0) were not met:"

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

 



On Thu, Jun 23, 2016 at 7:14 AM, 小泉 <sjkoizumi@xxxxxxxxx> wrote:
> Hi all
>
> I build virt-viewer for Windows on my fedora based on following instruction.
>
>     Building Instructions/Client
>     http://www.spice-space.org/page/Building_Instructions/Client
>
> I see  "configure: error: Package requirements (libxml-2.0 >= 2.6.0) were
> not met:" error message when I run "mingw32-configure  --prefix=$INST_ROOT".
> But libxml-2.0 already has been installed on my fedora.
> I investigated about this problem for several days. However I could not find
> out good solution.
> Could you please tell me what I should do?
>
> Here is error message:
> [******@localhost virt-viewer]$ mingw32-configure --prefix=$INST_ROOT
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> ---------------------------------------------------
> checking for LIBXML2... no
> configure: error: Package requirements (libxml-2.0 >= 2.6.0) were not met:
>
> No package 'libxml-2.0' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> ---------------------------------------------------
>
> But libxml-2.0 is in my fedora.
> [******@localhost virt-viewer]$ rpm -qa | grep libxml
> python-libxml2-2.9.3-3.fc24.x86_64
> libxml2-static-2.9.3-3.fc24.x86_64
> libxml2-debuginfo-2.9.3-3.fc24.x86_64
> libxml2-devel-2.9.3-3.fc24.x86_64
> libxml2-2.9.3-3.fc24.x86_64
>
> koizumi
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
>

You need mingw{32,64}-libxml2 installed.

In the top dir of your virt-viewer checkout, do: dnf builddep
mingw-virt-viewer.spec
It should be enough for getting all the deps you need.

Best Regards,
-- 
Fabiano Fidêncio
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]