Thread: iLiad FBReader
View Single Post
Old 04-09-2007, 03:37 PM   #67
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Quote:
Originally Posted by Adam B.
FBReader only allows the installed path to be set at compile time. If you have it it any directory other than the one it was compiled for, the graphics will not load properly. It shouldn't prevent the program from running.

Try the first part (all but step 4) of the instructions here: https://wiki.mobileread.com/wiki/ILia...e_Installation

Copy the fbreader directory to your /mnt/newspapers. Then run: "ln -s /mnt/free/newspapers/fbreader /usr/local"

You shouldn't have to export the LD_Library_path. Just set the display and run FBReader. Let me know what happens.
First: Isn't it extremely ... ahem... "uncommon" to hardcode the installation path into the binaries? Why do the FBReader programmers do that? But I am unused to C++/Linux programming, so I guess there is a reason. But what is the hardcoded compile-time installation path -- /usr/local/fbreader I presume?

Second: I didn't copy the files again, I already had the binaries and libs from my mmc-zip. Are the binaries different, so I have to download the other zip and use that one, or should that be ok?

Third: My files are in /mnt/free/newspapers/fbread. I tried this:

Code:
root@ereader:/mnt/free/newspapers/fbread# ls -lF /usr/local
lrwxrwxrwx    1 root     root           27 Apr  9 19:28 fbread -> /mnt/free/newspapers/fbread/
lrwxrwxrwx    1 root     root           27 Apr  9 19:33 fbreader -> /mnt/free/newspapers/fbread/

root@ereader:/mnt/free/newspapers/fbread# set |grep DISPLAY
DISPLAY=':0'
root@ereader:/mnt/free/newspapers/fbread# ./FBReader
Illegal instruction
root@ereader:/mnt/free/newspapers/fbread#
Did this posting give you any more information?
narve is offline   Reply With Quote