Claudio Martella | 12 Dec 02:39
Picon
Gravatar

graph-tool and boost 1.48 (mac os)

Hi,

I'm trying to build according to the linked homebrew Formula (but i
also tried downloading the source and building straight ahead).

I have llvm gcc 4.2 (mac os x standard) and boost 1.48.

I get the following error pretty straight ahead at compile time (for
graph_betweenness):

/usr/local/include/boost/property_map/property_map.hpp:361: error: no
match for 'operator[]' in '(const
boost::unchecked_vector_property_map<double,
boost::adj_list_edge_property_map<boost::bidirectional_tag, long
unsigned int, long unsigned int&, long unsigned int,
boost::property<boost::edge_index_t, long unsigned int,
boost::no_property>, boost::edge_index_t> >&)((const
boost::unchecked_vector_property_map<double,
boost::adj_list_edge_property_map<boost::bidirectional_tag, long
unsigned int, long unsigned int&, long unsigned int,
boost::property<boost::edge_index_t, long unsigned int,
boost::no_property>, boost::edge_index_t> >*)(& pa))[k]'
./../fast_vector_property_map.hh:170: note: candidates are: typename
std::iterator_traits<typename std::vector<T, std::allocator<_CharT>
>::iterator>::reference boost::unchecked_vector_property_map<T,
IndexMap>::operator[](const typename
boost::property_traits<IndexMap>::key_type&) const [with T = double,
IndexMap = boost::adj_list_edge_property_map<boost::bidirectional_tag,
long unsigned int, long unsigned int&, long unsigned int,
boost::property<boost::edge_index_t, long unsigned int,
(Continue reading)

Picon
Gravatar

Re: graph-tool and boost 1.48 (mac os)

On 12/12/2011 02:39 AM, Claudio Martella wrote:
> Hi,
> 
> I'm trying to build according to the linked homebrew Formula (but i
> also tried downloading the source and building straight ahead).
> 
> I have llvm gcc 4.2 (mac os x standard) and boost 1.48.
> 
> I get the following error pretty straight ahead at compile time (for
> graph_betweenness):

[...]

> preceded by a looong series of "instantiated from" etc.
> 
> What am I doing wrong?

You're doing nothing wrong. Boost 1.48 introduced an
incompatibility. I'm waiting for this version to hit gentoo, so I can
fix this. In the meantime, I suggest you install boost 1.47 instead.

Cheers,
Tiago

--

-- 
Tiago de Paula Peixoto <tiago <at> skewed.de>

_______________________________________________
(Continue reading)

Claudio Martella | 12 Dec 09:13
Picon
Gravatar

Re: graph-tool and boost 1.48 (mac os)

Hi,

thanks for your answer. I'll get that.

On Mon, Dec 12, 2011 at 8:27 AM, Tiago de Paula Peixoto <tiago <at> skewed.de> wrote:
> On 12/12/2011 02:39 AM, Claudio Martella wrote:
>> Hi,
>>
>> I'm trying to build according to the linked homebrew Formula (but i
>> also tried downloading the source and building straight ahead).
>>
>> I have llvm gcc 4.2 (mac os x standard) and boost 1.48.
>>
>> I get the following error pretty straight ahead at compile time (for
>> graph_betweenness):
>
> [...]
>
>> preceded by a looong series of "instantiated from" etc.
>>
>> What am I doing wrong?
>
> You're doing nothing wrong. Boost 1.48 introduced an
> incompatibility. I'm waiting for this version to hit gentoo, so I can
> fix this. In the meantime, I suggest you install boost 1.47 instead.
>
> Cheers,
> Tiago
>
>
(Continue reading)

Sebastian Weber | 27 Dec 08:18
Picon
Favicon

gml compilation issues

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,

--

-- 
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
Attachment (LOG.gz): application/x-gzip, 1414 bytes
_______________________________________________
graph-tool mailing list
(Continue reading)

Picon
Gravatar

Re: gml compilation issues

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 <at> skewed.de>

(Continue reading)

Sebastian Weber | 27 Dec 17:51
Picon
Favicon

Re: gml compilation issues

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
(Continue reading)

Picon
Gravatar

Re: gml compilation issues

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 <at> skewed.de>

_______________________________________________
graph-tool mailing list
graph-tool <at> skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool
Sebastian Weber | 27 Dec 21:55
Picon
Favicon

Re: gml compilation issues


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 <at> skewed.de>
> 
> _______________________________________________
> graph-tool mailing list
> graph-tool <at> skewed.de
> http://lists.skewed.de/mailman/listinfo/graph-tool

--

-- 
Sebastian Weber
Group of Cell Communication and Control
Freiburg Institute for Advanced Studies - FRIAS
(Continue reading)

Sebastian Weber | 28 Dec 09:44
Picon
Favicon

graph-tool on MacOSX Lion

Hi!

Anyone got graph-tool working on Lion? It was a real mess to set it up under Snow Leopard, and I am running into
some issues again. Hence did someone make it work?

Macports?
Python version?
scipy/numpy version?
boost version?
CGAL?

Which compiler - the apple one? If Macports, what did you compile with which option?

Thanks a lot for any hint here.

Cheers,

--

-- 
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
Sebastian Weber | 28 Dec 14:10
Picon
Favicon

Re: gml compilation issues

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?
>> 
(Continue reading)


Gmane