Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2010 14:52:18 -0400
From:      "b. f." <bf1783@googlemail.com>
To:        freebsd-gnome@FreeBSD.org
Cc:        Jason Selwitz <jselwitz@vvisions.com>
Subject:   Re: FreeBSD Port: x11-toolkits/pango
Message-ID:  <z2wd873d5be1005051152i2694afd9qcda3e5c82fe7ff30@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
> > hey guys, I tried again after installing xorg-minimal and pango and
> > cairo still do not build pangocairo.. any tips would be much appreciated

Something is wrong here:

>checking for FONTCONFIG... no
>no
...
>checking for CAIRO... yes
>checking which cairo font backends could be used... none
>configure: Disabling cairo support

no fontconfig => no checks for freetype => no checks for cairo font
backends => no cairo support

The output should be:

checking for FONTCONFIG... yes
checking for FREETYPE... yes
...
checking for CAIRO... yes
checking which cairo font backends could be used... freetype

Are your installations of devel/pkg-config and x11-fonts/fontconfig
intact?  You might try reinstalling those first.

The relevant portion of the pango configure script:
  20083 pkg_failed=no
  20084 { $as_echo "$as_me:$LINENO: checking for FONTCONFIG" >&5
  20085 $as_echo_n "checking for FONTCONFIG... " >&6; }
  20086
  20087 if test -n "$FONTCONFIG_CFLAGS"; then
  20088     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
  20089  elif test -n "$PKG_CONFIG"; then
  20090     if test -n "$PKG_CONFIG" && \
  20091     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists
--print-errors \"fontconfig >= 2.5.0\"") >&5
  20092   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
  20093   ac_status=$?
  20094   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20095   (exit $ac_status); }; then
  20096   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig
>= 2.5.0" 2>/dev/null`
  20097 else
  20098   pkg_failed=yes
  20099 fi
  20100  else
  20101     pkg_failed=untried
  20102 fi
  20103 if test -n "$FONTCONFIG_LIBS"; then
  20104     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
  20105  elif test -n "$PKG_CONFIG"; then
  20106     if test -n "$PKG_CONFIG" && \
  20107     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists
--print-errors \"fontconfig >= 2.5.0\"") >&5
  20108   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
  20109   ac_status=$?
  20110   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20111   (exit $ac_status); }; then
  20112   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >=
2.5.0" 2>/dev/null`
  20113 else
  20114   pkg_failed=yes
  20115 fi
  20116  else
  20117     pkg_failed=untried
  20118 fi
  20119
  20120
  20121
  20122 if test $pkg_failed = yes; then
  20123
  20124 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  20125         _pkg_short_errors_supported=yes
  20126 else
  20127         _pkg_short_errors_supported=no
  20128 fi
  20129         if test $_pkg_short_errors_supported = yes; then
  20130                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG
--short-errors --print-errors "fontconfig >= 2.5.0" 2>&1  20130 `
  20131         else
  20132                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG
--print-errors "fontconfig >= 2.5.0" 2>&1`
  20133         fi
  20134         # Put the nasty error message in config.log where it belongs
  20135         echo "$FONTCONFIG_PKG_ERRORS" >&5
  20136
  20137         { $as_echo "$as_me:$LINENO: result: no" >&5
  20138 $as_echo "no" >&6; }
  20139                 { $as_echo "$as_me:$LINENO: result: no" >&5
  20140 $as_echo "no" >&6; }
  20141 elif test $pkg_failed = untried; then
  20142         { $as_echo "$as_me:$LINENO: result: no" >&5
  20143 $as_echo "no" >&6; }
  20144 else
  20145         FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
  20146         FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
  20147         { $as_echo "$as_me:$LINENO: result: yes" >&5
  20148 $as_echo "yes" >&6; }
  20149         have_fontconfig=true
  20150 fi

Why does cairo detect fontconfig, while pango doesn't? Look at pango's
config.log for further information on the failure after running the
configure script, and compare it to the corresponding log and
configure script for cairo.

Regards,
              b.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?z2wd873d5be1005051152i2694afd9qcda3e5c82fe7ff30>