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

Re: [Libguestfs] Regarding libguestfs issue



Hi,

Thanks for the help.

Platform details:

[root euca-172-31-15-201 rpmbuild]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)

Now we are facing below issues.

checking Pango flags... -I/opt/libguestfs/x86_64/1.36.1-1.test/deps/include/glib-2.0 -I/opt/libguestfs/x86_64/1.36.1-1.test/deps/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm   -L/opt/libguestfs/x86_64/1.36.1-1.test/deps/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
error: Bad exit status from /var/tmp/rpm-tmp.3wnBJp (%build)

But we have already installed pango on our machine.

[root euca-172-31-15-201 rpmbuild]# rpm -qa | grep pango
pango-1.40.4-1.el7.x86_64
pango-devel-1.40.4-1.el7.x86_64

Please help me on this.

Regards,
Abinaya

-----Original Message-----
From: Pino Toscano [mailto:ptoscano redhat com]
Sent: Monday, August 28, 2017 3:23 PM
To: libguestfs redhat com
Cc: Abinaya Sandhiya Manikandan (GIS) <abinaya manikandan wipro com>
Subject: Re: [Libguestfs] Regarding libguestfs issue

Hi,

On Monday, 28 August 2017 11:38:54 CEST abinaya manikandan wipro com wrote:
> Hi Team,
>
> While building libguestfs_v1.36.1 I am facing below issues:

Note that the latest version of the stable 1.36 series is 1.36.5, so you'd better try building that one.

> configure: error: Package requirements (glib-2.0 >= 2.28.0    atk >= 1.30    pango >= 1.20    cairo >= 1.10.0    cairo-gobject >= 1.10.0    gdk-pixbuf-2.0 >= 2.22.0) were not met:
>
> No package 'cairo-gobject' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables
> BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> error: Bad exit status from /var/tmp/rpm-tmp.3mYpo9 (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.3mYpo9 (%build)
>
> But we have already installed requested version cairo and
> cairo-gobject,
>
> [root euca-172-31-15-201 rpmbuild]# rpm -qa | grep cairo
> cairo-gobject-1.14.8-2.el7.x86_64
> cairo-devel-1.14.8-2.el7.x86_64
> cairo-1.14.8-2.el7.x86_64

Try to install cairo-gobject-devel too?  Also, when reporting a build error, please always specify what is the exact platform you are building on (distribution and its version), and possibly attach the full configure output.

It looks like you are trying to build an RPM, so most probably some of the dependencies used by libguestfs lack some dependency.
In particular, libguestfs does not use cairo-gobject, but gtk3 does, so most probably the gtk3-devel package lacks that dependency.

--
Pino Toscano
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


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