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

abinaya.manikandan at wipro.com abinaya.manikandan at wipro.com
Thu Aug 31 06:53:39 UTC 2017


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 at redhat.com]
Sent: Tuesday, August 29, 2017 7:56 PM
To: Abinaya Sandhiya Manikandan (GIS) <abinaya.manikandan at wipro.com>
Cc: libguestfs at redhat.com; Emlyn Jose (GIS) <emlyn.jose at 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 at wipro.com wrote:
> Hi,
>
> Yes, We are using pango-devel-1.40.4-1.el7.x86_64.
> Please find details below:
>
> >> [root at 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/RfaWKpJjiitkZvrcQ55iIzI7QAy9m0tPN52hu7NpHz8=?d=xUZgS7Ezdo0EgCG6x0kIWMGCvuMfUuJKjaEOi4SjsgibfDJ7taBQBpy3kUl_9o7FzGYBlHHcrO1DH3SS3H1WaPw5qsOYoS6q4x9RE42Ya2ct-hdYqqCLAPpZAQ_KZiy2nHESDgMzB6NSlbxIWq02KEOg-LfMxQY4qU94qPLvlcSwePFiz42s26ii5WYc4VwkZrV3BOfQGPoEbURypaeKlxeNwjPcW6V_GgxKVSYsdtAb3TSZqq6rhL-u5Yp4JaxcJc8g8UTRAhaYIcHMW4nBDXZvx7MsjYzFRV1nd020n83lTAO9SRtFsgXFe-NP3DJ2PkYEU790e-xRyaQbjybes3t3jUeuL3z06nTAeyP_qjEc5DB0LMTF9Q8oVaHYBRbz5OszHdIaSbUABMDWcB2vmgSCw1kVqq1A92nRqaXDdMuJgwifK8Y%3D&u=http%3A%2F%2Fpeople.redhat.com%2F~rjones
Read my programming and virtualization blog: https://clicktime.symantec.com/a/1/MS_Vt_w0A9fkbbXBBANKg9ZLqDbmOPA-PncG2XszflI=?d=xUZgS7Ezdo0EgCG6x0kIWMGCvuMfUuJKjaEOi4SjsgibfDJ7taBQBpy3kUl_9o7FzGYBlHHcrO1DH3SS3H1WaPw5qsOYoS6q4x9RE42Ya2ct-hdYqqCLAPpZAQ_KZiy2nHESDgMzB6NSlbxIWq02KEOg-LfMxQY4qU94qPLvlcSwePFiz42s26ii5WYc4VwkZrV3BOfQGPoEbURypaeKlxeNwjPcW6V_GgxKVSYsdtAb3TSZqq6rhL-u5Yp4JaxcJc8g8UTRAhaYIcHMW4nBDXZvx7MsjYzFRV1nd020n83lTAO9SRtFsgXFe-NP3DJ2PkYEU790e-xRyaQbjybes3t3jUeuL3z06nTAeyP_qjEc5DB0LMTF9Q8oVaHYBRbz5OszHdIaSbUABMDWcB2vmgSCw1kVqq1A92nRqaXDdMuJgwifK8Y%3D&u=http%3A%2F%2Frwmj.wordpress.com
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_hJJQHgxNWUP1Pzqdx7qHTUIucbB_VY=?d=xUZgS7Ezdo0EgCG6x0kIWMGCvuMfUuJKjaEOi4SjsgibfDJ7taBQBpy3kUl_9o7FzGYBlHHcrO1DH3SS3H1WaPw5qsOYoS6q4x9RE42Ya2ct-hdYqqCLAPpZAQ_KZiy2nHESDgMzB6NSlbxIWq02KEOg-LfMxQY4qU94qPLvlcSwePFiz42s26ii5WYc4VwkZrV3BOfQGPoEbURypaeKlxeNwjPcW6V_GgxKVSYsdtAb3TSZqq6rhL-u5Yp4JaxcJc8g8UTRAhaYIcHMW4nBDXZvx7MsjYzFRV1nd020n83lTAO9SRtFsgXFe-NP3DJ2PkYEU790e-xRyaQbjybes3t3jUeuL3z06nTAeyP_qjEc5DB0LMTF9Q8oVaHYBRbz5OszHdIaSbUABMDWcB2vmgSCw1kVqq1A92nRqaXDdMuJgwifK8Y%3D&u=http%3A%2F%2Fpeople.redhat.com%2F~rjones%2Fvirt-df%2F

______________________________________________________________________
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




More information about the Libguestfs mailing list