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

Bryce Harrington bryce at osdl.org
Wed Nov 22 11:34:57 PST 2006


On Wed, Nov 22, 2006 at 12:23:50PM +0200, Tommi Komulainen wrote:
> On Tue, 2006-11-21 at 16:45 -0800, ext Bryce Harrington wrote:
> > /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
> > aclocal: autom4te failed with exit status: 1
> 
> I don't know this one, might be related to the other problem below.
> 
> 
> > [sbox-SDK_ARMEL: ~/hello-world] > ./autogen.sh
> [...]
> > checking whether the C compiler works... configure: error: cannot run C
> > compiled programs.
> > If you meant to cross compile, use `--host'.
> > See `config.log' for more details.
> 
> config.log probably has more details, though my guess is that the
> scratchbox target is configure for different architecture than the
> rootstrap.
> 
> Can you try the following? Both should indicate ARM architecture.
> grep SBOX_CPU= /targets/links/scratchbox.config
> file /bin/bash
> 
> I get:
> SBOX_CPU=armel
> /bin/bash: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for
> GNU/Linux 2.4.17, dynamically linked (uses shared libs), stripped

Yup, I get the same:

[sbox-SDK_ARMEL: ~] > grep SBOX_CPU= /targets/links/scratchbox.config
SBOX_CPU=armel
[sbox-SDK_ARMEL: ~] > file /bin/bash
/bin/bash: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for
GNU/Linux 2.4.17, dynamically linked (uses shared libs), stripped

There doesn't seem to be a config.log file.  It does generate
config.guess and autom4te.cache though.

Bryce


More information about the cairo mailing list