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

[Libguestfs] Pango error when compiling virt-p2v on RHEL 7 (was: Re: Regarding libguestfs)

On Tue, Aug 29, 2017 at 01:16:00PM +0000, abinaya manikandan wipro com wrote:
> Hi Team,
> We are trying to build libguestfs-1.34.6 on RHEL7 host.
> We  have installed all the dependencies which is showing while running ./configure command in inside the source code of libguestfs.
> But while running make we are facing below issue:
> /usr/include/pango-1.0/pango/pango-version-macros.h:251:60: error: missing binary operator before token "("
>                                                             ^
> /usr/include/pango-1.0/pango/pango-version-macros.h:313:42: note: in expansion of macro 'PANGO_VERSION_CUR_STABLE'
>                                           ^
> /usr/include/pango-1.0/pango/pango-version-macros.h:623:5: note: in expansion of macro 'PANGO_VERSION_MAX_ALLOWED'
>      ^
> make[2]: *** [virt_p2v-main.o] Error 1
> make[2]: Leaving directory `/root/rpmbuild/BUILD/libguestfs-1.34.6/p2v'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/rpmbuild/BUILD/libguestfs-1.34.6'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.DQIKk5 (%build)

This could really be a bug, but which version of Pango are you using?
Is it the one from RHEL 7 (eg pango-devel-1.40.4-1.el7.x86_64)

Try doing:

  rpm -qf /usr/include/pango-1.0/pango/pango-version-macros.h


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

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