graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #02610
Re: [Question #193989]: Unable to install graphite due to pycairo dependecy and compatibility with Python 2.7.3
Question #193989 on Graphite changed:
https://answers.launchpad.net/graphite/+question/193989
Steve Keller proposed the following answer:
Having just gone through this with RHEL 5.8 and Python 2.7.3, I can say
this - you have to install a pycairo version that is the same as the
version of the cairo library you have. For us, with our repos, that was
1.2.4 (cairo) and 1.20 pycairo.
Also, you have to build pycairo, there is no other way to install it on
RHEL 5 using a newer Python. To do this, you have to configure in the
following way, after downloading and untarring the source:
PYTHON=/usr/bin/python2.7 ./configure
If you don't do that, python gets installed in the default Python, 2.4.
Hope this helps.
Note - this was a major pain for me (maybe I'm just dumb), but the
install instructions for pycairo do not include this information, and
there are a couple of places that Google found that have the sequence of
commands wrong.
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.