Hi!
I just failed to compile the latest graph-tool svn with gml enabled. The log of the compiler is enclosed. My system is
Mac OSX Lion, boost 1.47.0 python 2.7.1 from Apple, gcc 4.2 compiler
The 2.2.15 version finished flawlessly to compile. BTW, what about the macports graph-tool port? Is it known to work? What compiler, which boost, and what python version is required? MacOS is a mess in this regard…
Cheers,
Hi Sebastian,
On 12/27/2011 05:18 AM, Sebastian Weber wrote:
Hi!
I just failed to compile the latest graph-tool svn with gml enabled. The log of the compiler is enclosed. My system is
Mac OSX Lion, boost 1.47.0 python 2.7.1 from Apple, gcc 4.2 compiler
This is a problem (incompatibility) with boost 1.47... You have to keep version 1.46, until I fix this (I'm still waiting for boost 1.47 on my platform).
The 2.2.15 version finished flawlessly to compile. BTW, what about the macports graph-tool port? Is it known to work? What compiler, which boost, and what python version is required? MacOS is a mess in this regard…
It should work well with the setup above, except for boost 1.47.
Cheers, Tiago
-- Tiago de Paula Peixoto tiago@skewed.de
Hi!
I tried 1.46.1 as well, no luck here either. BTW, it would be really cool, if you could write somewhere down the version which you are currently using. I am always guessing by checking what gentoo has in their repositories. boost versions are really always a hassle.
Cheers,
Sebastian
Am 27.12.2011 um 17:35 schrieb Tiago de Paula Peixoto:
Hi Sebastian,
On 12/27/2011 05:18 AM, Sebastian Weber wrote:
Hi!
I just failed to compile the latest graph-tool svn with gml enabled. The log of the compiler is enclosed. My system is
Mac OSX Lion, boost 1.47.0 python 2.7.1 from Apple, gcc 4.2 compiler
This is a problem (incompatibility) with boost 1.47... You have to keep version 1.46, until I fix this (I'm still waiting for boost 1.47 on my platform).
The 2.2.15 version finished flawlessly to compile. BTW, what about the macports graph-tool port? Is it known to work? What compiler, which boost, and what python version is required? MacOS is a mess in this regard…
It should work well with the setup above, except for boost 1.47.
Cheers, Tiago
-- Tiago de Paula Peixoto tiago@skewed.de
graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
On 12/27/2011 02:51 PM, Sebastian Weber wrote:
Hi!
I tried 1.46.1 as well, no luck here either.
Are the error messages exactly the same?
Cheers, Tiago
-- Tiago de Paula Peixoto tiago@skewed.de
I did not do a diff, but they looked very similar, yes. Sorry, that I did not keep it, but once I saw gentoo is with boost 1.47 I tried that and compilation almost takes a day…
I will try it again with the fixed version.
Am 27.12.2011 um 21:42 schrieb Tiago de Paula Peixoto:
On 12/27/2011 02:51 PM, Sebastian Weber wrote:
Hi!
I tried 1.46.1 as well, no luck here either.
Are the error messages exactly the same?
Cheers, Tiago
-- Tiago de Paula Peixoto tiago@skewed.de
graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
Hi!
Attached are the error messages when trying to compile latest git code with
apple gcc 4.2 boost 1.46.1 python 2.7.1 from apple on Lion
No idea what is going on here.
Cheers,
Am 27.12.2011 um 21:55 schrieb Sebastian Weber:
I did not do a diff, but they looked very similar, yes. Sorry, that I did not keep it, but once I saw gentoo is with boost 1.47 I tried that and compilation almost takes a day…
I will try it again with the fixed version.
Am 27.12.2011 um 21:42 schrieb Tiago de Paula Peixoto:
On 12/27/2011 02:51 PM, Sebastian Weber wrote:
Hi!
I tried 1.46.1 as well, no luck here either.
Are the error messages exactly the same?
Cheers, Tiago
-- Tiago de Paula Peixoto tiago@skewed.de
graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
-- Sebastian Weber Group of Cell Communication and Control Freiburg Institute for Advanced Studies - FRIAS School of Life Sciences - LIFENET Albert-Ludwigs-Universität Freiburg Albertstr. 19 79104 Freiburg T.: +49-761-203-97237 Fax:+49-761-203-97334
graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
On 12/28/2011 11:10 AM, Sebastian Weber wrote:
Hi!
Attached are the error messages when trying to compile latest git code with
apple gcc 4.2 boost 1.46.1 python 2.7.1 from apple on Lion
No idea what is going on here.
Hi, I mixed up in the previous email, the incompatibility issues are with boost 1.48 not with 1.47, which should be working fine. I do not get this compilation error with boost 1.47, so I think it must be related to the apple compiler. I do not have access to a MacOS machine at the moment, so it will take bit before I can investigate this myself. But you can try the following:
1. Insert '#include <boost/variant/get.hpp>' in the beginning of gml.hh.
2. Change 'get' to 'boost::get' in the places where the compiler complains.
Note that you do not have compile the entire library after you do these modifications, since that would be a waste of time. You need only to compile the graph_io.cc module.
Cheers, Tiago