![]() |
2010-10-28
, 16:23
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#182
|
zrules.txt was a hack. I think my one line fix to configure is the better solution. At least for building the armel tools. So, maybe ignore zrules.txt.
![]() |
2010-10-28
, 17:02
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#183
|
Where is "one line fix"? Changing linux-g++-maemo? In any case it requires running "configure" and it's parameters issue is still here.
mkdir qt chdir qt apt-get source libqt4-dev chdir qt4-x11-4.7.0~git20100909 sed -i 's/linux-host-g++/linux-g++-maemo5/' configure dpkg-buildpackage -b -d -nc -rfakeroot
The Following User Says Thank You to daperl For This Useful Post: | ||
![]() |
2010-10-28
, 18:55
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#185
|
Make the one line configure fix and then let the debian tools do all the work.
From scratchbox in the FREMANTLE_ARMEL target:
No other changes are needed in order to create qmake moc rcc and uic.Code:mkdir qt chdir qt apt-get source libqt4-dev chdir qt4-x11-4.7.0~git20100909 sed -i 's/linux-host-g++/linux-g++-maemo5/' configure dpkg-buildpackage -b -d -nc -rfakeroot
![]() |
2010-10-28
, 19:11
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#186
|
And don't forget to do the following:
Code:fakeroot apt-get build-dep libqt4-dev
![]() |
2010-10-29
, 01:02
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#187
|
This program was written somebody worked with Microsoft - it says:
E: Build-dependencies for libqt4-dev could not be satisfied.
without elaboration and sign of more extensive diagnostic.
apt-get update fakeroot apt-get upgrade
fakeroot apt-get upgrade
![]() |
2010-10-29
, 01:33
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#188
|
--- debian/rules.orig 2010-10-27 01:04:40.140719086 +0100 +++ debian/rules 2010-10-27 01:03:16.552666520 +0100 @@ -52,7 +52,7 @@ HOST_EXCLUDES=-X/moc -X/rcc -X/uic -X/qmake -X/lrelease EXTRA_STRIP_ARGS=$(HOST_EXCLUDES) EXTRA_HOST_STRIP_ARGS=--strip-all bin/moc bin/rcc bin/uic bin/qmake bin/lrelease - HOST_MKSPEC=-spec $(CURDIR)/mkspecs/linux-host-g++ + HOST_MKSPEC=-spec $(CURDIR)/mkspecs/linux-g++-maemo5 else HOST_EXCLUDES= GL_BACKEND=desktop @@ -118,7 +118,7 @@ common-build-arch:: build-dbus-tools build-linguist-tools build-maemo5-examples strip-host-tools build-uitools build-qml-tool strip-host-tools: - if [ -n "$(EXTRA_HOST_STRIP_ARGS)" ] ; then host-strip $(EXTRA_HOST_STRIP_ARGS) ; fi + if [ -n "$(EXTRA_HOST_STRIP_ARGS)" ] ; then strip $(EXTRA_HOST_STRIP_ARGS) ; fi build-dbus-tools: bin/qmake -o tools/qdbus/qdbusxml2cpp/Makefile tools/qdbus/qdbusxml2cpp/qdbusxml2cpp.pro
-rw-r--r-- 1 maemo maemo 9898818 Oct 27 01:13 libqt4-core-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 1541266 Oct 27 01:13 libqt4-core_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 1995710 Oct 27 01:15 libqt4-dbus-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 230152 Oct 27 01:15 libqt4-dbus_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 14842646 Oct 27 01:16 libqt4-declarative-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 1425932 Oct 27 01:16 libqt4-declarative_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 5897106 Oct 27 01:16 libqt4-dev_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 42749090 Oct 27 01:14 libqt4-gui-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 5035830 Oct 27 01:13 libqt4-gui_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 554966 Oct 27 01:16 libqt4-maemo5-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 206572 Oct 27 01:16 libqt4-maemo5-examples_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 29798 Oct 27 01:16 libqt4-maemo5_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 840278 Oct 27 01:16 libqt4-multimedia-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 64888 Oct 27 01:16 libqt4-multimedia_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 6236302 Oct 27 01:14 libqt4-network-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 618632 Oct 27 01:14 libqt4-network_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 2745624 Oct 27 01:16 libqt4-opengl-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 1454 Oct 27 01:16 libqt4-opengl-dev_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 221480 Oct 27 01:16 libqt4-opengl_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 3338876 Oct 27 01:16 libqt4-phonon-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 242438 Oct 27 01:16 libqt4-phonon_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 19667124 Oct 27 01:14 libqt4-script-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 1363486 Oct 27 01:14 libqt4-script_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 1020768 Oct 27 01:14 libqt4-sql-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 165326 Oct 27 01:14 libqt4-sql-sqlite-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 21482 Oct 27 01:14 libqt4-sql-sqlite_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 100724 Oct 27 01:14 libqt4-sql_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 1708854 Oct 27 01:14 libqt4-svg-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 175042 Oct 27 01:14 libqt4-svg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 503944 Oct 27 01:15 libqt4-test-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 59552 Oct 27 01:15 libqt4-test_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 746740 Oct 27 01:13 libqt4-translations_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 1293596 Oct 27 01:15 libqt4-webkit-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 6047210 Oct 27 01:15 libqt4-webkit_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 438090 Oct 27 01:15 libqt4-xml-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 115474 Oct 27 01:15 libqt4-xml_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 23883406 Oct 27 01:15 libqt4-xmlpatterns-dbg_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 1622994 Oct 27 01:15 libqt4-xmlpatterns_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-r--r-- 1 maemo maemo 180516 Oct 27 01:16 qt4-declarative-qmlviewer_4.7.0~git20100909-0maemo1+0m5_armel.deb -rw-rw-r-- 1 maemo maemo 7302 Oct 27 01:16 qt4-x11_4.7.0~git20100909-0maemo1+0m5_armel.changes
![]() |
2010-10-29
, 03:50
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#189
|
![]() |
2010-10-29
, 04:30
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#190
|
I run on N900. It is a reason why I need ARMEL binaries of qmake/moc/etc
(chroot)root@Nokia-N900:/ # dpkg -l|grep -i cdbs ii cdbs 0.4.48-0osso2 common build system for Debian packages
The Following User Says Thank You to daperl For This Useful Post: | ||
![]() |
Tags |
cross-platform, dui, future, harmattan, libdui, maemo, maemo 6, plain qt, programming, source compatibility, symbian |
|
I haven't tried building Qt in PR1.3 yet, but I was able to fix some other compile errors for 1.2. However, that just opened a can of worms that maybe revealed a deeper issue. Anyway, I'll try building 4.7 when I get a moment, and if the build fails as it did in 1.2, I'll post some details here.
N9: Go white or go home