[maemo-developers] Problems running qmake inside scratchbox (and outside)

From: Aapo Rantalainen aapo.rantalainen at gmail.com
Date: Thu Oct 21 16:09:31 EEST 2010
> [SB2 devel fremantle5.0minimal_armel] piotr at gominola-deb32 tmp $ qmake
> bash: /usr/bin/qmake: No such file or directory
> [SB2 devel fremantle5.0minimal_armel] piotr at gominola-deb32 tmp $ file /usr/bin/qmake
> /usr/bin/qmake: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped
> [SB2 devel fremantle5.0minimal_armel] piotr at gominola-deb32 tmp $

qmake installed from repositories is i386 binary (as you show). So it
can't be run inside SB2. Once I have successful compiled qmake inside
SB2.
E.g. fetching sources from ubuntus repository contains all needed
packeting which can be used without modifications for maemo. (Actually
running sb2 -e ./configure will compile qmake-binary on that step).

This is not guaranteed that it will work, but at least you then have
runnable qmake-binary inside SB2. (If armel-package contains i386
binary there might be some other messing too)

-Aapo Rantalainen
More information about the maemo-developers mailing list