Reply
Thread Tools
Posts: 67 | Thanked: 101 times | Joined on Sep 2009 @ Londrina, PR - Brazil
#1
Hi everyone, I have an app called Macuco that is a very simple browser that uses QtWebkit. It's on diablo-extras right now.

An user requested a Fremantle port, so I tried just sending the package to fremantle builder, but it's not compiling:
https://garage.maemo.org/builder/fre...log.FAILED.txt

It doesn't seem to be a problem on my code, so does anyone knows what's that?
 
jeremiah's Avatar
Posts: 170 | Thanked: 261 times | Joined on Feb 2009 @ Gothenburg, Sweden
#2
Looks like some of the libraries you rely on are not present in the environment you are trying to build in. From the link you submitted (which is messages from the autobuilder);

"libsqlite3.so.0, needed by /usr/lib/libQtWebKit.so, not found (try using -rpath or -rpath-link)
/scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libphonon.so.4, needed by /usr/lib/libQtWebKit.so, not found (try using -rpath or -rpath-link)
/scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libxcb.so.1, needed by /usr/lib/libQtWebKit.so, not found (try using -rpath or -rpath-link)|
 

The Following User Says Thank You to jeremiah For This Useful Post:
Posts: 67 | Thanked: 101 times | Joined on Sep 2009 @ Londrina, PR - Brazil
#3
The strange part is, I don't depend on libsqlite3.

But probably QtWebkit depends.. So maybe it's a problem with QtWebKit packaging? I'll try to manually require these libs on my application and see if it works..
 
jeremiah's Avatar
Posts: 170 | Thanked: 261 times | Joined on Feb 2009 @ Gothenburg, Sweden
#4
It seems from this snippet: "libsqlite3.so.0, needed by /usr/lib/libQtWebKit.so" that the Qt WebKit shared object needs libsqlite3.
 
Posts: 67 | Thanked: 101 times | Joined on Sep 2009 @ Londrina, PR - Brazil
#5
Yeah, aparentetly I should require those libs: libxcb, libphonon and libsqlite3.

But I still think that I shouldn't have to depend on that libs.. QtWebkit should depend on them, and I depend on QtWebkit..

If I add that manually and the QtWebkit guys remove libsqlite3 dependency for example, I'll have an unused dependency on my application
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#6
Originally Posted by puelocesar View Post
Yeah, aparentetly I should require those libs: libxcb, libphonon and libsqlite3.

But I still think that I shouldn't have to depend on that libs.. QtWebkit should depend on them, and I depend on QtWebkit..

If I add that manually and the QtWebkit guys remove libsqlite3 dependency for example, I'll have an unused dependency on my application
Correct. I don't know for the sqlite part, but QtWebKit should depend on phonon, and a cursory glance shows that this relationship, in fact, seems not to be defined (I can remove phonon without webkit getting removed = likely a Qt packaging bug).
 

The Following User Says Thank You to attila77 For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#7
Followup: The packaging bug is confirmed and fixed, now just to wait for it to propagate to the correct repositories. You can wait for that, or just specify the missing dependencies in your package as a stopgap until then.
 

The Following User Says Thank You to attila77 For This Useful Post:
Posts: 67 | Thanked: 101 times | Joined on Sep 2009 @ Londrina, PR - Brazil
#8
Hi, I tried again yesterday, but I'm still unable to compile it. I'm having the same error: https://garage.maemo.org/builder/fre...log.FAILED.txt

Quick fix, can anyone point me out what packages provide the libs libsqlite3.so.0, libphonon.so.4, libxcb.so.1? I tried just libxcb but it didn't work :P
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#9
My guesses:

libqt4-phonon
libsqlite3-0
libxcb1

The problem is that the version of Qt referenced in the firmware is not optified, so the whole phonon/webkit/gui shebang will end up on the internal flash. It's supposedly fixed (along with the dependency problem) in PR1.1

OR you can depend on the 4.6 version of webkit, which automatically solves the optification/dependency problem, but is not available outside of extras-devel.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following User Says Thank You to attila77 For This Useful Post:
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#10
Just checking, are you aware of the several webkit packages already available in Extras-devel?

For instance this one part of the official Qt 4.6 port:
http://maemo.org/packages/view/libqt4-maemo5-webkit/

More:
http://maemo.org/packages/search/?or...alue%5D=webkit
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:28.