Hi Richard,
Would like to know the importance of p2v directory in libguestfs. Because we could
successfully run the build in rhel6 but in rhel7 it throws all kinds of minor errors.
So is it a good idea to remove gtk+pango thus removing p2v directory?
Please suggest the best way to exclude this pango error.
>>>>
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))
Regards,
Abinaya
-----Original Message-----
From: Richard W.M. Jones [mailto:rjones@redhat.com]
Sent: Tuesday, August 29, 2017 7:56 PM
To: Abinaya Sandhiya Manikandan (GIS) <abinaya.manikandan(a)wipro.com>
Cc: libguestfs(a)redhat.com; Emlyn Jose (GIS) <emlyn.jose(a)wipro.com>
Subject: Re: Pango error when compiling virt-p2v on RHEL 7 (was: Re: [Libguestfs]
Regarding libguestfs)
** This mail has been sent from an external source **
On Tue, Aug 29, 2017 at 02:20:47PM +0000, abinaya.manikandan(a)wipro.com wrote:
Hi,
Yes, We are using pango-devel-1.40.4-1.el7.x86_64.
Please find details below:
>> [root@euca-10-254-11-189 rpmbuild]# rpm -qf
>> /usr/include/pango-1.0/pango/pango-version-macros.h
pango-devel-1.40.4-1.el7.x86_64
Somehow the issue fixed if we remove the pango-devel,
Removing pango-devel most likely disables gtk, thus disabling compilation of virt-p2v.
Which is one way to fix it, but I suppose it depends on if you need virt-p2v ...
but now the issue is different,
>> /opt/autoconf/x86_64/2.69/bin/autoconf: line 505:
>> /opt/autoconf/x86_64/2.69/bin/autom4te:/opt/autoconf/x86_64/2.69/bi
>> n/autom4te:: No such file or directory
automake-1.15: error: autoconf failed with exit status: 127
WARNING: 'automake-1.15' is missing on your system.
As the error message says, automake is missing. I suppose removing pango also removed
automake for whatever reason, or you removed or changed the version of automake while you
were removing pango.
I cannot reproduce the original problem right now, but I'm looking at it.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
https://clicktime.symantec.com/a/1/RfaWKpJjiitkZvrcQ55iIzI7QAy9m0tPN52hu7...
Read my programming and virtualization blog:
https://clicktime.symantec.com/a/1/MS_Vt_w0A9fkbbXBBANKg9ZLqDbmOPA-PncG2X...
virt-df lists disk usage of guests without needing to install any software inside the
virtual machine. Supports Linux and Windows.
https://clicktime.symantec.com/a/1/PHy2CxdtLV8q_hJJQHgxNWUP1Pzqdx7qHTUIuc...
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit
http://www.symanteccloud.com
______________________________________________________________________
The information contained in this electronic message and any attachments to this message
are intended for the exclusive use of the addressee(s) and may contain proprietary,
confidential or privileged information. If you are not the intended recipient, you should
not disseminate, distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments. WARNING: Computer viruses can be
transmitted via email. The recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com