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

Tommi Komulainen tommi.komulainen at nokia.com
Wed Nov 22 02:23:50 PST 2006


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


-- 
Tommi Komulainen                            <tommi.komulainen at nokia.com>


More information about the cairo mailing list