[MeeGo-SDK] Cross compiling Phonon progs to n900/meego (was Re: one step closer to cross-compiling QtWebKit progs onto n900/meego)
Niels Mayer
nielsmayer at gmail.com
Wed Dec 15 19:01:10 UTC 2010
Similar to the hack to get QtWebKit running (
http://lists.meego.com/pipermail/meego-sdk/2010-December/000749.html
), I also did something similar to resolve warnings about missing
phonon includes, after noting libphonon exists on the handset.
On the development desktop, I did:
.......................
gnulem-197-~> sudo ln -s /usr/local/Trolltech/Qt-4.7.1/include/phonon/
/usr/lib64/madde/linux-x86_64/sysroots/meego-core-armv7l-madde-sysroot-1.1-fs/usr/include/
gnulem-198-~> cd
/usr/lib64/madde/linux-x86_64/sysroots/meego-core-armv7l-madde-sysroot-1.1-fs/usr/lib/
gnulem-201-.../usr/lib> sudo ln -s libphonon.so.4.4.0 libphonon.so
......................
(the n900-1.1.80.9.20101207.1 image on the handset also needs "sudo ln
-s libphonon.so.4.4.0 libphonon.so" in /usr/lib)
And now example programs like
http://pysnippet.blogspot.com/2010/09/icecastradio-qt-widgetqt-quick-example.html
compile and run despite "#include <phonon/MediaObject>" in the code.
..................................
However, on deployment, the same old problem as before:
.......................
Cleaning up remote leftovers first ...
Initial cleanup done.
Files to deploy:
/home/npm/qtquick/icecastradio-build-meego/rrpmbuild/icecastradio-0.0.1-1.armv7l.rpm.
Deployment finished.
Starting remote application.
error: icecastradio-0.0.1-1.armv7l.rpm: headerRead failed: Header
sanity check: OK
error: icecastradio-0.0.1-1.armv7l.rpm cannot be installed
-bash: /usr/local/bin/icecastradio: No such file or directory
Finished running remote process.
.......................
Investigating on the handset, same problem with "empty" RPM being
generated -- it's just the "header" and no data:
.....................
[meego at localhost ~]$ ll icecastradio-0.0.1-1.armv7l.rpm
-rw-rw-r-- 1 meego meego 796 Dec 15 18:52 icecastradio-0.0.1-1.armv7l.rpm
[meego at localhost ~]$ sudo rpm -ivh icecastradio-0.0.1-1.armv7l.rpm
error: icecastradio-0.0.1-1.armv7l.rpm: headerRead failed: Header
sanity check: OK
error: icecastradio-0.0.1-1.armv7l.rpm cannot be installed
.....................
Any solutions to this "empty RPM" problem?? It's sort of a showstopper
for my development of multimedia apps....
Niels
http://nielsmayer.com
PS: the handset (n900-1.1.80.9.20101207.1) also seems to be missing
some libphonon symlinks, which I fixed thusly:
.......................
[meego at localhost ~]$ ll /usr/lib/libphonon.*
lrwxrwxrwx 1 root root 18 Dec 7 21:37 /usr/lib/libphonon.so.4 ->
libphonon.so.4.4.0
-rwxr-xr-x 1 root root 352956 Dec 4 19:14 /usr/lib/libphonon.so.4.4.0
[meego at localhost ~]$ cd /usr/lib
[meego at localhost lib]$ sudo ln -s libphonon.so.4.4.0 libphonon.so
[meego at localhost lib]$ ll /usr/lib/libphonon.*
lrwxrwxrwx 1 root root 18 Dec 15 18:59 /usr/lib/libphonon.so ->
libphonon.so.4.4.0
lrwxrwxrwx 1 root root 18 Dec 7 21:37 /usr/lib/libphonon.so.4 ->
libphonon.so.4.4.0
-rwxr-xr-x 1 root root 352956 Dec 4 19:14 /usr/lib/libphonon.so.4.4.0
.......................
More information about the MeeGo-sdk
mailing list