On Tue, Aug 29, 2017 at 01:16:00PM +0000, abinaya.manikandan(a)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)
I couldn't reproduce this error.
If you see it again, please post the *complete log* from compilation,
not just parts of it.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW