[R] compiling R-1.5.0, package methods, on Solaris 5.7
ligges at statistik.uni-dortmund.de
Thu May 2 12:15:40 CEST 2002
Uwe Ligges wrote:
> Compiling package methods, R-1.5.0, on Solaris 5.7 failed (output below)
> for me with
> - gcc-2.95.3, perl-5.005_03
> and also
> - gcc-3.0.4, perl-5.6.1
> Any ideas a) what the problem is or even better b) how to solve it?
Thanks to Jonathan Baron and Brian Ripley for suggestions.
The problem was, I have set an environment variable R_LIBS (and forgot
it) to the location of an old R library path.
In that case the R script all.R which is generated and executed with the
recently builded new version of R during the compilation of the package
"methods" uses the old package paths instead of the new ones.
> building package 'methods'
> ../../../library/methods/man/methods.Rd is unchanged
> making do_substitute_direct.d from do_substitute_direct.c
> gcc -I../../../../include -I/usr/local/include -fPIC -g -O2 -c
> slot.c -o slo
> gcc -G -o methods.so do_substitute_direct.o methods_list_dispatch.o
> a_data.o slot.o
> dumping R code in package 'methods'
> initializing class and method definitions now ...Error in
> if (eval) symbol else substitute(symbol), :
> .Call function name not in load table
> Execution halted
> *** Error code 1
> make: Fatal error: Command failed for target
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help