Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-16-2013, 01:03 PM   #1
whenster
Member
whenster began at the beginning.
 
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:
line 1: 2798 Illegal instruction (core dumped) D_LIBRARY_PATH=/opt/Qt5.0.2/5.0.2/gcc/lib /usr/local/bin/sigil
Installed cmake-2.8.10.2 (built from source) to usr/local, Qt5.0.2 installed to /opt, and sigil 0.7.1 installed to default /usr/local.

Had previously tried to install sigil to /opt and had a similar problem see #20 http://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 05:22 PM.
whenster is offline   Reply With Quote
Old 04-17-2013, 02:51 PM   #2
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
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.
meme is offline   Reply With Quote
Old 04-18-2013, 04:39 PM   #3
whenster
Member
whenster began at the beginning.
 
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.
whenster is offline   Reply With Quote
Old 04-18-2013, 05:13 PM   #4
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: 9,423
Karma: 43260000
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.
DiapDealer is offline   Reply With Quote
Old 04-19-2013, 03:04 PM   #5
whenster
Member
whenster began at the beginning.
 
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?
whenster is offline   Reply With Quote
Old 04-19-2013, 05:40 PM   #6
signum
Connoisseur
signum is that somebody.signum is that somebody.signum is that somebody.signum is that somebody.signum is that somebody.signum is that somebody.signum is that somebody.signum is that somebody.signum is that somebody.signum is that somebody.signum is that somebody.
 
Posts: 65
Karma: 45332
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.
signum is offline   Reply With Quote
Old 04-19-2013, 05:56 PM   #7
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: 9,423
Karma: 43260000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by whenster View Post
Has anyone successfully installed Sigil onto a 32 bit Ubuntu 12.04 and if so what version of Sigil?
Yes. Sigil version 0.7.2.

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
then:
Code:
sudo checkinstall --pkgname=sigil-0.7.2 --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --fstrans=no --default
Everything works as expected.
DiapDealer is offline   Reply With Quote
Old 04-20-2013, 05:36 AM   #8
whenster
Member
whenster began at the beginning.
 
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?
whenster is offline   Reply With Quote
Old 04-20-2013, 12:23 PM   #9
varlog
just member
varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.
 
varlog's Avatar
 
Posts: 143
Karma: 222554
Join Date: Sep 2012
Location: Europa
Device: prs t1
Quote:
Originally Posted by whenster View Post
Has anyone successfully installed Sigil onto a 32 bit Ubuntu 12.04 and if so what version of Sigil?
Yes, all versions up to 0.7.2.
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
I invoke Sigil with script:
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}"
Runs fine.

Last edited by varlog; 04-21-2013 at 04:32 PM.
varlog is offline   Reply With Quote
Old 04-20-2013, 12:45 PM   #10
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 7,195
Karma: 45329895
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
@Whenster:
Just wondering what CPU your PC has?
PeterT is offline   Reply With Quote
Old 04-20-2013, 01:57 PM   #11
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 7,195
Karma: 45329895
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
@Whenster: Could you also try
Code:
cat /proc/cpuinfo
and paster the info from it here?
PeterT is offline   Reply With Quote
Old 04-21-2013, 02:57 AM   #12
whenster
Member
whenster began at the beginning.
 
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:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2600+
stepping : 1
cpu MHz : 2087.500
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
bogomips : 4184.36
clflush size : 32
cache_alignment : 32
address sizes : 34 bits physical, 32 bits virtual
power management: ts
whenster is offline   Reply With Quote
Old 04-21-2013, 06:40 AM   #13
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: 9,423
Karma: 43260000
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
to your launch script (before the call to launch Sigil) to see if you get some more useful output to work with.

Last edited by DiapDealer; 04-21-2013 at 07:06 AM.
DiapDealer is offline   Reply With Quote
Old 04-21-2013, 08:19 AM   #14
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 7,195
Karma: 45329895
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
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.
PeterT is offline   Reply With Quote
Old 04-21-2013, 12:55 PM   #15
whenster
Member
whenster began at the beginning.
 
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:

http://www.mobileread.com/forums/sho...d.php?t=124267

http://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 12:59 PM.
whenster is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in Installing Calibre in ubuntu 11.10 yogesh605 Development 4 12-14-2011 03:58 AM
Problem in Installing Calibre in ubuntu 11.10 yogesh605 Introduce Yourself 4 12-12-2011 03:27 PM
Python not installing on Ubuntu Robotech_Master Calibre 1 01-05-2011 08:08 AM
Installing latest Calibre in Ubuntu 10.04 maitrayei Calibre 4 09-10-2010 03:48 AM
Problems Installing on Lunix Ubuntu machine Snackb0y11 Calibre 2 12-28-2009 12:04 PM


All times are GMT -4. The time now is 01:43 AM.


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