![]() |
QJson 0.8.1 for Fremantle
I've just ported QJson 0.8.1 to Fremantle. It's not tested yet and armel only (some optify problems on i386). It's in extras-devel
|
Re: QJson 0.8.1 for Fremantle
What is it? I think some sort of description is good for Fremantle apps, as the N900 has very limited rootfs space.
|
Re: QJson 0.8.1 for Fremantle
some basic googling skills are necessary for everyone
|
Re: QJson 0.8.1 for Fremantle
Quote:
Quote:
|
Re: QJson 0.8.1 for Fremantle
Quote:
|
Re: QJson 0.8.1 for Fremantle
Quote:
|
Re: QJson 0.8.1 for Fremantle
Quote:
Code:
/path/to/mad-admin xdpkg -i package_0.0.1_armel.deb |
Re: QJson 0.8.1 for Fremantle
Quote:
Code:
dpkg-shlibdeps: failure: no dependency information found for /Users/john/QtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/lib/libqjson.so.0 (used by debian/linguine/opt/linguine/bin/linguine). |
Re: QJson 0.8.1 for Fremantle
Quote:
It sounds like a problem with your control file. Did you add libqjson to Depends and libqjson-dev to Build-Depends? |
Re: QJson 0.8.1 for Fremantle
Quote:
|
Re: QJson 0.8.1 for Fremantle
Well, after some digging, I finally found some old posts from someone facing the same problem. It turns out that, apparently, the Madde tools provided for the N900 (in the 4.6.2 version of the Qt Maemo toolchain) have a few bugs. In particular, the xdpkg / dpkg scripts do not properly generate or look for "shlibs" files when installing / using a new library package. Fixing this apparently involves grabbing the latest copy of xdpkg off the gitorious site:
https://meego.gitorious.org/meego-de...adlib/xdpkg.pl and using it to replace the xdpkg script in the Qt SDK directory Maemo/4.6.2/madlib/ma-cmds, as well as replacing the "dpkg" and "dh_shlibdeps" scripts under Maemo/4.6.2/madbin with those found in the Madde/madbin directory. Here are some links to discussions of this bug: http://maemo.org/community/maemo-dev...maemo_sysroot/ http://qt-project.org/forums/viewthread/9253 I have to admit, this only worked partially for me; the new scripts did successfully create a .shilibs file for the libqjson0 package (under the directory $SYSROOT/madde_xpkgs), but apparently still didn't look in that directory when trying to build against the library. However, I know that it does look in the $SYSROOT/var/lib/dpkg/info directory for shlib files, so for now, I went ahead and copied the libqjson0 files into that directory. And that worked! So now, I can at least build and run against libqjson0. Hooray! :) |
All times are GMT. The time now is 14:35. |
vBulletin® Version 3.8.8