Hi Nicolas, Can you try and update your R to 2.6 and your Bioc to 2.2 to see if this problem still persists? Or is there a reason you are using the old versions of R and Bioc? Best, --Tony On 10/26/07, Nicolas Servant wrote: > > Hi, > > I try to install the GoStats (BioC 2.0, GoStat.2.2.6) package on R > 2.5.1, but I have some C++ compilation errors due to RBGL package. > The errors are link to the boost library and namespace definition. > Does anybody have an idea ? > > > > sessionInfo() > R version 2.5.1 (2007-06-27) > sparc-sun-solaris2.9 > > Error : > * checking for file 'RBGL/DESCRIPTION' ... OK > * preparing 'RBGL': > * checking DESCRIPTION meta-information ... OK > * cleaning src > * running cleanup > removing exploded boost header source... > * installing the package to re-build vignettes > * Installing *source* package 'RBGL' ... > untarring boost include tree... > ** libs > /opt/SUNWspro/bin/CC -xO5 -xdepend -xlic_lib=sunperf -xmemalign=8s > -xprefetch=auto,explicit -xtarget=native -lCstd > -I/bioinfo/local/SunR/lib/R/include -I/bioinfo/local/SunR/lib/R/include > -I/usr/local/include -IboostIncl -KPIC -O -c bbc.cpp -o bbc.o > CC: Warning: -O overwrites previously set optimization level of -O5 > CC: Warning: -xarch=native has been explicitly specified, or implicitly > specified by a macro option, -xarch=native on this architecture implies > -xarch=v8plusb which generates code that does not run on pre UltraSPARC > III processors > "boostIncl/boost/graph/betweenness_centrality.hpp", line 439: Error: > Could not find a match for > boost::make_iterator_property_map > boost::ID>(std::vector unsigned> >*, > ........ > boost::vec_adj_list_vertex_id_map int, boost::property boost::no_property>>, unsigned>). > "boostIncl/boost/graph/betweenness_centrality.hpp", line 493: Where: > While instantiating > > "boost::detail::graph::brandes_betweenness_centrality_dispatch2 > ........ > boost::property boost::no_property>>, unsigned>)". > "boostIncl/boost/graph/betweenness_centrality.hpp", line 493: Where: > Instantiated from > boost::brandes_betweenness_centrality boost::vecS, > ......... > boost::vertex_centrality_t>, boost::vertex_centrality_t, > boost::no_property>>>&). > "bbc.cpp", line 43: Where: Instantiated from non-template code. > "boostIncl/boost/graph/betweenness_centrality.hpp", line 440: Error: > Could not find a match for > boost::make_iterator_property_map boost::ID>(double*, > .......... > boost::property boost::no_property>>, unsigned>)". > "boostIncl/boost/graph/betweenness_centrality.hpp", line 493: Where: > Instantiated from > boost::brandes_betweenness_centrality boost::vecS, > ............ > boost::vertex_centrality_t>, boost::vertex_centrality_t, > boost::no_property>>>&). > "bbc.cpp", line 43: Where: Instantiated from non-template code. > .............. > "boostIncl/boost/graph/betweenness_centrality.hpp", line 441: Error: > Could not find a match for > boost::make_iterator_property_map boost::ID>(double*, boost::property boost::no_property>>, unsigned>)". > "boostIncl/boost/graph/betweenness_centrality.hpp", line 493: Where: > Instantiated from > boost::brandes_betweenness_centrality boost::vecS, > .............. > boost::vertex_centrality_t>, boost::vertex_centrality_t, > boost::no_property>>>&). > "bbc.cpp", line 43: Where: Instantiated from non-template code. > "boostIncl/boost/graph/betweenness_centrality.hpp", line 442: Error: > Could not find a match for > boost::make_iterator_property_map boost::ID>(unsigned*, > .................. > boost::property boost::no_property>>, unsigned>)". > "boostIncl/boost/graph/betweenness_centrality.hpp", line 493: Where: > Instantiated from > boost::brandes_betweenness_centrality boost::vecS, > ............. > boost::vertex_centrality_t>, boost::vertex_centrality_t, > boost::no_property>>>&). > "bbc.cpp", line 43: Where: Instantiated from non-template code. > 4 Error(s) detected. > make: *** [bbc.o] Error 4 > > > Thanks for your help, > Regards, > > Nicolas. > > > -- > Nicolas Servant > Equipe Bioinformatique > Institut Curie > 26, rue d'Ulm - 75248 Paris Cedex 05 - FRANCE > > Email: Nicolas.Servant@curie.fr > Tel: 01 53 10 70 55 > http://bioinfo.curie.fr/ > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]