[maemo-developers] How to compile in Scratchbox a project created with Nokia SDK?

From: Andrea Grandi a.grandi at gmail.com
Date: Wed Jun 30 17:00:59 EEST 2010
Hi,

On 30 June 2010 15:37, Ville M. Vainio <vivainio at gmail.com> wrote:
> Last time I checked, the command is "debuild" if we are talking about
> extras-assistant:
>
> https://garage.maemo.org/extras-assistant/

yes, I'm talking about the extras-assistant, but in "Step 2" (I mean
this page: https://garage.maemo.org/extras-assistant/index.php?step=2
)
there is this command: dpkg-buildpackage -rfakeroot -sa -S

> However, it seems it's still using old data from NQS. Clean up all the
> Makefiles.

the problem is the Makefile itself. The one generated by Nokia SDK is
this: http://pastebin.com/50khFW0k
and the PATHs are cllearly wrong (for example: INCPATH       =
-I../../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/linux-g++-maemo5)

but how can I generate a Makefile that is compatible with Scratchbox too?

I did run /opt/qt4-maemo5/bin/qmake-qt4 msoma.pro and then I was able
to build the source package and upload it in Autobuilder, but I got a
building error: http://pastebin.com/4K9jug6U
You should be able to see all the errors here:
https://garage.maemo.org/builder/fremantle/msoma_0.1.1/

Thanks for your help.

-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc
More information about the maemo-developers mailing list