maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Problems building QtWebkit for Fremantle (https://talk.maemo.org/showthread.php?t=34330)

puelocesar 2009-11-12 13:39

Problems building QtWebkit for Fremantle
 
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 2009-11-12 16:07

Re: Problems building QtWebkit for Fremantle
 
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)|

puelocesar 2009-11-12 16:14

Re: Problems building QtWebkit for Fremantle
 
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 2009-11-12 16:33

Re: Problems building QtWebkit for Fremantle
 
It seems from this snippet: "libsqlite3.so.0, needed by /usr/lib/libQtWebKit.so" that the Qt WebKit shared object needs libsqlite3.

puelocesar 2009-11-12 16:40

Re: Problems building QtWebkit for Fremantle
 
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

attila77 2009-11-12 17:57

Re: Problems building QtWebkit for Fremantle
 
Quote:

Originally Posted by puelocesar (Post 373756)
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).

attila77 2009-11-13 11:12

Re: Problems building QtWebkit for Fremantle
 
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.

puelocesar 2009-12-03 11:28

Re: Problems building QtWebkit for Fremantle
 
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

attila77 2009-12-03 12:32

Re: Problems building QtWebkit for Fremantle
 
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.

qgil 2009-12-06 20:36

Re: Problems building QtWebkit for Fremantle
 
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


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

vBulletin® Version 3.8.8