Thread: Sigil v0.1.2
View Single Post
Old 08-13-2009, 11:21 AM   #21
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
In a computer where I don't have recent enough Qt libraries, I was able to compile and run Sigil in this way:

1. Download and compile the latest Qt libraries. No need to actually install them, but then I used "./configure -prefix .", so that qmake would use the libraries from that directory, and not the system installed ones.

2. Dowload the binary cmake

3. Download the Sigil sources. Now I have under a single directory, these subdirectories:
qt-x11-opensource-src-4.5.2, cmake-2.6.4-Linux-i386, Sigil_code_0.1.2

4. Switch into Sigil_code_0.1.2 and run:
Code:
PATH=../qt-x11-opensource-src-4.5.2/bin:$PATH LD_LIBRARY_PATH=../qt-x11-opensource-src-4.5.2/lib/ ../cmake-2.6.4-Linux-i386/bin/cmake -G "Unix Makefiles"
(that's to make it pick the "right" Qt libraries and binaries).

5. Run make.

6. If I didn't miss anything, now I have a working sigil binary under Sigil_code_0.1.2/bin.
Jellby is offline   Reply With Quote