Reply
Thread Tools
Posts: 68 | Thanked: 4 times | Joined on Feb 2010 @ Germany
#1
Hello,

trying to devellop an application on my free-day I have a problem with madde and qtcreator:

connection to the device works and my build app works on n900 (copied manually)...only *.deb goes wrong

any ideas?

The process "/usr/bin/make" exited normally.
Creating package file ...
Package Creation: Running command 'dh_make -s -n -p qthello_0.1'.
Packaging Error: Command 'dh_make -s -n -p qthello_0.1' failed. Output was: The directory name must be - for dh_make to work! I cannot understand the directory name or you have an invalid directory name! Your current directory is /home/bucket/embedded/qtmadde/qtprog-build-maemo/build, perhaps you could try going to directory where the sources are? Please note that this change is necessary ONLY during the initial Debianization with dh_make. When building the package, dpkg-source will gracefully handle almost any upstream tarball.
Error while building project qtprog (target: Maemo)
When executing build step


INFO:
this works:http://wiki.maemo.org/MADDE/Packaging
did it like described in:http://wiki.maemo.org/MADDE/QtCreato...tion_for_linux


regards
schasch
 
Posts: 68 | Thanked: 4 times | Joined on Feb 2010 @ Germany
#2
I think I have tis problem on ubunut 10.04

http://lists.trolltech.com/pipermail...il/006645.html
 
Posts: 68 | Thanked: 4 times | Joined on Feb 2010 @ Germany
#3
OK,got it
rename the maemo-build-directory in the buildsettings from qt to "<applicationname>-build-maemo-0.1"
cd ...to this... <applicationname>-build-maemo-0.1/
/home/<username>/.madde/0.6.14/madbin/dh_make -s -n -p <applicationname>

and now easy programming for n900:
qtxreator from 20100507
install-madde-0.6.14-linux-x86_64.sh
on ubuntu 10.01 64bit
regards
schasch
 
Posts: 40 | Thanked: 20 times | Joined on Jan 2010 @ Sheffield, England.
#4
thanks a lot, just set up my environment for dev and ran into this!
__________________
I <3 my N900..!
 
Posts: 40 | Thanked: 20 times | Joined on Jan 2010 @ Sheffield, England.
#5
Doh.. wont work with QtCreator

any idea how to get around this

Code:
Running build steps for project 6sense...
Configuration unchanged, skipping qmake step.
Starting: "/usr/bin/make" -w 
make: Entering directory `/home/esh/QtWorkspace/6sense-build-maemo-0.1' 
make: Nothing to be done for `first'. 
make: Leaving directory `/home/esh/QtWorkspace/6sense-build-maemo-0.1' 
The process "/usr/bin/make" exited normally.
Creating package file ...
Package Creation: Running command 'dh_make -s -n -p 6sense_0.1'.
Packaging Error: Command 'dh_make -s -n -p 6sense_0.1' failed. Output was: Package name "6sense_0.1" is not in a valid format. Debian policy manual states: "Package names must only consist of lower case letters, digits (0-9), plus (+) or minus (-) signs, and periods (.)" 
Error while building project 6sense (target: Maemo)
When executing build step ''
__________________
I <3 my N900..!

Last edited by hackfanatic; 2010-05-28 at 05:08.
 
Posts: 40 | Thanked: 20 times | Joined on Jan 2010 @ Sheffield, England.
#6
oops sorry my bad, your solution works perfectly..
__________________
I <3 my N900..!
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#7
http://tablets-dev.nokia.com/MADDE.php

has 0.6.72 now. PR 1.2 environment.
 
Posts: 40 | Thanked: 20 times | Joined on Jan 2010 @ Sheffield, England.
#8
pff.. yeah figured it out after more research last night... wiki's need updating!

thanks anyways
__________________
I <3 my N900..!
 
Posts: 2 | Thanked: 1 time | Joined on Jul 2010
#9
I encountered this error message in Windows, and was unable to proceed with deploying an application to my phone. Since this is the first result on Google, I'm adding what worked for me here, in case it can help someone else.

In my environment, Qt Creator was attempting to package application_0.1, a file that did not exist after a build. I created a custom build step for packaging that did cmd /c copy c:\path\to\application c:\path\to\application_0.1 and this has caused the packaging step to work flawlessly for me since.

Hopefully this helps someone else having an issue with failing on dh_make -s -n -p
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:03.