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

From: Antonio Aloisio antonio.aloisio at gmail.com
Date: Wed Jun 30 17:27:52 EEST 2010
Ciao Andrea,

I took a look at your debian/rules.. I think you can solve this issue
merely generating the Makefile each time the package
is built.

My hints is do not fix the current makefile, but just make a new one using CDBS.

Cheers,
Antonio

PS: remove the obj files from the tarball as well as teh Makefle.

On Wed, Jun 30, 2010 at 5:00 PM, Andrea Grandi <a.grandi at gmail.com> wrote:
> 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
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
More information about the maemo-developers mailing list