WebFaction
Community site: login faq

I'm trying to install Pango and Cairo by following the directions here. When I try to configure GLib it goes through a lengthy check before hitting this error:

...
checking for LIBMOUNT... no
checking libmount/libmount.h usability... no
checking libmount/libmount.h presence... no
checking for libmount/libmount.h... no
configure: error: *** Could not find libmount

I've poked around and haven't found a fix.

asked 26 Sep '16, 22:34

bwareham
32259
accept rate: 100%

edited 27 Sep '16, 00:22


The guide that you are referring to was written when our newest systems ran CentOS 6. Your server runs CentOS 7, and the guide didn't work out-of-the-box on that OS when I just tested it.

After some investigation, it turns out that pygtk places its python packages into $HOME/lib64, so this needs to be symlinked to $HOME/lib first in order for the installation to function. I updated the original guide to add ln -s $HOME/lib $HOME/lib64 accordingly.

At this point you can either delete the installed content and reinstall or else move the content currently inside $HOME/lib64 into $HOME/lib. I tested a reinstall, and have verified that all of the imports work now under CentOS 7:

>>> import cairo
>>> import pango
>>> import pangocairo
>>> import glib
>>> import gobject
>>> import pygtk
>>>

Hope that helps!

permanent link

answered 27 Sep '16, 02:15

ryans ♦♦
5.0k93159
accept rate: 43%

edited 27 Sep '16, 02:19

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×102
×44
×3

question asked: 26 Sep '16, 22:34

question was seen: 12,200 times

last updated: 27 Sep '16, 02:19

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM