Richard W.M. Jones
2017-Aug-29 14:16 UTC
[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 "(" > #define PANGO_VERSION_CUR_STABLE (G_ENCODE_VERSION (PANGO_VERSION_MAJOR, PANGO_VERSION_MINOR)) > ^ > /usr/include/pango-1.0/pango/pango-version-macros.h:313:42: note: in expansion of macro 'PANGO_VERSION_CUR_STABLE' > # define PANGO_VERSION_MAX_ALLOWED (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' > #if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_42 > ^ > 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 Rich. -- 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. http://people.redhat.com/~rjones/virt-top
Seemingly Similar Threads
- Re: Regarding libguestfs
- Re: Pango error when compiling virt-p2v on RHEL 7 (was: Re: Regarding libguestfs)
- CESA-2009:0476 Important CentOS 3 i386 pango - security update
- CESA-2009:0476 Important CentOS 3 x86_64 pango - security update
- CESA-2009:0476 Important CentOS 5 i386 pango Update