Author Topic: Bug in feed version of opie-reader  (Read 3053 times)

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Bug in feed version of opie-reader
« on: September 28, 2004, 09:32:17 am »
If you have installed the latest OZ and got opie-reader from the associated feed you will have problems reading html based files. This includes Mobipocket and chm as well as actual html as they both use html internally.

Until the feed version is fixed you can fool opie-reader into loading the html filter successfully by creating a directory called "lib" in /opt/QtPalmtop/plugins/reader/filters. ie, open up a console and do

mkdir /opt/QtPalmtop/plugins/reader/filters/lib

Unfortunately I don't have a toolchain which will work properly with the current OZ but I'll try and get a properly working version up when I do.
« Last Edit: September 30, 2004, 08:18:06 am by TimW »

awaldram

  • Newbie
  • *
  • Posts: 14
    • View Profile
Bug in feed version of opie-reader
« Reply #1 on: September 30, 2004, 06:54:13 am »
Thanx for that it was a bit of a showstopper for me

I had installed libopie1 and opie-reader-gcc3 from 5thtoe to get round it

now I've been able to clean up and use the feed version

thanks again

davisfactor

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • http://
Bug in feed version of opie-reader
« Reply #2 on: October 06, 2004, 02:35:59 pm »
I installed opie-reader from the oz-3.5.1 feed:
http://openzaurus.org/official/unstable/3.5.1/feed/

I used the command -- ipkg -d sd install opie-reader


In order to make it work I had to add a few symlinks:

root@zaurus:[~]: ls -l /opt/QtPalmtop/apps/Applications/
lrwxrwxrwx    1 root     root           59 Oct  6  2004 uqtreader.desktop -> /mnt/card/opt/QtPalmtop/apps/Applications/uqtreader.desktop


root@zaurus:[~]: ls -l /opt/QtPalmtop/pics/
lrwxrwxrwx    1 root     root           31 Jan  1 05:51 opie-reader -> /opt/QtPalmtop/pics/opie-reader/


I also had to modify my /etc/ld.so.conf

root@zaurus:[~]: cat /etc/ld.so.conf
/usr/local/lib
/opt/QtPalmtop/lib
/mnt/card/opt/QtPalmtop/lib
/mnt/card/usr/lib


I also added /mnt/card/opt/QtPalmtop/bin to my PATH in /etc/profile.


Now here is the error I get when I try to run it:

root@zaurus:[~]: uqtreader
uqtreader: symbol lookup error: uqtreader: undefined symbol: _2Qt.darkCyan



What am I missing here that would make this work?

davisfactor

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • http://
Bug in feed version of opie-reader
« Reply #3 on: October 06, 2004, 06:37:32 pm »
nevermind ... I just did a few things that fixed it.

I ran ipkg-link mount /mnt/card and a ldconfig for good measure.

I also uninstalled opie-reader and did a ipkg -fore-overwrite to make sure I got all of the new/correct files from the feed.

I also ran opie-reader using the opie-reader binary, not the uqtreader that I had before (which still gives the error).  I guess reinstalling gave me that binary.

Anyway .. it's all working fine now!

A helpful thanks to overflowUK from #openzaurus on irc.freenode.net for showing me the ipkg-link command.

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Bug in feed version of opie-reader
« Reply #4 on: October 07, 2004, 05:13:13 am »
The opie build of opie-reader doesn't have "uqtreader" in. That must have been left over from an install of a build for a Sharp ROM...but it sounds like you've managed to sort it out. If there is still a uqtreader file lying around you should probably delete it.

davisfactor

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • http://
Bug in feed version of opie-reader
« Reply #5 on: October 07, 2004, 04:57:49 pm »
I first installed opie-reader from another source, without relizing it was on the official feed.

I think it's leftover from that.

But you're right, it's all fixed now