Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Problems building QtWebkit for Fremantle

    Reply
    Page 1 of 2 | 1   2   | Next
    puelocesar | # 1 | 2009-11-12, 13:39 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jeremiah | # 2 | 2009-11-12, 16:07 | Report

    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)|

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to jeremiah For This Useful Post:
    puelocesar

     
    puelocesar | # 3 | 2009-11-12, 16:14 | Report

    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..

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jeremiah | # 4 | 2009-11-12, 16:33 | Report

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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    puelocesar | # 5 | 2009-11-12, 16:40 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    attila77 | # 6 | 2009-11-12, 17:57 | Report

    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).

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to attila77 For This Useful Post:
    puelocesar

     
    attila77 | # 7 | 2009-11-13, 11:12 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to attila77 For This Useful Post:
    puelocesar

     
    puelocesar | # 8 | 2009-12-03, 11:28 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    attila77 | # 9 | 2009-12-03, 12:32 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to attila77 For This Useful Post:
    puelocesar

     
    qgil | # 10 | 2009-12-06, 20:36 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout