LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-26-2021, 03:50 AM   #1
b_o_b
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Rep: Reputation: Disabled
Build issue FBreader on OpenPandora Slackware 14.2


Hi,

For a small ARM pocket PC (Pandora) I've installed slackware 14.2 created by Linux-SWAT on the Pandora forums.
https://pandorawiki.org/Software_projects/OS/Slackware

Reason for installing Slackware is to be able to install more recent versions of software. The Pandora is a very old device and basically EOL. I was hoping with Slackware I can install and use more recent versions of software.

One of the packages I was hoping to use is a more recent version of FBreader.
http://slackbuilds.org/repository/14.2/office/fbreader/

First issue I ran into was a QT related problem.

Solution that Linux-SWAT provided was updating the slackbuild with:

export UI_TYPE=qt4
into
export UI_TYPE=gtk

QT error was indeed fixed, but after a long time compiling it failed with a new error

Quote:
Linking FBReader .../tmp/SBo/fbreader-0.99.4/fbreader/../zlibrary/core/libzlcore.a(ZLibrary.o): In function `ZLibrary::init(int&, char**&)':
ZLibrary.cpp.: (text+0x308): undefined reference to `initLibrary'
collect2: error: ld returned 1 exit status
Makefile:19: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/tmp/SBo/fbreader-0.99.4/fbreader'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 1
More details
https://pyra-handheld.com/boards/thr...ra-14-2.80934/

Anyone a suggestion how to fix the issue?
 
Old 07-27-2021, 01:38 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
This should have been posted in the Slackware ARM sub-forum.
 
Old 07-27-2021, 02:17 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
OK let's also give some actual feedback. Unfortunately I can not help you with this compiliation error.

There is no 'recent' version of FBreader for Linux. The 0.99.4 release is the most recent but it stems from 2012, i.e. 9 years old and no guarantee that there will ever be a new Linux release. The user interface is Qt4 based (Gentoo wrote a patch to port this to Qt5) but the GTK+ user interface is actually unsupported according to the website, and is not even guaranteed to work.

I ditched FBreader a long time ago and switched to calibre. Calibre is an e-book management library but it also contains a very good e-book reader as well as an e-book editor. I doubt however that there's a pre-compiled version of it for ARM Linux. Compiling from source is not trivial. You could try my SlackBuild script for calibre (http://www.slackware.com/~alien/slackbuilds/calibre/), it compiles everything you need into a single package. Part of what it compiles is Qt5 so it may be too tough on your old ARM PC.

But on my Android phone, I use FBreader a lot - the Android version is actively developed and very sleek. A pity that the Linux version is not getting the same level of attention.
 
4 members found this post helpful.
Old 07-27-2021, 03:15 PM   #4
b_o_b
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
On the Pandora there is a few months older FBreader version available for the default OS that still works fine (from april 2012). Indeed too bad they went the commercial route, but luckily there are more alternative readers. I was also able to install coolreader on Slackware with sbopkg. Coolreader is also using QT4 so apparently not every QT4 program fails.
I will certainly give Calibre a try even if it is only to see if it works. Might indeed be too heavy though, next to an older CPU the Pandora has limited memory.
Another reader I am interested in is Foliate. Not available as slackbuild but it might work via flatpak. Flatpak is available as slackbuild.

Thanks for the help and I will post my next questions in the ARM section
 
Old 07-30-2021, 04:34 PM   #5
b_o_b
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
Calibre is an e-book management library but it also contains a very good e-book reader as well as an e-book editor. I doubt however that there's a pre-compiled version of it for ARM Linux. Compiling from source is not trivial. You could try my SlackBuild script for calibre (http://www.slackware.com/~alien/slackbuilds/calibre/), it compiles everything you need into a single package. Part of what it compiles is Qt5 so it may be too tough on your old ARM PC.
Tried your Slackbuild script but it failed to dl 5.13 from https://download.qt.io/official_releases/qt/. Only 5.12 and 5.15 are available from that site. On my device QT 5.9.7 is installed.
Noticed in the script INT_QT=5.13.2 - change it to INT_QT=5.15.2? And try again?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SheevaPlug versus OpenPandora as (SILENT) Server? patrick295767 Linux - Server 1 12-22-2013 04:23 PM
LXer: Review of OpenPandora Handheld Gaming Device LXer Syndicated Linux News 0 04-29-2011 12:00 PM
FBReader Slackbuild fails bogzab Slackware 3 04-08-2011 09:41 AM
fbreader.SlackBuild uses /usr/lib in x86_64 gapan Slackware 6 01-13-2010 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration