![]() |
#1 | |
Member
![]() Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
Help installing on Ubuntu 12.04
Can anyone help to identify problem I'm having installing 0.7.1 on Ubuntu 12.04.
I followed the instructions from the wiki https://code.google.com/p/sigil/wiki/RunningFromSource using rquired version of cmake built from source. When I run the script to execute sigil I get this error. Quote:
Had previously tried to install sigil to /opt and had a similar problem see #20 https://www.mobileread.com/forums/sho...=206328&page=2 I cannot work what is causing the problem or how to fix it. Last edited by whenster; 04-16-2013 at 04:22 PM. |
|
![]() |
![]() |
![]() |
#2 |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Try removing all files related to sigil and downloading 0.7.2 and compiling again using the latest examples from the RunningFromSource page. It works ok for me on 12.04 64 bit so should also work for 32 bit.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
Glad to hear you're able to install on a 64 bit 12.04.
I'm having no luck with my 32 bit 12.04. I don't know where to start to solve the problem. I installed as the example in the wiki other than I used checkinstall rather than make install. Would this cause the problem? Checkinstall reported the installation of both cmake and sigil to be successful. Qt5 was run offline. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Can you launch the Sigil binary directly (from the build directory)?
It should work with checkinstall, but I believe it strips binaries and libraries. Probably wouldn't hurt to try it without--it's not hard to delete all the files that get installed with Sigil manually, so the benefits of using checkinstall aren't really huge to begin with. There's the binary of course (/usr/local/bin), and the sigil folder (/usr/local/share/sigil), but besides that, there's nothing but the pixmap (/usr/local/share/pixmaps) and the .desktop file (/usr/local/share/applications) to contend with. |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
Sigil will not launch from the build directory either.
In order to test whether my system is broken, Ive done a clean install of 12.04 in another partition, and installed again using both checkinstall and make install. The result is the same. Sigil will not run. I get the error shown in post 1 when I run the script. The installation of cmake, Qt5 and Sigil are successful, but Sigil will not launch. Has anyone successfully installed Sigil onto a 32 bit Ubuntu 12.04 and if so what version of Sigil? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
|
I had a similar error (illegal instruction) when I first tried to run from sources on my Kubuntu computer. The problem turned out to be my CPU, which didn't support the SSE2 floating point instruction set. I got a 64-bit AMD chip and motherboard, built a 64-bit Kubuntu system on it, and *then* compiled something like Sigil 0.4.2. It worked OK then. I'm currently running Sigil 0.6.0 on Kubuntu 12.04 (64-bit), waiting for an official release of Qt5 to appear on the repositories before I upgrade Sigil to 0.7.x.
|
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Stock install of 32-bit Ubuntu 12.04. I built cmake v2.8.10 using the bootstrap method and installed it using checkinstall. I then followed the instructions (https://code.google.com/p/sigil/wiki/RunningFromSource) pretty much verbatim... with the exception that instead of building/installing in one step, I did it in two: Code:
make Code:
sudo checkinstall --pkgname=sigil-0.7.2 --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --fstrans=no --default |
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
Not sure where to go to solve this one.
Anyone have any suggestions how I can find what is causing the problem launching Sigil? |
![]() |
![]() |
![]() |
#9 | |
actually it is /var/log
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
|
Quote:
I do my installation locally: Qt5 is in $HOME/installs/qt5.02, Sigil source in $HOME/gits/sigil, Sigil binary in $HOME/bin. I compile Sigil with script: Code:
#!/bin/bash cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=$HOME -DCMAKE_BUILD_TYPE=Release $HOME/gits/sigil -DCMAKE_PREFIX_PATH=$HOME/installs/qt5.02/5.0.2/gcc/lib/cmake make make install Code:
#!/bin/bash LD_LIBRARY_PATH="$HOME/installs/qt5.02/5.0.2/gcc/lib/":${LD_LIBRARY_PATH} export LD_LIBRARY_PATH $HOME/bin/sigil "${1}" Last edited by varlog; 04-21-2013 at 03:32 PM. |
|
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,305
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
@Whenster:
Just wondering what CPU your PC has? |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,305
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
@Whenster: Could you also try
Code:
cat /proc/cpuinfo |
![]() |
![]() |
![]() |
#12 | |
Member
![]() Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
All the versions I've tried install OK, but just will not launch.
0.4.2 installed to home directory, but will not run. I get a segmentation fault with that one. $ cat /proc/cpuinfo gives: Quote:
|
|
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Are you sure you haven't (manually) relocated your Qt5 installation after building Sigil? Even with the LD_LIBRARY_PATH env var updated to the new Qt5 location, I've seen segfaults under those conditions. It seems the path to the Qt5 platform plugins is hard coded in the various libraries (never mind that the platform plugin doesn't show up as a dependency when using ldd). You could try adding the line
Code:
export QT_DEBUG_PLUGINS=1 Last edited by DiapDealer; 04-21-2013 at 06:06 AM. |
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,305
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I've not figured out how to tell what compiler options are in use but does the lack of sse2 support make a difference? I seem to remember seeing a post somewhere that described someone having similar problems and the re,edy was to change the compilation flags to ensure that sse2 operands were not used.
|
![]() |
![]() |
![]() |
#15 |
Member
![]() Posts: 17
Karma: 10
Join Date: Apr 2013
Location: UK
Device: Nexus 7 FBReader
|
Seems most likely that the lack of sse2 support for the CPU is the cause of the problem (as per signum and PeterT).
I searched for earlier threads and found these: https://www.mobileread.com/forums/sho...d.php?t=124267 https://www.mobileread.com/forums/sho...d.php?t=177979 In particular posts 10 & 11 of the 2nd link. Not sure if a workaround is possible. May have to upgrade my computer if I want to run Sigil. It would have been helpful if this issue was mentioned in the installation instructions of the Sigil wiki. BTW. Bought the computer in 12/2003. Last edited by whenster; 04-21-2013 at 11:59 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |