Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2015, 12:42 PM   #31
mapreri
Junior Member
mapreri began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2015
Device: Kindle
Quote:
Originally Posted by DiapDealer View Post
Please note that there are cmake instuctions that can be used to specify the exact libpython and python include files you want sigil to link against. These are documented in the BuildingOnLinux document(s) in the docs directory.
Yeah, but personally I find the need to specify such location a bug. After all, we're using something really standard here.

Quote:
Originally Posted by DiapDealer View Post
I already modified the FindPythonLibs.cmake file to include the two main multi-arch <GNU arch triplet> locations. It wasn't finding ANY of the distro-installed libpythons prior to that. If we can beef up that cmake file to include even more architectures, I'd be happy to incorporate those changes into the original source--when you're ready to make a pull request.
I just let cmake do it's work.
https://anonscm.debian.org/cgit/coll...1c77efab8f1d50
I can only do assumptions on why NO_DEFAULT_PATH was used (=> avoiding linking to system python?).

PS. guess we're OT in this 3d, just redirect me somewhere else if you prefer.
mapreri is offline   Reply With Quote
Old 11-16-2015, 01:33 PM   #32
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,373
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by mapreri View Post
I can only do assumptions on why NO_DEFAULT_PATH was used (=> avoiding linking to system python?).
I've no idea myself, to tell you the truth. I inherited the FindPythonLibs.cmake file -- lock, stock and barrel. Not being particularly fluent in cmake-ese, I made it work for me--and never looked back. Kevin also had to modify it to work on OSX, I believe.

It was certainly not MY intention to avoid linking to system python. Quite the contrary, in fact. That's why I included the x86_64-linux-gnu and the /i386-linux-gnu paths in the first place.

I'll gladly remove the NO_DEFAULT_PATH if it will expand the search and work for more architectures. Those who might not want to link to the system python can still explicitly specify the python they want to utilize.
DiapDealer is offline   Reply With Quote
Old 11-16-2015, 02:25 PM   #33
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,373
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The removal of NO_DEFAULT_PATH from the FindPythonLibs.cmake file has been committed to the Github master branch.

Thanks for the improvement.
DiapDealer is offline   Reply With Quote
Old 11-16-2015, 08:37 PM   #34
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
@mapreri

Also check out the NEW testplugin, which attempts to make use of each part of sigil's functionality: https://www.mobileread.com/forums/sho...d.php?t=267539


You can run Sigil from the same chroot you built it in, and test out the functionality.

Using arch-chroot I had to mess around a bit before I could actually use a functional account, but other than that it worked perfectly and I was able to make sure all dependencies were accounted for.

Last edited by eschwartz; 11-16-2015 at 08:39 PM.
eschwartz is offline   Reply With Quote
Old 11-17-2015, 11:43 AM   #35
Camelot
Connoisseur
Camelot began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Feb 2015
Device: Sony PRS-T1
Thanks all and mapreri for the fix to 0.9.0+dfsg-2.

The FlightCrew plugin works now without internal errors.
Also the testplugin: «Success - All Tests of Plugin Operations Passed»
Camelot is offline   Reply With Quote
Old 11-17-2015, 12:42 PM   #36
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,373
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That is excellent news!
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install of simple plugin works on Linux and Win but not on OSX kabirmaar Development 9 07-26-2014 07:49 PM
Calibre Catalog Plugin No Longer Works country0129 Library Management 5 02-01-2013 08:52 PM
Help with plugin dev - get_resources() works funny GaryJonston Development 2 12-09-2012 04:23 AM
PRS-505 Looking to buy... if it works with Linux richrock Sony Reader 7 03-11-2011 01:05 PM
No eReader for Linux in the works nekokami News 5 01-06-2007 10:21 AM


All times are GMT -4. The time now is 10:34 AM.


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