04-21-2013, 01:28 PM | #16 | |
Well trained by Cats
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Install ran. But No Joy when I tried to run. (I did reboot) I have the XP crash log if the devs are interested. |
|
04-22-2013, 02:13 AM | #17 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
double post
Last edited by roger64; 04-22-2013 at 02:21 AM. |
04-22-2013, 02:17 AM | #18 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hi
Did you try using Sigil with Wine? I am a Linux user (LMDE64bits) and also a dedicated Sigil user. A number of Linux users had trouble with the Sigil 0.7 release. - After some difficulties too, I managed to compile Sigil 0.7.0 (using Diap-Dealer's advice) on my 64 bits computer. I did not find a more convenient way to launch it than using a start-up script. I did not update to 0.7.2. I should for this have downloaded the binary of Qt .0.2 and after that compiled again Sigil 0.7.2 and I thought it was not worth the trouble. - On the other hand, Sigil 0.7.2 is now installed on my computer using Wine. It was a no brain install. I can start it like any other program. It's of course a 32 bit program but for a mere EPUB I really can't notice any drop in performance. The most important is that we can do it with a plain and small 25 MB install. - Then I have a third Sigil, which is the old 0.6 version which is handy enough for many tasks and that I keep I do not know really why. I think I will follow on using Sigil this way till the day when Qt5 will be distributed as a standard for Debian. It can be several months away. Life has become not too easy for Sigil Linux users. To conclude with it: my best advice for now would be to use Sigil with Wine. Last edited by roger64; 04-22-2013 at 02:24 AM. |
04-22-2013, 09:21 AM | #19 |
Member
Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
I cannot run Sigil > 0.2.4 on Windoze XP or via Wine because the CPU does not support SSE2.
I've installed Sigil 0.2.4 and that does run. I'll have to use that until I upgrade motherboard and CPU, or build another system (I'm planning to build a 64 bit machine). |
04-22-2013, 11:19 AM | #20 | |||
Grand Sorcerer
Posts: 12,155
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
@Whenster: You might like to try one more thing....
In the file [B]sigil-0.7.2/src/src/Xerces/B] I see the following Quote:
To be tidy I actually blew away the entire sigil-0.7.2/ directory tree and started from scratch. *EDIT*: Never mind... Disabling SSE2 caused compilation errors in building the Xerces component. Time for me to keep plugging away to see if there is any workaround. **EDIT**: In sigil-0.7.2/src/src/Xerces/xercesc/util/Xerces_autoconf_config.hpp there is a section Quote:
Same required for Quote:
Last edited by PeterT; 04-22-2013 at 11:54 AM. |
|||
04-22-2013, 03:14 PM | #21 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You beat me to it!
I was able to compile using the -mno-sse2 flag (just to be sure) after making changes similar to yours in the "sigil-0.7.2/src/src/Xerces/xercesc/util/Xerces_autoconf_config.hpp" file. (I basically just downloaded the xerces source and ran configure using the --disable-sse2 switch to see what it produced, and then compared it to the source in Sigil) No errors and it still runs on my machine, but I have no hardware that DOESN'T support SSE2 to truly test it on. I created a patch to change those two files if it makes it any easier. Just drop it in the uppermost level of Sigil's source tree (sigil-0.7.2/src if you're using the official instructions), cd to that same location and issue: Code:
patch -p1 < sigil-0.7.2-no-sse2.patch (I attached it as a txt file so it would let me upload it ... you can rename it to sigil-0.7.2-no-sse2.patch or modify the command accordingly.) Last edited by DiapDealer; 04-22-2013 at 03:44 PM. |
04-22-2013, 05:08 PM | #22 |
Grand Sorcerer
Posts: 12,155
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Same here.... my h/w HAS SSE2 but at least it did load and run!
|
04-23-2013, 05:33 AM | #23 |
Member
Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
Thanks for taking the time to look at the code for a workaround to the sse2 problem.
I did try to disable sse2 but (like Peter T said) that caused compilation errors with Xerces. I gave up at that point, as my knowledge of coding is basic. I'll test both proposed fixes, and report back with the results. |
04-23-2013, 06:13 AM | #24 |
Member
Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
Found closed Issue 646 on the wiki. This seems to be when this problem was first raised.
#3 nathanva refers to a patch for the SSE2 issue, but I cannot find it. https://code.google.com/p/sigil/issues/detail?id=646 What happened to the wiki FAQ? Cannot find that either. Last edited by whenster; 04-23-2013 at 02:34 PM. |
04-23-2013, 02:33 PM | #25 | |||
Member
Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
Patch 1 (PeterT).
Commented out the 6 lines in sigil-0.7.2/src/src/Xerces/xercesc/util/Xerces_autoconf_config.hpp and nothing else. This installed OK, but would not run. Illegal instruction error. Patch 2 (DiapDealer). Got an error when I ran: Code:
patch -p1 < sigil-0.7.2-no-sse2.patch Quote:
Is the problem the added line: Quote:
Quote:
Last edited by whenster; 04-23-2013 at 02:35 PM. |
|||
04-23-2013, 02:58 PM | #26 |
Grand Sorcerer
Posts: 12,155
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I'd just remove that line fully.
The man page for gcc lists -msse2 as a valid option but does NOT list -mno-sse2 or any variant as valid. |
04-23-2013, 03:02 PM | #27 | |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I'm guessing you didn't apply the patch to virgin Sigil source-code (or I didn't create the patch from virgin source). Perhaps you'd already commented out the add_definitions( -msse2 ) part as per PeterT's instructions before applying the patch? Or maybe there was some other change made to the src/Xerces/CMakeLists.txt file before applying the patch. The change to the src/Xerces/CMakeLists.txt file was nothing more than changing Code:
add_definitions( -msse2 ) Code:
add_definitions( -mno-sse2 ) There's just no guarantee that there hasn't been even more special instruction code creeping into other parts of Sigil's source since the days of 0.3.x that your processor is incapable handling. |
|
04-23-2013, 03:05 PM | #28 | |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
04-24-2013, 02:58 PM | #29 |
Member
Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
Some success at last.
Manually applied patch to Sigil 0.3.0. Installation was successful, and it ran. Repeated the same with Sigil 0.6.2. Same result. Installation was successful, and it ran. When patch is applied to Sigil 0.7.2 it gives Hunk error as per #25 (patch was applied to clean source). I manually altered src/Xerces/CMakeLists.txt file. Installation was successful, but it fails to run, and gives 'Illegal instruction' error. So I guess the problem with 0.7.2 is in some way related to Qt5. Last edited by whenster; 04-25-2013 at 12:00 PM. |
04-24-2013, 04:44 PM | #30 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The Hunk error was definitely my fault. I clearly didn't do the diff on the original. Sorry about that.
I think you're spot on, about it being Qt5 related, though. I fired up some old hardware (no sse2) and was able to compile 0.7.2 without the SSE2 instructions in xerces just fine, but gdb reveals that the illegal instruction error had then moved from Sigil to libQt5Webkit. Looks like the only option left to you would be to compile Qt5 yourself on that hardware. Last edited by DiapDealer; 04-24-2013 at 04:46 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in Installing Calibre in ubuntu 11.10 | yogesh605 | Development | 4 | 12-14-2011 02:58 AM |
Problem in Installing Calibre in ubuntu 11.10 | yogesh605 | Introduce Yourself | 4 | 12-12-2011 02:27 PM |
Python not installing on Ubuntu | Robotech_Master | Calibre | 1 | 01-05-2011 07:08 AM |
Installing latest Calibre in Ubuntu 10.04 | maitrayei | Calibre | 4 | 09-10-2010 02:48 AM |
Problems Installing on Lunix Ubuntu machine | Snackb0y11 | Calibre | 2 | 12-28-2009 11:04 AM |