Active Topics

 


Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Jun 2010
#1
Hi,

I have a N900 and installed the Nokia Qt SDK and tried to run the sample on http://www.forum.nokia.com/Develop/Qt/Getting_started/ , I also followed NokiaQtSDK/readme/creator-developing-maemo.html

Compilation fails, the output is:
Package Creation: Running command 'dh_installdirs'.
Package Creation: Running command 'dh_link'.
Package Creation: Running command 'dh_fixperms'.
Package Creation: Running command 'dh_installdeb'.
Package Creation: Running command 'dh_shlibdeps'.
Packaging Error: Command 'dh_shlibdeps' failed. Output was: dpkg-shlibdeps: failure: no dependency information found for /home/norbert/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/lib/libm.so.6 (used by debian/animatedtiles/usr/local/bin/animatedtiles). dh_shlibdeps: command returned error code 512
Error while building project animatedtiles (target: Maemo)
When executing build step ''
 
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#2
It seems that this is a bug in Qt Creator.

Please post this to their bug tracker (here).
 
Posts: 2 | Thanked: 0 times | Joined on Jun 2010
#3
Hello, I had a similar problem except it was with libQtGui.so.4 instead of libm.

I worked around it by hacking the debian/rules file and uncommenting the line with dh_makeshlibs, then a clean, then built again. This is obviously not the full solution, but it's a clue at least.
 
Posts: 3 | Thanked: 0 times | Joined on Apr 2010
#4
BenSmith, how did you hack the debian/rules file ?
Thanks
 
Posts: 180 | Thanked: 76 times | Joined on May 2010
#5
I would like to know too. I'm unable to deploy application to the phone because of the package creation.

E: This should fix this: http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1636

Last edited by Diph; 2010-06-20 at 07:50.
 
Posts: 2 | Thanked: 0 times | Joined on Jun 2010
#6
I uncommented the line in the debian/rules file that contained dh_makeshlibs.
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#7
Hi all,

Try that :

echo "libm 6" >>/etc/dpkg/shlibs.override

A++
 
NightShift79's Avatar
Posts: 417 | Thanked: 200 times | Joined on Apr 2010 @ Germany
#8
Hi. I'm a total noob.. Well, anyway I got this far and face the same problem... could you plz explain in noobish how I can fix that package creation error with the dh_installdirs.?

thank you.
 
Posts: 13 | Thanked: 3 times | Joined on Jan 2010 @ Aberdeen, UK
#9
Hi. I've tried the same thing with uncommenting dh_makeshlibs in debian/rules, but I keep getting the same error regarding dh_shlibdeps. I'm trying to get qjson to work under the Nokia Qt SDK for Windows 7. Does anybody have any idea how to fix this?
 
Posts: 4 | Thanked: 0 times | Joined on Jun 2010
#10
I tried
echo "libm 6" >>/etc/dpkg/shlibs.override

It didn't help, same error.

It seems that I couldn't find the right debian/rules. I commented it out in every rules file I could find and the error is still there.

> find / -name "rules" -exec grep -Hn dh_shli {} \;
./home/norbert/NokiaQtSDK/Maemo/4.6.2/madlib/share/debhelper/dh_make/debians/rules:79:# dh_shlibdeps
./home/norbert/NokiaQtSDK/Maemo/4.6.2/madlib/share/debhelper/dh_make/debiank/rules:177:# dh_shlibdeps -i
./home/norbert/NokiaQtSDK/Maemo/4.6.2/madlib/share/debhelper/dh_make/debiank/rules:206:# dh_shlibdeps -s
./home/norbert/NokiaQtSDK/Maemo/4.6.2/madlib/share/debhelper/dh_make/debianl/rules:87:# dh_shlibdeps
./home/norbert/NokiaQtSDK/Maemo/4.6.2/madlib/share/debhelper/dh_make/debianm/rules:104:# dh_shlibdeps
./home/norbert/NokiaQtSDK/Examples/4.6/animation/animatedtiles-build/qthello/debian/rules:86:# dh_shlibdeps
./home/norbert/NokiaQtSDK/Examples/4.6/animation/animatedtiles-build/debian/rules:85:# dh_shlibdeps
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:05.