[R] Success in compiling & running R 1.6.1 on MacOS X 10.2.1 using darwinports

Tom Kennedy tom.kennedy at bigpond.com
Sat Nov 2 05:50:06 CET 2002


I found the problem when attempting to compile R using darwinports.

The dlcompat library in darwinports can be compiled with two differing
behaviours. Going into the source directory:
/opt/local/var/db/dports/portdirs/dlcompat/work/dlcompat-20020929, there 
are two makefiles. The default is Makefile but a second file is fink.mk.

The README file explains that,
"In the default install the behavior of dlsym is to automatically 
prepend an underscore to passed in symbol names, this allows easier 
porting of applications which were written specifically for ELF based 
lifeforms." By using the fink.mk, the build avoids this default 
behaviour giving the same behaviour as in fink
and the subsequent libdl.dylib sucessfully allows R to build.

Regards Tom Kennedy

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 mailing list