igraph-help
[Top][All Lists]
Advanced

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

[igraph] Python Interface to igraph (0.6 Bzr)


From: Chris Wj
Subject: [igraph] Python Interface to igraph (0.6 Bzr)
Date: Wed, 14 Jan 2009 12:04:12 -0500

I am compiling/installing igraph 0.6 bzr python module and got this error that seems to be an old bug:

python setup.py install
...

gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/igraph -I/usr/local/include/igraph -I/usr/include/python2.4 -c src/graphobject.c -o build/temp.linux-i686-2.4/src/graphobject.o
src/graphobject.c: In function 'igraphmodule_Graph_shortest_paths':
src/graphobject.c:3596: error: incompatible type for argument 4 of 'igraph_shortest_paths_bellman_ford'
src/graphobject.c:3596: error: incompatible type for argument 5 of 'igraph_shortest_paths_bellman_ford'
src/graphobject.c:3596: error: too few arguments to function 'igraph_shortest_paths_bellman_ford'
src/graphobject.c:3598: error: incompatible type for argument 4 of 'igraph_shortest_paths_dijkstra'
src/graphobject.c:3598: error: incompatible type for argument 5 of 'igraph_shortest_paths_dijkstra'
src/graphobject.c:3598: error: too few arguments to function 'igraph_shortest_paths_dijkstra'
error: command 'gcc' failed with exit status 1

I am compiling on CentOS Linux 5.2 32-bit and I compiled and installed the C library successfully.


Previous thread:

I tried your suggestion after realizing that the test suite was failing.
But here is what I get:

Oh, I think that's a bug related to the x86_64 architecture (the same error was reported to me a few weeks ago). The patch is already in the 0.4 tree but I did not make a new release since then. Are you able to recompile igraph if I send you a patched graphobject.c?

Best,
--
T.

reply via email to

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