![]() |
#16 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah it is, but I though it was a good idea, so I copied it
![]() |
![]() |
![]() |
![]() |
#17 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 582
Karma: 1334691
Join Date: Nov 2006
Location: Miami
Device: KH2O, KPW2, KDXG, KPW1, K3, S505
|
Has there been any progress on this project?
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
award-winning bozo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 258
Karma: 172703
Join Date: Sep 2009
Location: Philadelphia
Device: Kobo Libra 2
|
Unfortunately, not much - while I've built some Mac apps over the years, Calibre is actually a port from Linux and depends on being able to correctly build 15-20 different components from different sources, each of which is having problems with Snow Leopard.
|
![]() |
![]() |
![]() |
#19 |
Wizzard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
How far have you got with getting a baseline build (and do you have anything to help with getting an OSX development setup)?
I saw the scripts.zip but there didn't seem to be anything documenting either the ordering or the sources? (I'm suspecting that there's a lot of assumed knowledge, whereas the last serious Unix dev I did was on Ultrix & OSF/1 so have forgotten almost all of it! Java's Maven means I've sidestepped all of that for years!) |
![]() |
![]() |
![]() |
#20 |
award-winning bozo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 258
Karma: 172703
Join Date: Sep 2009
Location: Philadelphia
Device: Kobo Libra 2
|
Yes - figuring out the order things have to be built in has also been a challenge, the set of scripts Kovid sent me include 19 different open source packages that you have to find, download and build.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Wizzard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
With that number of dependancies, I was wondering what mileage there might be in seeing if using macports would help pull things together?
|
![]() |
![]() |
![]() |
#22 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I gave up on macports back when I was first setting up the calibre build VM as I found that I couldn't quite get things to build exactly as I wanted them, particularly with regards to universal builds. Things have improved since then (this was nearly two years ago) and if you use 10.6 you dont even need universal builds.
Basically, the first few things you need to build are expat freetype fontconfig libjpeg libpng libreadline python Qt sip PyQt after that it mostly doesn't matter (I think) ![]() |
![]() |
![]() |
![]() |
#23 |
award-winning bozo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 258
Karma: 172703
Join Date: Sep 2009
Location: Philadelphia
Device: Kobo Libra 2
|
Yup - and, actually, I'm trying Macports again, because I can't seem to get a working python-26 build. The 32-bit version finished, but it would drop core with a bus error as soon as I ran it - still not getting readline linked in correctly, I think.
The problem is that this really is very much a when-I-have-a-spare-moment kind of thing for me. |
![]() |
![]() |
![]() |
#24 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
note that readline is not really essential (only calibre-debug) uses it. You can edit the python build scripts to just disable building readline (or just install libreadline, in which case they will automatically not build readline)
|
![]() |
![]() |
![]() |
#25 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2009
Device: kindle dx
|
Man! I just love it when they talk tech! Don't understand a word of it, but it sounds cool!
|
![]() |
![]() |
![]() |
#26 |
award-winning bozo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 258
Karma: 172703
Join Date: Sep 2009
Location: Philadelphia
Device: Kobo Libra 2
|
Okay, I'm posting this in public, but I'm also going to send a private message to Kovid - I've been unable to get a complete build of all the things calibre needs to work in Snow Leopard and I'm unable to dedicate more time to the effort due to a combination of my day job and night school.
Sorry for getting people's hopes up; the best solution I've been able to find is to run a Linux distro inside Vmware or Windows via Bootcamp. I'll keep poking at it, but I can't justify spending more than an hour or two a week on it. BTW - the problem is not Calibre itself, the problem is that Calibre depends on many different packages that are native to Linux. Ports for these packages exist for Mac OS-X, but the change from 10.5 to 10.6 seems to have caused a cascade of problems that have yet to be resolved. |
![]() |
![]() |
![]() |
#27 |
Wizzard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
Do you have anything in the way of scripts or such-like that might help with setting up an OSX build environment, beyond the ones in the thread from kovid?
|
![]() |
![]() |
![]() |
#28 |
award-winning bozo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 258
Karma: 172703
Join Date: Sep 2009
Location: Philadelphia
Device: Kobo Libra 2
|
Nope. Sorry - I was working with Kovid's scripts, and with trying to use "standard" Macports versions. In each case I would get to a point where the things needed for the next step would not build or link correctly.
|
![]() |
![]() |
![]() |
#29 |
Member
![]() Posts: 19
Karma: 10
Join Date: Dec 2007
Device: Kindle, Sony Reader
|
Don't sweat it. I'm grateful you tried. Calibre's working fairly well under Rosetta for me; it crashes once & again, but not nearly so much as it did. I can't complain.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
0.6.36 crashes in Snow Leopard | WarumIch | Calibre | 19 | 01-27-2010 02:33 AM |
Snow Leopard + Calibre 0.6 = CRASH! :( | sea_los | Calibre | 217 | 10-31-2009 04:13 AM |
Snow Leopard problem? | bobnelsonfr | Calibre | 4 | 09-21-2009 01:21 PM |
Snow Leopard Reports In | fbrII | Calibre | 5 | 08-31-2009 10:00 AM |