[R-SIG-Mac] Probleme with libpng

Simon Urbanek simon.urbanek at r-project.org
Tue Apr 5 15:28:53 CEST 2011


On Apr 5, 2011, at 9:20 AM, Guillaume Meurice wrote:

> Dear Simon,
> 
> I've tried to install the "Cairo" R package, but it fails, raising this error message : 
> 
> ##########################################################################
> configure: error: Cannot use cairo-ft backend, although cairo claims it is working. Please check your caito installation and/or update cairo if necessary or set CAIRO_CFLAGS/CAIRO_LIBS accordingly.
> ERROR: configuration failed for package 'Cairo'
> * removing '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/Cairo'
> ##########################################################################
> 

Yes, so your freetype setup is broken as the message says. Any reason why your'e trying to compile this from sources when the binary is available from CRAN? I would suggest you use the binary unless you really know what you're doing (obviously you can replicate the CRAN setup but apparently you chose not to).

Cheers,
Simon


> 
> 
>> You'll need to supply more details. What are you exactly doing? (reproducible example!) Which packages are you using? (sessionInfo()!)
>> Cheers,
>> Simon
>> 
>> 
>> On Mar 30, 2011, at 10:56 AM, Guillaume Meurice wrote:
>> 
>>> Dear all,
>>> 
>>> I've recently upgrade R to :
>>> 
>>> R 2.12.2 GUI 1.36 Leopard build 64-bit (5691)
>>> 
>>> But now, I can't drow any png image, since I have this error message :
>>> 
>>> libpng warning: Application was compiled with png.h from libpng-1.2.26
>>> libpng warning: Application  is  running with png.c from libpng-1.4.1
>>> libpng warning: Incompatible libpng version in application and library
>>> 
>>> 
>>> What should I do ? Is there any macosX package compiled with libpng 1.4.1 ?
>>> 
>>> 
>>> Thanks by advance for any help you could provide.
>>> Best regards,
>>> --
>>> Guillaume Meurice - PhD
>>> 
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>> 
>>> 
>> 
> 



More information about the R-SIG-Mac mailing list