Check what configure is saying when you build R and config.log. You may be
> simply missing something like pango-dev - Cairo doesn't use pango while R
> does - but it is usually optional (it works on my Mac without pango) so
> there may be more to it - config.log will tell you.
>

I managed to compile it successfully with pango-cairo support by editing the
configure script and adding the pangoxft module to the pkg-config list:
%diff -c configure.bak  configure
*** configure.bak       2011-05-31 16:16:55.000000000 +0200
--- configure   2011-05-31 16:17:21.000000000 +0200
***************
*** 31313,31319 ****
  $as_echo "$r_cv_has_pangocairo" >&6; }
    if test "x${r_cv_has_pangocairo}" = "xyes"; then
      modlist="pangocairo"
!     for module in cairo-xlib cairo-png; do
        if "${PKGCONF}" --exists ${module}; then
        modlist="${modlist} ${module}"
        fi
--- 31313,31319 ----
  $as_echo "$r_cv_has_pangocairo" >&6; }
    if test "x${r_cv_has_pangocairo}" = "xyes"; then
      modlist="pangocairo"
!     for module in cairo-xlib cairo-png pangoxft; do
        if "${PKGCONF}" --exists ${module}; then
        modlist="${modlist} ${module}"
        fi


I do not know if it is an error in the configure script or just a
peculiarity of my installation. All these libs (pango, cairo, gtk, glib)
have been installed manually from tarballs.

Best,

Karl

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to