[R-SIG-Mac] Building R with png and jpeg support

stefano iacus stefano.iacus at unimi.it
Thu Sep 29 09:59:48 CEST 2005


both dll rely on  X11, so to enable capabilities you need to first  
run the X11 window server on your mac and the launch R.
stefano

On 29/set/05, at 04:27, Craig Amundsen wrote:


> Hi -
>
> I recently built R 2.1.1 on a machine running 10.3.9. After
> configuring (based on the suggested line in the R on Mac FAQ I get the
> following summary
>
>   Source directory:          .
>   Installation directory:    /Library/Frameworks
>
>   C compiler:                gcc  -g -O2
>   C++ compiler:              g++  -g -O2
>   Fortran compiler:          g77  -g -O2
>
>   Interfaces supported:      X11, aqua
>   External libraries:        readline, BLAS(generic)
>   Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
>   Options enabled:           framework, R profiling
>
>   Recommended packages:      yes
>
> Which seems to indicate that I am going to get PNG and JPEG
> capabilities. But after making and installing, when I run capabilities
> I get this result:
>
> amundsen$ echo "capabilities()" | R --slave
>     jpeg      png    tcltk      X11 http/ftp  sockets   libxml      
> fifo
>    FALSE    FALSE    FALSE     TRUE     TRUE     TRUE     TRUE      
> TRUE
>   cledit  IEEE754    iconv
>    FALSE     TRUE     TRUE
>
> It seems that I don't have PNG and jpeg capabilities. I have libpng
> 1.2.8 and jpeg 6b installed in /usr/local/lib and what appear to the
> proper headers in /usr/local/include. Is there some step I'm missing
> in the build process?
>
> TIA for any wisdom anyone can provide
> - Craig
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
>



More information about the R-SIG-Mac mailing list