[maemo-developers] How to compile in Scratchbox a project created with Nokia SDK?
From: Antonio Aloisio antonio.aloisio at gmail.comDate: Wed Jun 30 17:49:51 EEST 2010
- Previous message: How to compile in Scratchbox a project created with Nokia SDK?
- Next message: How to compile in Scratchbox a project created with Nokia SDK?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ciao Andre', I mean you have to generate the Makefile on the server. You can add "qmake project.pro" in your debian/rules.. it will do the job. About CDBS, please take a look at http://build-common.alioth.debian.org/cdbs-doc.html and http://build-common.alioth.debian.org/cdbs-doc.html#id2561450 Cheers, antonio On Wed, Jun 30, 2010 at 5:37 PM, Andrea Grandi <a.grandi at gmail.com> wrote: > Hi all, > > On 30 June 2010 16:27, Antonio Aloisio <antonio.aloisio at gmail.com> wrote: >> 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. > > I'm generating the Makefile each time. I remove the old Makefile and > generated a new one with this command: /opt/qt4-maemo5/bin/qmake-qt4 > msoma.pro > then I went to the building folder and ran dpkg-buildpackage -rfakeroot -sa -S > in this way I could generate the three files > > -rw-rw-r-- 1 andrea andrea 246 Jun 30 15:52 msoma_0.1.1.dsc > -rw-rw-r-- 1 andrea andrea 1119267 Jun 30 15:52 msoma_0.1.1.tar.gz > -rw-rw-r-- 1 andrea andrea 557 Jun 30 15:52 msoma_0.1.1_source.changes > > which I uploaded to the Autobuilder. The problem is that in this way > my Makefile under Scratchbox is using /opt/qt4-maemo5/bin/qmake-qt4 > which is not found by Autobuilder (look at the error: make[1]: *** No > rule to make target > `/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/linux-g++-maemo5/qmake.conf', > needed by `Makefile'. Stop.) > >> My hints is do not fix the current makefile, but just make a new one using CDBS. > > I didn't touch the Makefile by hand. What is CDBS? > >> PS: remove the obj files from the tarball as well as teh Makefle. > > I just uploaded the generated msoma_0.1.1.tar.gz, shouldn't those > files be automatically removed or not included? > > Regards, > > -- > Andrea Grandi > email: a.grandi [AT] gmail [DOT] com > website: http://www.andreagrandi.it > PGP Key: http://www.andreagrandi.it/pgp_key.asc >
- Previous message: How to compile in Scratchbox a project created with Nokia SDK?
- Next message: How to compile in Scratchbox a project created with Nokia SDK?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]