Ubuntu 13.10 cannot configure properly
Hi,everyone I have some problems with installing graph-tools. After I execure ./configure graph-tools, it stops with a message saying libstdc++ config.status: executing libtool commands configure: Modifying libtool to correctly link libstdc++ before anything else...I am not fimiliar with Linux...so I don't know how I can I link my libstd to libtool. I install boost-1.55.0 ipython-dev, python with spyder, scipy, numpy, expat, cgal and sparsehash. My OS is Ubuntu 13.10 64bit with gnome 3.10. The Internet access is not good. So I cannot use the sources that you provide. thx for help, Liu -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 01/02/2014 01:44 PM, Liu wrote:
Hi,everyone
I have some problems with installing graph-tools. After I execure ./configure graph-tools, it stops with a message saying libstdc++ config.status: executing libtool commands configure: Modifying libtool to correctly link libstdc++ before anything else...I am not fimiliar with Linux...so I don't know how I can I link my libstd to libtool.
This is not an error message. After the configure script finishes, you have to compile and install the package with "make" and "make install".
I install boost-1.55.0 ipython-dev, python with spyder, scipy, numpy, expat, cgal and sparsehash. My OS is Ubuntu 13.10 64bit with gnome 3.10.
The Internet access is not good. So I cannot use the sources that you provide.
Are you referring to the pre-compiled packages for ubuntu? Why can you download the source but not the binary packages? It is much easier than compiling it by hand. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
Hello, Mr.Tiago de Paula Peixoto, I have installed python-graph-tool with apt-get command. But another problem occurs. When I execute the example, Building a Price Network and then draw the network with graph_draw() function, my python2.7.5 crashs down. It reports that python has a segmentation fault. I have the core dumped. I have installed all requirements to use graph_tool. Is there any wrong setting I made? Or it is a bug? best regards, Liu 在 2014年1月3日星期五UTC+8上午2时20分58秒,Tiago Peixoto写道:
On 01/02/2014 01:44 PM, Liu wrote:
Hi,everyone
I have some problems with installing graph-tools. After I execure ./configure graph-tools, it stops with a message saying libstdc++ config.status: executing libtool commands configure: Modifying libtool to correctly link libstdc++ before anything else...I am not fimiliar with Linux...so I don't know how I can I link my libstd to libtool.
This is not an error message. After the configure script finishes, you have to compile and install the package with "make" and "make install".
I install boost-1.55.0 ipython-dev, python with spyder, scipy, numpy, expat, cgal and sparsehash. My OS is Ubuntu 13.10 64bit with gnome 3.10.
The Internet access is not good. So I cannot use the sources that you provide.
Are you referring to the pre-compiled packages for ubuntu? Why can you download the source but not the binary packages? It is much easier than compiling it by hand.
Best, Tiago
-- Tiago de Paula Peixoto <ti...@skewed.de <javascript:>>
On 01/04/2014 05:34 AM, boxiliu.hust@gmail.com wrote:
Hello, Mr.Tiago de Paula Peixoto,
I have installed python-graph-tool with apt-get command. But another problem occurs. When I execute the example, Building a Price Network and then draw the network with graph_draw() function, my python2.7.5 crashs down. It reports that python has a segmentation fault. I have the core dumped. I have installed all requirements to use graph_tool. Is there any wrong setting I made? Or it is a bug?
I cannot reproduce this with Ubuntu 13.10. Could you provide a minimal but complete example of when you observer the crash? A new version of graph-tool (2.2.28) was released today. Do you observe the crash with this version as well? Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
Hello, Mr.Tiago de Paula Peixoto I am sorry for the late reply. I have not checked Google Forums for a while. It seems that there is something wrong with pre-compiled packages for Ubuntu 13.10 64Bit version. If I complie the source code and install graph-tool, graph_draw() works well under graph-tool 2.27 and graph-tool 2.28 version. But after I install python-graph-tool with apt-get command, graph_draw() fails drawing any graph which has more than 1000 vertexes. Here is the test python code I used: ######################################################## import sys, os from graph_tool.all import * g = load_graph("price.xml.gz") age = g.vertex_properties["age"] graph_draw(g, output_size=(1000, 1000), vertex_color=age, vertex_fill_color=age, vertex_size=1, edge_pen_width=1.2, output="price.png") ######################################################## And the "price.xml.gz" is produced by a example in the documention of graph-tool(http://graph-tool.skewed.de/static/doc/quickstart.html#an-example-building-a...). The attachment also can be used. I hope these may help you. Best, Liu 在 2014年1月5日星期日UTC+8上午12时14分19秒,Tiago Peixoto写道:
On 01/04/2014 05:34 AM, boxili...@gmail.com <javascript:> wrote:
Hello, Mr.Tiago de Paula Peixoto,
I have installed python-graph-tool with apt-get command. But another problem occurs. When I execute the example, Building a Price Network and then draw the network with graph_draw() function, my python2.7.5 crashs down. It reports that python has a segmentation fault. I have the core dumped. I have installed all requirements to use graph_tool. Is there any wrong setting I made? Or it is a bug?
I cannot reproduce this with Ubuntu 13.10. Could you provide a minimal but complete example of when you observer the crash?
A new version of graph-tool (2.2.28) was released today. Do you observe the crash with this version as well?
Best, Tiago
-- Tiago de Paula Peixoto <ti...@skewed.de <javascript:>>
On 02/17/2014 09:54 AM, boxiliu.hust@gmail.com wrote:
Hello, Mr.Tiago de Paula Peixoto
I am sorry for the late reply. I have not checked Google Forums for a while. It seems that there is something wrong with pre-compiled packages for Ubuntu 13.10 64Bit version. If I complie the source code and install graph-tool, graph_draw() works well under graph-tool 2.27 and graph-tool 2.28 version. But after I install python-graph-tool with apt-get command, graph_draw() fails drawing any graph which has more than 1000 vertexes.
What do you mean by failing to draw the graph? I tried the script you sent in Ubuntu 13.10 with graph-tool 2.2.29.1 and I found no problems. See output attached. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
Hello, Mr. Mr.Tiago de Paula Peixoto I tested the example Mr.Klingelschmitt's example. And the same problem occurs with Ubuntu internal error which says python2.7 crashed with SIGSEGV in void get_mapping::operator() and python concole also reports "Python console reports "UMD has deleted: gi.repository.Gtk, gi.repository.Gdk, gi.repository.GdkPixbuf, gi.repository.GLib, gi.repository.GObject, gi.repository.cairo, gi.repository.Atk". I hope these may help. Best, Liu 在 2014年1月5日星期日UTC+8上午12时14分19秒,Tiago Peixoto写道:
On 01/04/2014 05:34 AM, boxili...@gmail.com <javascript:> wrote:
Hello, Mr.Tiago de Paula Peixoto,
I have installed python-graph-tool with apt-get command. But another problem occurs. When I execute the example, Building a Price Network and then draw the network with graph_draw() function, my python2.7.5 crashs down. It reports that python has a segmentation fault. I have the core dumped. I have installed all requirements to use graph_tool. Is there any wrong setting I made? Or it is a bug?
I cannot reproduce this with Ubuntu 13.10. Could you provide a minimal but complete example of when you observer the crash?
A new version of graph-tool (2.2.28) was released today. Do you observe the crash with this version as well?
Best, Tiago
-- Tiago de Paula Peixoto <ti...@skewed.de <javascript:>>
Seems like I have a similiar Problem, using ubuntu 13.10 on a 64-Bit machine. The boost library + python seems to have a Problem, Everything works fine until the first function uses the boos library... my guess. Example: # -*- coding: utf-8 -*- import numpy as np import graph_tool.all as gt import graph_tool.topology as gt_topo G = gt.Graph() G_sub = gt.Graph() #Decleration of needed properties v_prop_entity = G.new_vertex_property("string") v_prop_globalName = G.new_vertex_property('string') e_prop_type = G.new_edge_property('string') #gt_topo.subgraph_isomorphism() v1 = G.add_vertex() v2 = G.add_vertex() v3 = G_sub.add_vertex() e1 = G.add_edge(v1, v2) #v_prop_entity[v1] = 'car' #make internal property maps G.vertex_properties['type'] = v_prop_entity G.vertex_properties['globalName'] = v_prop_globalName G.edge_properties['type'] = e_prop_type G_sub.vertex_properties['type'] = v_prop_entity G_sub.vertex_properties['globalName'] = v_prop_globalName G_sub.edge_properties['type'] = e_prop_type #write/change internal property maps G.vertex_properties['type'][v1] = 'Car' G.vertex_properties['type'][v2] = 'T-Crossing' G_sub.vertex_properties['type'][v1] = 'Car' #gt_topo.subgraph_isomorphism(G_sub, G, (G_sub.vertex_properties['type'], \ # G.vertex_properties['type']) ) print gt_topo.subgraph_isomorphism(G_sub, G) following error: xxx:~/Code$ python graph-tool_test2.py Speicherzugriffsfehler (Speicherabzug geschrieben) which means: memory <http://www.dict.cc/englisch-deutsch/memory.html> access<http://www.dict.cc/englisch-deutsch/access.html> error: The problem occurs, when using the subgraph_isomorphism function... Am Donnerstag, 2. Januar 2014 13:44:21 UTC+1 schrieb Liu:
Hi,everyone
I have some problems with installing graph-tools. After I execure ./configure graph-tools, it stops with a message saying libstdc++ config.status: executing libtool commands configure: Modifying libtool to correctly link libstdc++ before anything else...I am not fimiliar with Linux...so I don't know how I can I link my libstd to libtool.
I install boost-1.55.0 ipython-dev, python with spyder, scipy, numpy, expat, cgal and sparsehash. My OS is Ubuntu 13.10 64bit with gnome 3.10.
The Internet access is not good. So I cannot use the sources that you provide.
thx for help, Liu
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com. _______________________________________________ graph-tool mailing list graph...@skewed.de <javascript:> http://lists.skewed.de/mailman/listinfo/graph-tool
Hello, Mr.Klingelschmitt I have just tested your example on my machine(Ubuntu 13.10 64Bit Gnome 3.10). I compiled the source code of graph-tool v.2.28 and then intalled it. The same problem occurs when using subgraph_isomorphism function. Python console reports "UMD has deleted: gi.repository.Gtk, gi.repository.Gdk, gi.repository.GdkPixbuf, gi.repository.GLib, gi.repository.GObject, gi.repository.cairo, gi.repository.Atk". 在 2014年2月14日星期五UTC+8上午3时13分21秒,Stefan Klingelschmitt写道:
Seems like I have a similiar Problem, using ubuntu 13.10 on a 64-Bit machine. The boost library + python seems to have a Problem, Everything works fine until the first function uses the boos library... my guess. Example:
# -*- coding: utf-8 -*-
import numpy as np import graph_tool.all as gt
import graph_tool.topology as gt_topo
G = gt.Graph()
G_sub = gt.Graph()
#Decleration of needed properties v_prop_entity = G.new_vertex_property("string") v_prop_globalName = G.new_vertex_property('string') e_prop_type = G.new_edge_property('string')
#gt_topo.subgraph_isomorphism()
v1 = G.add_vertex() v2 = G.add_vertex()
v3 = G_sub.add_vertex()
e1 = G.add_edge(v1, v2)
#v_prop_entity[v1] = 'car'
#make internal property maps G.vertex_properties['type'] = v_prop_entity G.vertex_properties['globalName'] = v_prop_globalName G.edge_properties['type'] = e_prop_type
G_sub.vertex_properties['type'] = v_prop_entity G_sub.vertex_properties['globalName'] = v_prop_globalName G_sub.edge_properties['type'] = e_prop_type
#write/change internal property maps G.vertex_properties['type'][v1] = 'Car' G.vertex_properties['type'][v2] = 'T-Crossing'
G_sub.vertex_properties['type'][v1] = 'Car'
#gt_topo.subgraph_isomorphism(G_sub, G, (G_sub.vertex_properties['type'], \ # G.vertex_properties['type']) ) print gt_topo.subgraph_isomorphism(G_sub, G)
following error: xxx:~/Code$ python graph-tool_test2.py Speicherzugriffsfehler (Speicherabzug geschrieben)
which means: memory <http://www.dict.cc/englisch-deutsch/memory.html> access <http://www.dict.cc/englisch-deutsch/access.html> error:
The problem occurs, when using the subgraph_isomorphism function...
Am Donnerstag, 2. Januar 2014 13:44:21 UTC+1 schrieb Liu:
Hi,everyone
I have some problems with installing graph-tools. After I execure ./configure graph-tools, it stops with a message saying libstdc++ config.status: executing libtool commands configure: Modifying libtool to correctly link libstdc++ before anything else...I am not fimiliar with Linux...so I don't know how I can I link my libstd to libtool.
I install boost-1.55.0 ipython-dev, python with spyder, scipy, numpy, expat, cgal and sparsehash. My OS is Ubuntu 13.10 64bit with gnome 3.10.
The Internet access is not good. So I cannot use the sources that you provide.
thx for help, Liu
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com. _______________________________________________ graph-tool mailing list graph...@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
On 02/13/2014 08:13 PM, Stefan Klingelschmitt wrote:
Seems like I have a similiar Problem, using ubuntu 13.10 on a 64-Bit machine. The boost library + python seems to have a Problem, Everything works fine until the first function uses the boos library... my guess.
<...>
The problem occurs, when using the subgraph_isomorphism function...
This seems indeed to be a bug in the subgraph_isomorphism function, but it only occurs if the subgraph contains zero edges. I'll provide a fix soon. (Note that finding a subgraph with zero edges is a silly task, since the result will be trivial.) Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (5)
-
boxiliu.hust@gmail.com -
Liu -
Liu -
Stefan Klingelschmitt -
Tiago de Paula Peixoto