how to install the pre-compiled files?
Hi, I'm thinking to re-install the graph-tool. I've downloaded the precompiled files but don't know how to install them. can anyone tell me how? thanks! Dan
Hi Dan, you don't really need to install them. The library can be in any directory in your python module path. However, the simplest thing is to have it in the same directory as graph-tool Then, if the directory is not in your path, you call the program from inside that directory with ./graph-tool or giving the complete path to that directory Otherwise you can put the executable and the library in a directory that is in your path (if you type echo $PATH in a terminal window you have the list), for instance you can put both in /home/Dan(or whichever your home dir is)/bin This way you will be able to call the executable with graph-tool, instead of ./graph-tool If you want them to be accessible to every user you will choose /usr/local/bin (and again you can put the library in this same directory or in a different one as long as the other directory is in the python module path) At least, this works for me. Cheers, Andrea On Sunday 30 September 2007, Dan wrote:
Hi,
I'm thinking to re-install the graph-tool. I've downloaded the precompiled files but don't know how to install them. can anyone tell me how?
thanks!
Dan
Hi Andrea, I copied the precompiled files in my graph-tool folder (the folder where I unpacked the files into). When I run './graph-tool', I got the error: dan@dan-ubuntu:~/graph-tool-1.1.2$ ./graph-tool Traceback (most recent call last): File "./graph-tool", line 24, in <module> from libgraph_tool import * ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/dan/graph-tool-1.1.2/libgraph_tool.so) I've no idea how to deal with it. Many thanks! Dan <html><DIV><FONT face="Geneva, Arial, Sans-serif" size=2><STRONG><EM>Dan</EM></STRONG></FONT><IMG height=2 src="http://graphics.hotmail.com/greypixel.gif" width="100%" vspace=9></DIV> <DIV><FONT size=1>MIT.Engineering.MelbUni</FONT></DIV> <DIV><FONT size=1>Welcome to my homepage:</FONT></DIV> <DIV><A href="http://www.student.unimelb.edu.au/xiaodanl/"><FONT size=1>http://www.student.unimelb.edu.au/xiaodanl/</FONT></A></DIV> <DIV><A href="http://ariport.unimelb.edu.au/blog/"><FONT size=1>http;//ariport.unimelb.edu.au/blog/</FONT></A></DIV> <DIV> <DIV><FONT size=1>"It is a testament of esteem."</FONT></DIV> <DIV><FONT size=1>"Self-discovery."</FONT></DIV> <DIV><FONT size=1></FONT> </DIV></DIV></html>
From: Andrea Perna <perna@cict.fr> Reply-To: Main discussion list for the graph-tool project<graph-tool@forked.de> To: Main discussion list for the graph-tool project <graph-tool@forked.de> Subject: Re: [graph-tool] how to install the pre-compiled files? Date: Sun, 30 Sep 2007 09:13:13 +0200
Hi Dan, you don't really need to install them. The library can be in any directory in your python module path. However, the simplest thing is to have it in the same directory as graph-tool
Then, if the directory is not in your path, you call the program from inside that directory with ./graph-tool or giving the complete path to that directory
Otherwise you can put the executable and the library in a directory that is in your path (if you type echo $PATH in a terminal window you have the list), for instance you can put both in /home/Dan(or whichever your home dir is)/bin This way you will be able to call the executable with graph-tool, instead of ./graph-tool
If you want them to be accessible to every user you will choose /usr/local/bin (and again you can put the library in this same directory or in a different one as long as the other directory is in the python module path)
At least, this works for me.
Cheers, Andrea
On Sunday 30 September 2007, Dan wrote:
Hi,
I'm thinking to re-install the graph-tool. I've downloaded the precompiled files but don't know how to install them. can anyone tell me how?
thanks!
Dan
_______________________________________________ graph-tool mailing list graph-tool@forked.de http://lists.forked.de/mailman/listinfo/graph-tool
_________________________________________________________________ Advertisement: It's simple! Sell your car for just $30 at CarPoint.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2...
I don't have any idea. Do you have libstdc++ installed? (I guess yes). For simplicity, have you tried the precompiled static version of graph-tool? Cheers, Andrea On Monday 01 October 2007, Daniel LIU wrote:
Hi Andrea,
I copied the precompiled files in my graph-tool folder (the folder where I unpacked the files into). When I run './graph-tool', I got the error:
dan@dan-ubuntu:~/graph-tool-1.1.2$ ./graph-tool Traceback (most recent call last): File "./graph-tool", line 24, in <module> from libgraph_tool import * ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/dan/graph-tool-1.1.2/libgraph_tool.so)
I've no idea how to deal with it.
Many thanks!
Dan
<html><DIV><FONT face="Geneva, Arial, Sans-serif" size=2><STRONG><EM>Dan</EM></STRONG></FONT><IMG height=2 src="http://graphics.hotmail.com/greypixel.gif" width="100%" vspace=9></DIV> <DIV><FONT size=1>MIT.Engineering.MelbUni</FONT></DIV> <DIV><FONT size=1>Welcome to my homepage:</FONT></DIV> <DIV><A href="http://www.student.unimelb.edu.au/xiaodanl/"><FONT size=1>http://www.student.unimelb.edu.au/xiaodanl/</FONT></A></DIV> <DIV><A href="http://ariport.unimelb.edu.au/blog/"><FONT size=1>http;//ariport.unimelb.edu.au/blog/</FONT></A></DIV> <DIV> <DIV><FONT size=1>"It is a testament of esteem."</FONT></DIV> <DIV><FONT size=1>"Self-discovery."</FONT></DIV> <DIV><FONT size=1></FONT> </DIV></DIV></html>
From: Andrea Perna <perna@cict.fr> Reply-To: Main discussion list for the graph-tool project<graph-tool@forked.de> To: Main discussion list for the graph-tool project <graph-tool@forked.de> Subject: Re: [graph-tool] how to install the pre-compiled files? Date: Sun, 30 Sep 2007 09:13:13 +0200
Hi Dan, you don't really need to install them. The library can be in any directory in your python module path. However, the simplest thing is to have it in the same directory as graph-tool
Then, if the directory is not in your path, you call the program from inside that directory with ./graph-tool or giving the complete path to that directory
Otherwise you can put the executable and the library in a directory that is in your path (if you type echo $PATH in a terminal window you have the list), for instance you can put both in /home/Dan(or whichever your home dir is)/bin This way you will be able to call the executable with graph-tool, instead of ./graph-tool
If you want them to be accessible to every user you will choose /usr/local/bin (and again you can put the library in this same directory or in a different one as long as the other directory is in the python module path)
At least, this works for me.
Cheers, Andrea
On Sunday 30 September 2007, Dan wrote:
Hi,
I'm thinking to re-install the graph-tool. I've downloaded the
precompiled
files but don't know how to install them. can anyone tell me how?
thanks!
Dan
_______________________________________________ graph-tool mailing list graph-tool@forked.de http://lists.forked.de/mailman/listinfo/graph-tool
_________________________________________________________________ Advertisement: It's simple! Sell your car for just $30 at CarPoint.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide% 2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2F ai%5F859641&_t=762955845&_r=tig_SEP07&_m=EXT
_______________________________________________ graph-tool mailing list graph-tool@forked.de http://lists.forked.de/mailman/listinfo/graph-tool
On 10/01/2007 05:16 AM, Daniel LIU wrote:
Hi Andrea,
I copied the precompiled files in my graph-tool folder (the folder where I unpacked the files into). When I run './graph-tool', I got the error:
dan@dan-ubuntu:~/graph-tool-1.1.2$ ./graph-tool Traceback (most recent call last): File "./graph-tool", line 24, in <module> from libgraph_tool import * ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/dan/graph-tool-1.1.2/libgraph_tool.so)
I've no idea how to deal with it.
Hi Dan. Which version of GCC do you have installed? Cheers, Tiago -- Tiago de Paula Peixoto <tiago@forked.de> 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
dan@dan-ubuntu:~$ gcc --version gcc.real (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Thanks. Dan <html><DIV><FONT face="Geneva, Arial, Sans-serif" size=2><STRONG><EM>Dan</EM></STRONG></FONT><IMG height=2 src="http://graphics.hotmail.com/greypixel.gif" width="100%" vspace=9></DIV> <DIV><FONT size=1>MIT.Engineering.MelbUni</FONT></DIV> <DIV><FONT size=1>Welcome to my homepage:</FONT></DIV> <DIV><A href="http://www.student.unimelb.edu.au/xiaodanl/"><FONT size=1>http://www.student.unimelb.edu.au/xiaodanl/</FONT></A></DIV> <DIV><A href="http://ariport.unimelb.edu.au/blog/"><FONT size=1>http;//ariport.unimelb.edu.au/blog/</FONT></A></DIV> <DIV> <DIV><FONT size=1>"It is a testament of esteem."</FONT></DIV> <DIV><FONT size=1>"Self-discovery."</FONT></DIV> <DIV><FONT size=1></FONT> </DIV></DIV></html>
From: Tiago de Paula Peixoto <tiago@forked.de> Reply-To: Main discussion list for the graph-tool project<graph-tool@forked.de> To: Main discussion list for the graph-tool project <graph-tool@forked.de> Subject: Re: [graph-tool] how to install the pre-compiled files? Date: Mon, 01 Oct 2007 14:50:11 -0300
On 10/01/2007 05:16 AM, Daniel LIU wrote:
Hi Andrea,
I copied the precompiled files in my graph-tool folder (the folder where I unpacked the files into). When I run './graph-tool', I got the error:
dan@dan-ubuntu:~/graph-tool-1.1.2$ ./graph-tool Traceback (most recent call last): File "./graph-tool", line 24, in <module> from libgraph_tool import * ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/dan/graph-tool-1.1.2/libgraph_tool.so)
I've no idea how to deal with it.
Hi Dan.
Which version of GCC do you have installed?
Cheers, Tiago
-- Tiago de Paula Peixoto <tiago@forked.de>
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
<< signature.asc >>
_______________________________________________ graph-tool mailing list graph-tool@forked.de http://lists.forked.de/mailman/listinfo/graph-tool
_________________________________________________________________ Advertisement: Your Future Starts Here. Dream it? Then be it! Find it at www.seek.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2F...
On 10/02/2007 08:22 AM, Daniel LIU wrote:
dan@dan-ubuntu:~$ gcc --version gcc.real (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I used GCC 4.2.0 for the pre-compiled release, and that must be why it doesn't find the correct symbols. I'm afraid you'll either have to try the statically compiled version, or compile your own, which shouldn't be too hard (provided you have enough ram). Cheers. -- Tiago de Paula Peixoto <tiago@forked.de> 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
participants (4)
-
Andrea Perna -
Dan -
Daniel LIU -
Tiago de Paula Peixoto