[cairo] Setting up scratchbox (was: Speedup _cairo_matrix_to_pixman_matrix)

Matt Hoosier matt.hoosier at gmail.com
Thu Nov 23 05:48:12 PST 2006


On 11/23/06, Bryce Harrington <bryce at osdl.org> wrote:
> On Wed, Nov 22, 2006 at 07:19:43PM -0800, Carl Worth wrote:
> > On Wed, 22 Nov 2006 19:08:45 -0800, Bryce Harrington wrote:
> > > I've also attempted with 'no_root_squash' and a few other nfs options,
> > > but no go.
> > >
> > > Anyone got ideas?
> >
> > Oh, I ran into problems like this until I manually did a modprobe of
> > some modules on the n770 itself. I think "modprobe nfs" might do the
> > trick.
> >
> > Easiest way to test is to just try to run the mount command manually
> > on the n770 as well.
>
> Yup, that did it.  hello-world now builds.
>
> Cairo still does not configure, but there's a different error:
>
> /home/crucible/cairo-1.3.2-gdb603d6/autogen.sh: running `aclocal'
> /scratchbox/tools/share/aclocal/pkg.m4:5: warning: underquoted
> definition of PKG_CHECK_MODULES
>   run info '(automake)Extending aclocal'
>   or see
>   http://sources.redhat.com/automake/automake.html#Extending%20aclocal
> /usr/share/aclocal/gconf-2.m4:8: warning: underquoted definition of
> AM_GCONF_SOURCE_2
> /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of
> AM_PATH_AUDIOFILE
> /scratchbox/tools/share/aclocal/pkg.m4:5: error: m4_defn: undefined
> macro: _m4_divert_diversion
> /usr/share/aclocal/pkg.m4:114: PKG_CHECK_MODULES is expanded from...
> /scratchbox/tools/share/aclocal/pkg.m4:5: the top level
> autom4te: /scratchbox/tools/bin/m4 failed with exit status: 1

I've run into similar problems when trying to do full autotools cycles
under Scratchbox. You might try telling aclocal not to use the
Scratchbox versions of the macros:

  my-aclocal.sh:
  -------------------
  #! /bin/sh
  /usr/bin/env aclocal -I /usr/share/aclocal "$@"

Then you explicitly set this wrapper to be used in place of the real aclocal:

  ACLOCAL=my-aclocal.sh autoreconf ...

--Matt

>
> Bryce
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
>


More information about the cairo mailing list