I get the error below compiling igraph on MacOS X 10.7.3 (with command: R CMD install ~/Downloads/igraph_nightly_0.6-2694-20120421.tar.gz ). Could a guru please maybe point me in the right direction? Any help is appreciated (I need to use weighted betweeness measure that I understand is available in th enew version).
gcc -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/usr/local/include -DUSING_R -I. -Ics -Iglpk -Iglpk/amd -Iglpk/colamd -g -O2 -I/usr/include/libxml2 -g -O2 -I/usr/include/libxml2 -DNDEBUG -DPACKAGE_VERSION=\"0.6\" -DINTERNAL_ARPACK -DIGRAPH_THREAD_LOCAL=/**/ -fPIC -g -O2 -c rinterface.c -o rinterface.o
rinterface.c: In function ‘R_SEXP_to_vector_complex_copy’:
rinterface.c:2380: warning: passing argument 2 of ‘igraph_vector_complex_init_copy’ from incompatible pointer type
rinterface.c: In function ‘R_SEXP_to_matrix_complex_copy’:
rinterface.c:2393: warning: passing argument 2 of ‘igraph_vector_complex_init_copy’ from incompatible pointer type
rinterface.c: In function ‘R_igraph_community_eb_get_merges’:
rinterface.c:6177: warning: passing argument 3 of ‘igraph_community_eb_get_merges’ from incompatible pointer type
rinterface.c:6177: warning: passing argument 4 of ‘igraph_community_eb_get_merges’ from incompatible pointer type
rinterface.c:6177: error: too few arguments to function ‘igraph_community_eb_get_merges’
make: *** [rinterface.o] Error 1
ERROR: compilation failed for package ‘igraph’
* removing ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/igraph’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library/igraph’