Dear Simon, I have downloaded the binaries for mac os X :
Cairo_1.4-8.tgz and tried to install the package locally. (by sourcing local package). During startup - Warning messages: 1: Setting LC_CTYPE failed, using "C" 2: Setting LC_TIME failed, using "C" 3: Setting LC_MESSAGES failed, using "C" * installing *binary* package 'Cairo' ... * DONE (Cairo) But when trying to load the package, I got this : > library(Cairo) Error: package 'Cairo' is not installed for 'arch=x86_64' That's why I was trying to compile from the source. Cheers -- Guillaume Meurice - PhD Bioinformaticien >> >> 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 >>>> [email protected] >>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >>>> >>>> >>> >> > [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
