Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Archive > OpenInkpot

Notices

 
 
Thread Tools Search this Thread
Old 08-11-2009, 01:45 AM   #1
migge
Junior Member
migge began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2009
Device: none
Issues building Madshelf on Ubuntu

Hi,

I only want to explain some issues that I have found compiling Madshelf on Ubuntu 9.04. Maybe can be useful for other people.

I'm installing madshelf as explained at http://openinkpot.org/wiki/MadShelf. I don't have an e-book reader, so I'm doing that for using it in my Ubuntu desktop as a test platform. Because that, I'm compiling directly on my environment and not in the chrooted one.

The wiki page sais that libsqlite3-dev and libextractor-dummy are needed to build it. I want to note that compilation had asked me for echoicebox and eoi packages too. If that is correct maybe wiki page can be updated.

After all packages required are installed, I have had some problems to compile Madshelf. Compilation throws some warnings that stops the process. The warnings are like this one and are repeated for all asprintf calls:

cc1: warnings being treated as errors
file_context_menu.c: In function ‘_draw_item_handler’:
file_context_menu.c:186: error: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result

I haven't look for the compiler flag to ignore this warning, I suppose it has one. At the moment I have write some " int count = " before every asprintf just for test.

After solving this issue, application compiles and seems to work fine. At least it opens the main window. I will do more tests later.

See U.
migge is offline  
Old 08-22-2009, 07:59 PM   #2
dottedmag
OpenInkpot co-founder
dottedmag has learned how to read e-booksdottedmag has learned how to read e-booksdottedmag has learned how to read e-booksdottedmag has learned how to read e-booksdottedmag has learned how to read e-booksdottedmag has learned how to read e-booksdottedmag has learned how to read e-books
 
dottedmag's Avatar
 
Posts: 407
Karma: 845
Join Date: Dec 2007
Device: Kindle Oasis
Interesting. You can just remove -Werror from compilation flags (src/Makefile.am), this flag is overly strict.

If you find any instructions are out-of-date, just go ahead and fix them, it's a wiki after all
dottedmag is offline  
Advert
 


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DR800 Building ctb dima_tr iRex Developer's Corner 6 06-30-2010 04:47 AM
Error Building on Ubuntu from latest Bazaar Source RoninTech Calibre 5 04-09-2010 10:01 PM
Problem building openinkpot on Ubuntu 9.04 nseger OpenInkpot 3 08-23-2009 04:51 AM
"subtree mode" and tags in madshelf - really used? dottedmag OpenInkpot 19 06-05-2009 12:10 PM
MadShelf tompe OpenInkpot 2 08-27-2008 01:42 AM


All times are GMT -4. The time now is 09:25 PM.


MobileRead.com is a privately owned, operated and funded community.