View Single Post
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#4
Originally Posted by nicolai View Post
Hi kojacker,

I don't know what exactly is the cause of this problem.
But this should help:

1. remove the "$(MAKE) clean" line from the debian/rules file,
because at this point the Makefile isn't recreated, instead,
it uses your Makefile which only works in your windows environment.

2. add a "qmake" in your debian/rules file after the line
# Add here commands to compile the package.
qmake

So, the Makefile will be recreated.

Hope this helps

Nicolai
Hi Nicolai, thanks very much for your reply. I made the changes you mentioned but now the project doesnt build anymore and Im getting an error in the debian rules file

Code:
c:\QtProjects\mfakecaller\debian\rules:30: *** missing separator.  Stop.
dpkg-buildpackage: failure: debian/rules clean gave error exit status 2
The process "C:\NokiaQtSDK\Maemo\4.6.2\madbin\mad.cmd" exited with code 11.
Error while building project mfakecaller (target: Maemo)
When executing build step 'Custom Process Step'
Here's the contents of my rules file now after adding the qmake and removing the "$(MAKE) clean" line

*snip*

Edit: I changed spaces to a tab when entering "qmake" and I can get past this error - now to wrestle with autobuilder
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun

Last edited by kojacker; 2011-02-15 at 22:56.