No, running 'make' in interfaces/R is actually the way to build the R package. But for the development version you need to be inside the git tree.
Gabor On Mon, Oct 20, 2014 at 8:11 AM, Tamás Nepusz <[email protected]> wrote: > AFAIK R packages are supposed to be built and installed using "R CMD build" > and "R CMD install" even though there is a makefile in them. > > T. > > On 20 Oct 2014, at 10:41, Glenn Lawyer <[email protected]> wrote: > > Hi, > > Trying to build the develop branch; I've managed to get the source > downloaded and built, but the makefile in "interfaces/R" fails. > > Do I need to run a command before I run make in this directory? > > Here is what I do (running a recent Debian machine): > $ git clone https://github.com/igraph/igraph.git -b develop > $ cd igraph > $ ./bootstrap.sh > $ configure > $ make > $ make check (everything is ok) > > $ cd interfaces/R > $ make > (lots of mkdir -p, and then:) > printf "%s" "OBJECTS=" >> igraph/src/Makevars.in > cat object_files >> igraph/src/Makevars.in > cd igraph; autoheader; autoconf > autoconf: Undefined macros: > configure.in:106:AC_LANG_POP([C++]) > configure.in:109:AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have the > GLPK library]) > configure.in:115:AC_DEFINE(IGRAPH_THREAD_LOCAL, [], [We don't care about > thread-local storage in R]) > configure.in:117:AC_CONFIG_FILES([src/Makevars]) > configure.in:23:AC_PROG_FC > configure.in:25: AC_DEFINE([HAVE_GFORTRAN], [1], [Define to 1 if using the > GNU fortran compiler]) > configure.in:2:AC_CONFIG_SRCDIR(src/rinterface.c) > configure.in:32:AC_LANG_PUSH([C++]) > configure.in:33:AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ > configure.in:37: [AC_PROG_CXXCPP > configure.in:39: [AC_MSG_ERROR([no C++ compiler found or it cannot > create executables])]) > configure.in:3:AC_CONFIG_HEADERS(src/config.h) > configure.in:40:AC_LANG_POP([C++]) > configure.in:45:AC_CHECK_DECL([stpcpy], > configure.in:46: [AC_DEFINE([HAVE_STPCPY_SIGNATURE], [1], [Define to > 1 if the stpcpy function has a signature])]) > configure.in:50: [AC_DEFINE([HAVE_TIMES_H], [1], [Define to 1 if you > have the sys/times.h header])]) > configure.in:54: AC_HELP_STRING([--disable-graphml], [Disable > support for GraphML format]), > configure.in:72: AC_DEFINE([HAVE_LIBXML], [1], [Define to 1 if you > have the libxml2 libraries installed]) > configure.in:89:AC_LANG_PUSH([C++]) > configure.in:93:AC_ARG_ENABLE(gmp, AC_HELP_STRING([--disable-gmp], [Compile > without the GMP library])) > configure.in:98: AC_DEFINE([HAVE_GMP], [1], [Define to 1 if you have > the GMP library]) > make: *** [igraph/configure] Error 1 > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
