<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Hi all,<BR>
as part of the Graphite dependencies installation I am stuck on py2cairo.<BR>
I already have installed its dependencies; Pixman and Cairo.<BR>
<BR>
The environment is on a VirtualBox Guest running Debian 8 Jessie<BR>
3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u2 (2016-06-25) x86_64 GNU/Linux<BR>
<BR>
The install has only the Standard System Utilities and the SSH Server plus all the packages that I have installed to meet the Graphite dependencies.<BR>
I have downloaded the source code and read both the README and the INSTALL files supplied and this is where I am up to:<BR>
<BR>
<A HREF="mailto:root@nagios">root@nagios</A>:~/py2cairo-1.10.0# ./waf configure<BR>
./options()<BR>
Setting top to : /root/py2cairo-1.10.0 <BR>
Setting out to : /root/py2cairo-1.10.0/build_directory <BR>
./configure()<BR>
Checking for 'gcc' (c compiler) : ok <BR>
Checking for program python : /usr/bin/python <BR>
Checking for python version : (2, 7, 9, 'final', 0) <BR>
Checking for library python2.7 : yes <BR>
Checking for program python2.7-config : /usr/bin/python2.7-config <BR>
command ['/usr/bin/python', '/usr/bin/python2.7-config', '--includes'] returned 1<BR>
<A HREF="mailto:root@nagios">root@nagios</A>:~/py2cairo-1.10.0# <BR>
<BR>
I have analysed:<BR>
command ['/usr/bin/python', '/usr/bin/python2.7-config', '--includes'] returned 1<BR>
<BR>
and the 'syntax error' is spawned rightly so since the command is using python to execute a bash script file (python2.7-config).<BR>
I have searched for a thread that could lead me to a clarification and also got a colleague involved with more experience than me to not avail.<BR>
<BR>
If I run:<BR>
/usr/bin/python /usr/bin/python2.7-config --includes<BR>
<BR>
then:<BR>
File "/usr/bin/python2.7-config", line 5<BR>
echo "Usage: $0 --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--configdir"<BR>
^<BR>
SyntaxError: invalid syntax<BR>
<BR>
If I run:<BR>
/usr/bin/python2.7-config --includes<BR>
<BR>
then:<BR>
-I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7<BR>
<BR>
Could someone please lead me with some directions in order to install py2cairo?<BR>
Thank you for your time.<BR>
Regards<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<BR>
</TD>
</TR>
</TABLE>
<p align="left"><font color="#333333"><font face="arial,helvetica,sans-serif"><font size="2">This email and its attachments are intended for the above named only and may be confidential. </font></font><font size="2" face="arial,helvetica,sans-serif">If you have received them in error please notify the sender immediately and delete all records </font><font face="arial,helvetica,sans-serif"><font size="2">of the email and its attachments from your computer. </font></font></font><font color="#333333"><font face="arial,helvetica,sans-serif"><font size="2">Unless you are the intended recipient you must not read, copy, distribute, </font></font><font face="arial,helvetica,sans-serif"><font size="2">use or retain this email or any attachments or any part of them. </font></font></font><font color="#333333"><font face="arial,helvetica,sans-serif"><font size="2">Although we aim to use efficient virus checking procedures for emails and a</font></font><font face="arial,helvetica,sans-serif"><font size="2">ttachments we accept no liability for viruses and it is the recipient's </font></font><font face="arial,helvetica,sans-serif"><font size="2">responsibility to ensure they are actually virus free.</font></font></font></p>
</BODY>
</HTML>