Sorry to post again
Post as many times as you want!
I'm trying to compile graph-tool on my new desktop. I've downloaded the
development source code and I think (or thought!) I have everything needed
for the install.Here's what I do logged in as root:
\./autogen\.sh ./configure --disable-visibility
$make
$make installAll seems to work with no visible errors. However, here's what I get when I
type
$graph-tool --helpTraceback (most recent call last):
File "/usr/local/bin/graph-tool", line 19, in <module>
from graph_tool import *
File "/usr/local/lib/python2.5/site-packages/graph_tool.py", line 26, in
<module>
import libgraph_tool
ImportError: No module named libgraph_toolI must be making a basic mistake somewhere? I've got python 2.5.1 on an
ubuntu 7.10.
It looks like python is not being able to find the module. I think it's
because /usr/local/lib/python2.5/site-packages is not in python's search
path. I would recommend installing graph-tool in /usr instead of
/usr/local, so you don't have to modify python's search path (which
would be OK also). Do the following:
make uninstall \(so you don't have old stuff lying around in your
system\)
./configure --prefix=/usr --disable-visibility
make
make install
Tell me if it works.
Cheers,
Tiago