Entering edit mode
jason tyler
▴
10
@jason-tyler-5762
Last seen 10.3 years ago
Hi all,
I was trying to install the RBGL package using the following command
biocLite("RBGL")
However, I got the following error
*
installing *source* package RBGL ...
untarring boost include tree...
** libs
/usr/bin/clang++
-I/usr/local/Cellar/r/2.15.1/R.framework/Resources/include
-DNDEBUG -I/usr/local/Cellar/readline/6.2.4/include -isystem
/usr/local/include -I/usr/X11/include -Irbgl_trimmed_boost_1_49_0
-fPIC
-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-
min=10.7 -c
bbc.cpp -o bbc.o
/usr/bin/clang++
-I/usr/local/Cellar/r/2.15.1/R.framework/Resources/include
-DNDEBUG -I/usr/local/Cellar/readline/6.2.4/include -isystem
/usr/local/include -I/usr/X11/include -Irbgl_trimmed_boost_1_49_0
-fPIC
-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-
min=10.7 -c
cliques.cpp -o cliques.o
cliques.cpp:26:31: error: redefinition of 'p' as different kind of
symbol
std::pair<edge, bool=""> p;
^
rbgl_trimmed_boost_1_49_0/boost/mpl/assert.hpp:149:42: note: previous
definition is here
BOOST_MPL_AUX_ASSERT_CONSTANT( bool, p = !p_type::value );
^
rbgl_trimmed_boost_1_49_0/boost/mpl/assert.hpp:56:58: note: expanded
from
macro 'BOOST_MPL_AUX_ASSERT_CONSTANT'
# define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
^
cliques.cpp:53:19: error: expression is not assignable
p = edge(*va1, *va2, g);
~ ^
cliques.cpp:54:25: error: member reference base type
'mpl_::assert_arg_pred_not<boost::detail::is_iterator_traversal<boost: :random_access_traversal_tag="">>::<anonymous enum="" at="" rbgl_trimmed_boost_1_49_0="" boost="" mpl="" assert.hpp:149:5="">' is not a
structure or union
if ( !p.second ) return FALSE;*
Any suggestions how to overcome this or what is causing this issue?
[[alternative HTML version deleted]]