[R-SIG-Mac] compile minimal R for mac with quartz support

Marc Lohse Lohse at mpimp-golm.mpg.de
Thu Jun 26 09:50:36 CEST 2008


Hi,

i would like to create a minimal build of the R engine to package together with
a Java application. So far i have succeeded in doing this by compiling the R sources
using the following args to configure:

../configure --prefix=/Users/marc/Desktop/standaloneR --enable-static=yes --enable-threads=posix --with-aqua=no --with-tcltk=no --enable-R-framework=no

Unfortunately the R created using the above configuration does not include
support for the quartz() graphics device (which i would like to have because
of the antialiasing capabilities and also because quartz should be available
on any mac system  - in constrast to X11 that might not be available on Tiger
systems)

A second and third question that i have (maybe only because i do not have a lot of
experience with compiling from the command line - sorry) is: How do i tell
the system to generate universal binaries?

The build also dynamically links to libpng and lipjpeg which causes problems
when the final app is started on different machines with different versions
of these libraries (or even wothout them). So evade this problem i would
like to link them statically - but i did not figure out how...

If this is all off-topic or in any other way not suitable to ask in this list i apologize
and would like to know where there would be a better place to ask.

Thanks in advance,

Marc


------------------------------------------------------------------------
Dr. Marc Lohse
Max-Planck-Institute of molecular plant phyiology
AG Usadel
Am Muehlenberg 1
D-14476 Potsdam-Golm

Tel.: 0331-5678157
e-mail: lohse at mpimp-golm.mpg.de
-----------------------------------------------------------------------

This email was Anti Virus checked by the MPIMP-Golm Astaro Security Gateway.



More information about the R-SIG-Mac mailing list