View Single Post
Old 07-09-2013, 04:38 AM   #126
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
Quote:
Originally Posted by fred01 View Post
Still no luck with cbz on koreader-v2013.03-266-g4f36cd2 under 2.6.1
I get this crash log:
Code:
lua config error: ./frontend/document/credocument.lua:75: calling 'zipContentExt' on bad self (string expected, got nil)
stack traceback:
	[C]: in function 'zipContentExt'
	./frontend/document/credocument.lua:75: in function 'init'
	./frontend/document/document.lua:76: in function 'openDocument'
	./reader.lua:125: in function 'showReader'
	./reader.lua:174: in function 'onFileSelect'
	./frontend/ui/widget/filechooser.lua:56: in function 'onMenuSelect'
	./frontend/ui/widget/menu.lua:197: in function 'action'
	./frontend/ui/uimanager.lua:132: in function 'checkTasks'
	./frontend/ui/uimanager.lua:158: in function 'run'
	./reader.lua:248: in main chunk
How would i go about compiling koreader with the new toolchain? I installed the linaro arm hf toolchain but got stuck soon after. Can I get the trunk koreader to compile on the new architecture or does it need some major changes? Any pointer is appreciated.
I've tried to open a cbz file as well, but it does not show up in the file manager for me... Are you opening it directly through the command line? If so, I'd say cbz is not supported...
Regarding compiling with arm-linux-gnueabihf, it is quite simple. Ensure that the linaro toolchain provided by kobo is in your path, then cd to koreader-base; open Makefile.defs and check that CHOST is set to arm-linux-gnueabihf, -mfloat-abi=hard. Then issue the command
Code:
make CHOST=arm-linux-gnueabihf kobo
when this successfully ends, cd to the main koreader directory and isse a
Code:
make CHOST=arm-linux-gnueabihf customupdate
that should produce a zip similar to the one I uploaded here.
giorgio130 is offline   Reply With Quote