igraph-help
[Top][All Lists]
Advanced

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

[igraph] How install Python-IGraph 0.5.2 into Ubuntu 9.04


From: Domenico Conti
Subject: [igraph] How install Python-IGraph 0.5.2 into Ubuntu 9.04
Date: Thu, 03 Dec 2009 09:19:21 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Hi, I'm Dominico, I'm trying to install igraph python-0.5.2 in Ubuntu 9.04. I saved the folder igraph-python-0.5.2 on the desktop. From the terminal I move in this folder and I type the command:

python setup.py build

But earning a large number of errors like those below:

Include path: /usr/include /usr/local/include
Library path:
/usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
running build
running build_py
running build_ext
building 'igraph.core' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/include -I../../include -I/usr/include/python2.6 -c src/vertexseqobject.c -o build/temp.linux-i686-2.6/src/vertexseqobject.o
In file included from src/vertexseqobject.c:26:
src/vertexseqobject.h:27:20: error: Python.h: Nessun file o directory
In file included from src/vertexseqobject.h:28,
from src/vertexseqobject.c:26:
src/graphobject.h:29:26: error: structmember.h: Nessun file o directory
In file included from src/graphobject.h:30,
from src/vertexseqobject.h:28,
from src/vertexseqobject.c:26:
src/common.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token src/common.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from src/vertexseqobject.h:28,
from src/vertexseqobject.c:26:
src/graphobject.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'igraphmodule_GraphType' src/graphobject.h:40: error: expected specifier-qualifier-list before 'PyObject_HEAD' src/graphobject.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token src/graphobject.h:56: error: expected declaration specifiers or '...' before 'visitproc' src/graphobject.h:58: error: expected declaration specifiers or '...' before 'PyObject' src/graphobject.h:58: error: expected declaration specifiers or '...' before 'PyObject' src/graphobject.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token src/graphobject.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token

(continue in this way)

What can I do? I need help because I need to do work for my thesis.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]