07-14-2012, 06:46 PM | #1 | |||
Junior Member
Posts: 5
Karma: 10
Join Date: Jul 2012
Device: none
|
Compiling for Lubuntu (regarding compiling instructions)
I'm compiling the binary for Lubuntu, and I've got a question regarding the instructions posted in the Sigil Wiki:
http://code.google.com/p/sigil/wiki/RunningFromSource In the "Compiling on Linux" section, it states: Quote:
Quote:
Instructions to install Sigil (from the source code) in Linux Minut seems more straight forward: Quote:
|
|||
07-14-2012, 07:04 PM | #2 |
BLAM!
Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
It means just that, outside of the source distribution (the folder where you extracted the sources, or where your checkout from the SCM lives).
Meaning you can build and clutter with object files a folder that's miles away from the source, which is something appealing to a good number of people (especially when you work with a live source tree, or if said source tree is not hosted on a local device). Hence the need to supply the path the the toplevel source directory to cmake . (That ability is one of the selling points of cmake, among other things). But, it's (usually) completely optional, you can still build inside the source directory, like the Mint instructions do. (Alternatively, there was a common trend at one point to just create a directory in the toplevel source directory, and do stuff from there, that ended up being easier to document with something like this: tar xvzf my-project-1.0.0.tar.gz && cd my-project-1.0.0 && mkdir build && cd build && cmake .. && make) Last edited by NiLuJe; 07-14-2012 at 07:09 PM. |
Advert | |
|
07-14-2012, 08:11 PM | #3 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jul 2012
Device: none
|
Quote:
|
|
07-15-2012, 07:38 AM | #4 |
Grand Sorcerer
Posts: 27,824
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Uhhh... I don't think there's really any difference in the build process between Lubuntu and Mint. Both use cmake (make sure Qt dependencies are met) and begin with using a build directory outside the source directory.
|
07-15-2012, 06:56 PM | #5 |
BLAM!
Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@DiapDealer: Yeah, I had forgotten how awful (by 'awful' I mean 'missing a single parent directory', preferably following debian's formatting of project-version ^^) the directory structure of Sigil's source packages were... And thus realized that the Mint instructions aren't very clear at all, there's no 'sigil' folder anywhere in Sigil's source zipballs...
So I was just assuming the sigil directory in question was manually created and where the zipball was unpacked, meaning it's building in the toplevel source directory . Last edited by NiLuJe; 07-15-2012 at 06:58 PM. |
Advert | |
|
07-15-2012, 07:54 PM | #6 |
Grand Sorcerer
Posts: 27,824
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Actually, I was just confused by the OP's talk of different instructions for different flavors. I thought they were talking about about official Sigil documentation/instructions (which are fairly flavor agnostic). Now that I've followed the link, those Mint instructions they were referring to appear to be A) older and B) third-party
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
X-Compiling with Kindle | mpetersen3 | Kindle Developer's Corner | 14 | 01-06-2012 02:53 PM |
Problems compiling | unkilbeeg | Sigil | 1 | 09-13-2009 01:49 PM |
iLiad Please, help me with simple compiling first steps | Sunn Sunn | iRex Developer's Corner | 7 | 07-22-2008 04:11 PM |
iLiad compiling Minimo | jtq | iRex Developer's Corner | 11 | 09-03-2007 05:33 AM |
PRS-500 Compiling for the Reader | alex_d | Sony Reader Dev Corner | 29 | 07-15-2007 12:29 PM |