05-10-2012, 12:14 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2012
Device: none
|
building from source - qt4.8.1?
is it possible to use qt4.8.1?
i tried to run on linux32 (debian sid) but after installing comes: Ungültiger Maschinenbefehl so i want to build from source, but: Could NOT find Qt4 (missing: QT_QTWEBKIT_INCLUDE_DIR QT_QTWEBKIT_LIBRARY) (found suitable version "4.8.1", required is "4.7.0") |
05-11-2012, 04:17 AM | #2 |
Zealot
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
Yes, Sigil can be built against Qt-4.8.1.
You need qt-devel and libqtwebkit-dev (or whatever they're named in Debian). Check http://code.google.com/p/sigil/wiki/RunningFromSource |
Advert | |
|
05-11-2012, 06:14 AM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2012
Device: none
|
i read the wiki RunningFromSource before i tried to compile, but i'm suspicious about cmakes (found suitable version "4.8.1", required is "4.7.0")
|
05-11-2012, 08:12 AM | #4 |
Zealot
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
It means the minimum required version is 4.7.0, i.e. it won't compile at all with 4.6.0 (but it does compile with 4.8.x).
|
05-11-2012, 09:54 AM | #5 |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2012
Device: none
|
you are right i needed libqtwebkit-dev, is missing in the wiki.
Now it compiles, but the old error Segmentation fault appears, much the same as with the precompiled package. |
Advert | |
|
05-11-2012, 11:43 AM | #6 | |
Zealot
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
From the wiki page:
Quote:
Then you're hitting a bug, you should file a bug report in the Sigil issue tracker, IIUC. |
|
05-11-2012, 12:02 PM | #7 |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2012
Device: none
|
ok overread »(and their various dependencies)«
The issue tracker at ggl.code needs my tel no. for verification. I'm willingly to make progress, but sorry, no way. we do no evel today |
05-12-2012, 01:22 PM | #8 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
It's very clear that Qt WebKit is required. I've modified the instructions to remove dirstro specific instructions as to what packages to install as they were only there as an example not a definitive list.
Can't say what's happening without seeing a back trace for gdb. |
05-15-2012, 05:35 PM | #9 |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2012
Device: none
|
is this right? dont used gdb before
... Reading symbols from /usr/local/bin/sigil...(no debugging symbols found)...done. (gdb) run Starting program: /usr/local/bin/sigil [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1". Program received signal SIGILL, Illegal instruction. 0x0854e4b0 in xercesc_3_1::RangeToken::addRange(int, int) () (gdb) |
05-19-2012, 04:48 PM | #10 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
That's close enough. Illegal Instruction typically means that your CPU doesn't support something the code needs. Currently Xerces, as provided by Sigil, requires sse2. This is most likely your issue. If you're CPU doesn't support sse2 then what you're experiencing will happen.
|
05-21-2012, 09:32 AM | #11 |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2012
Device: none
|
yes my cpu dont have sse2. normally xerxesc could built with --disable-sse2, but sigil link it staticly?
so i tried to comment out from /src/Xerces/CMakeList.txt: if( CMAKE_COMPILER_IS_GNUCXX ) # SSE2 autodetection sometimes fails on Linux, so we'll just # require the presence of SSE2. Everything since the year 2000 (Pentium 4) # has it, so it's not like we're leaving anyone out. add_definitions( -msse2 ) endif() that give me errors, that i dont figure out. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem building Calibre from source on Ubuntu 10.10 | rozen | Calibre | 1 | 03-28-2011 02:02 AM |
Calibre as a service in a linux server without QT4 | nadid | Calibre | 4 | 01-25-2011 12:00 AM |
Error Building on Ubuntu from latest Bazaar Source | RoninTech | Calibre | 5 | 04-09-2010 10:01 PM |
Building Calibre from source | al35 | Calibre | 3 | 03-24-2010 02:22 PM |
iLiad QT4 Working!!! | Adam B. | iRex Developer's Corner | 9 | 06-17-2007 01:41 PM |