Building A Book Reader


chuckr

Still Fresh
Joined
Mar 30, 2009
Messages
93
Age
72
Location
Calverton Maryland
I'm trying to satisfy the dependencies of "Calibre" (the nice book reader), and I'm currently at qt. I looked into the various packages listed out by "opkg list", and believe me, this is a VERY large list indeed. I looked, but I didn't see any of the various qt4 (or qt3) package descriptions which might have indicated that it was a "master" package, and looking at the "whatprovides" listing for qt4-embedded didn't help me either. Anybody know either if any of the opkg packages actually installs all of qt, or is there a list of opkg packages which can do this?
 
chuckr said:
I'm trying to satisfy the dependencies of "Calibre" (the nice book reader), and I'm currently at qt. I looked into the various packages listed out by "opkg list", and believe me, this is a VERY large list indeed. I looked, but I didn't see any of the various qt4 (or qt3) package descriptions which might have indicated that it was a "master" package, and looking at the "whatprovides" listing for qt4-embedded didn't help me either. Anybody know either if any of the opkg packages actually installs all of qt, or is there a list of opkg packages which can do this?
compiling on pandora or cross-compiling ?
If the later; which toolkit are you using ?

Here is my list for qt :
Code:
opkg-target list-installed|grep qt
libqt3support-dev - 4.6.2-r18.2.5
libqt3support4 - 4.6.2-r18.2.5
libqtassistantclient-dev - 4.6.2-r18.2.5
libqtassistantclient4 - 4.6.2-r18.2.5
libqtclucene-dev - 4.6.2-r18.2.5
libqtclucene4 - 4.6.2-r18.2.5
libqtcore-dev - 4.6.2-r18.2.5
libqtcore4 - 4.6.2-r18.2.5
libqtdbus-dev - 4.6.2-r18.2.5
libqtdbus4 - 4.6.2-r18.2.5
libqtdesigner-dev - 4.6.2-r18.2.5
libqtdesigner4 - 4.6.2-r18.2.5
libqtdesignercomponents-dev - 4.6.2-r18.2.5
libqtdesignercomponents4 - 4.6.2-r18.2.5
libqtgui-dev - 4.6.2-r18.2.5
libqtgui4 - 4.6.2-r18.2.5
libqthelp-dev - 4.6.2-r18.2.5
libqthelp4 - 4.6.2-r18.2.5
libqtmultimedia-dev - 4.6.2-r18.2.5
libqtmultimedia4 - 4.6.2-r18.2.5
libqtnetwork-dev - 4.6.2-r18.2.5
libqtnetwork4 - 4.6.2-r18.2.5
libqtopengl4 - 4.6.2-r17.7.5
libqtopenvg4 - 4.6.2-r14.3.5
libqtscript-dev - 4.6.2-r18.2.5
libqtscript4 - 4.6.2-r18.2.5
libqtscripttools-dev - 4.6.2-r18.2.5
libqtscripttools4 - 4.6.2-r18.2.5
libqtsql-dev - 4.6.2-r18.2.5
libqtsql4 - 4.6.2-r18.2.5
libqtsvg-dev - 4.6.2-r18.2.5
libqtsvg4 - 4.6.2-r18.2.5
libqttest-dev - 4.6.2-r18.2.5
libqttest4 - 4.6.2-r18.2.5
libqtuitools4-dev - 4.6.2-r18.2.5
libqtwebkit-dev - 4.6.2-r18.2.5
libqtwebkit4 - 4.6.2-r18.2.5
libqtxml-dev - 4.6.2-r18.2.5
libqtxml4 - 4.6.2-r18.2.5
qt4-assistant - 4.6.2-r18.2.5
qt4-common - 4.6.2-r18.2.5
qt4-dbus - 4.6.2-r18.2.5
qt4-demos - 4.6.2-r18.2.5
qt4-designer - 4.6.2-r18.2.5
qt4-examples - 4.6.2-r18.2.5
qt4-fonts - 4.6.2-r18.2.5
qt4-linguist - 4.6.2-r18.2.5
qt4-mkspecs - 4.6.2-r18.2.5
qt4-pixeltool - 4.6.2-r18.2.5
qt4-qt3to4 - 4.6.2-r18.2.5
qt4-tools - 4.6.2-r18.2.5
qt4-x11-free - 4.6.2-r18.2.5
qt4-x11-free-dev - 4.6.2-r18.2.5
 
Last edited by a moderator:
Hmm, I am probably7 showing my idiocy in saying that I don't know who or what "Exophase" is, that was a nonsequitar to me.

That list of qt applications, you weren't clear, is that the list of qt things you get from an opkg listing, or is this a more qualified list, of only the opkg packages which should be added to get a complete qt installation? And that this list doesn't have any software duplications? Especially in a Pandora, I don't want to install needlessly. Regarding your compiler question, I'm not doing compilation of any kind right now, I'm useing opkg, which distributes binaries. Outside of that, I tend a bit towards using a native compiler, but I'll use anything which is needed to get the job done. Yes, using a native compiler is slower, but surprisingly, not nearly as slow as I'd feared (a bunch faster than my old Zaurus). When I rebuilt my Pandora's python, I did it natively. I have a very, very fast host if I want to use it, but I like using the native gcc-4.3.3 (gotten via opkg).
 
(the Exophase thing is my signature, and is a joke)

So you are compiling natively, then use this :
Code:
sudo opkg install libqt3support-dev libqtassistantclient-dev libqtclucene-dev libqtcore-dev libqtdbus-dev libqtdesigner-dev libqtdesignercomponents-dev libqtgui-dev libqthelp-dev libqtmultimedia-dev libqtnetwork-dev libqtscript-dev libqtscripttools-dev libqtsql-dev libqtsvg-dev libqttest-dev libqtuitools4-dev libqtwebkit-dev libqtxml-dev qt4-x11-free-dev qmake

It should be enough to build anything qt related :)
 
21 adds, that's heaps better than that first try, thanks, I'll go install. I didn't see the logic (before) of your compilation question. I'll go try and see if Calibre yields me up anything beyond error messages, thanks. I'm NOT going to be doing anything qt just for qt's sake.
 
Hey chuckr, nice to see someone still working on this :)

Have you caught up with the venerable javaJake lately? Last I saw he was working on this.
 
Last edited by a moderator:
I don't know how to copy javaJake on this, demonstrate that for me, will you?

Actually, I caught javaJake on IRC, got his Calibre-image, it didn't work for me, and that's what started me out on this hegira. First thing, I tried to run Calibre's Pythonish setup.py, and found that it yielded a python error, that it couldn't "import platform". I did more testing, and found that the python which was preinstalled on my Pandora (or maybe was silently brought in by opkg?) had a very broken library.
This caused me to spend my time rebuilding python (which caused me to compile in a bunch of stuff that python wanted as an extension, like TclTK. I was successful, excepting sqlite3, which won't finish linking, so I didn't include it. Then, I went back to Calibre, and have begun to satisfy the HUGE list of software that Calibre wants as dependencies. Largest was qt, and I got a list of 21 opkg packages (from sebt3) which seems maybe to have done that (warning: satisfying dependencies for the very first qt app took more than 4 hours, dozens and dozens of things brought in). I still have a few things to add in, before I even begin trying to build Calibre, which seems to be mixed (mostly python, some C++).

I don't know how to build opkg packages, but it's for damn sure that bringing in Calibre is NOT going to be one opkg package. Maybe 1 master package which manages reams of dependencies, but more than a single opkg is involved with this. When I get done with this, I'll report here whether it works or not, and how well. Then we can discuss how to infect everybody else with this craze.

I just realized, it's possible that the python I had, the one with the very faulty lib directory, might not have been the one given to me by default with the Pandora ... maybe, seeing as I did use opkg, maybe it's a bad opkg package? If python doesn't come with the pandora automatically, then this is likely, isn't it?
 
Back
Top