View Single Post
Old 02-19-2013, 09:19 AM   #26
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Linux Install troubles

The good news is that they are solved - for me - and I have Sigil 0.7 running on LMDE 64 bits.

But I found the install very uneasy. I do not know why, but some locked tmp folders have been created during the install, and I could not even launch Firefox except with sudo... I had to reinstall for this reason.

Even now, I can launch Sigil only with a script giving him every time the location of the Qt5 library (this idea coming from Diap Dealer).

I hope I am alone facing these hurdles, because the number of Linux users may drop dramatically if this install is not made clearer.

Here is the install record if this can help the next one..
Beware of the paths, beware of everything...

Spoiler:


I created the recommended folders in my HOME, Qt5.0.1, sigil-build, sigil-source.

roger@lmde64:~/compilation/sigil-build$ cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=$HOME/compilation/Qt5.0.1/5.0.1/gcc_64/lib/cmake/ -DCMAKE_INSTALL_PREFIX=$HOME/compilation/tmp/sigil-run -DCMAKE_BUILD_TYPE=Release -DFORCE_BUNDLED_COPIES=1 $HOME/compilation/sigil-source
-- Configuring done
-- Generating done
-- Build files have been written to: /home/roger/compilation/sigil-build

cd ~/compilation/sigil-build

make
[100%] Built target sigil


roger@lmde64:~/compilation/sigil-build$ sudo make install
[sudo] password for roger:
[ 4%] Built target tidyLib
[ 10%] Built target BoostParts
[ 12%] Built target zlib
[ 12%] Built target minizip
[ 51%] Built target Xerces
[ 53%] Built target hunspell
[ 56%] Built target pcre
[ 57%] Built target XercesExtensions
[ 57%] Built target gccPCH_fc
[ 71%] Built target FlightCrew
[ 71%] Automoc for target sigil
[ 71%] Built target sigil_automoc
[100%] Built target sigil
Install the project...
-- Install configuration: "Release"
-- Installing: /home/roger/compilation/tmp/sigil-run/bin/sigil
-- Removed runtime path from "/home/roger/compilation/tmp/sigil-run/bin/sigil"
-- Installing: /home/roger/compilation/tmp/sigil-run/share/applications/sigil.desktop
-- Installing: /home/roger/compilation/tmp/sigil-run/share/pixmaps/sigil.png
-- Installing: /home/roger/compilation/tmp/sigil-run/share/sigil/translations/sigil_ug.qm
-- Installing: /home/roger/compilation/tmp/sigil-run/share/sigil/translations/sigil_pt_BR.qm

.../...

-- Installing: /home/roger/compilation/tmp/sigil-run/share/sigil/examples/clip_entries.ini
-- Installing: /home/roger/compilation/tmp/sigil-run/share/sigil/examples/search_entries.ini
roger@lmde64:~/compilation/sigil-build$

Indiquer le chemin de la bibliothèque qt5

roger@lmde64:~$ export LD_LIBRARY_PATH=~/compilation/Qt5.0.1/5.0.1/gcc_64/lib

Lancer Sigil

roger@lmde64:~$ ~/compilation/tmp/sigil-run/bin/sigil


And a screenshot of the- already famous - spellchecking novelty...
Attached Thumbnails
Click image for larger version

Name:	Sigil 07.png
Views:	321
Size:	252.1 KB
ID:	101548  
roger64 is offline