View Single Post
Old 09-06-2010, 09:09 AM   #4
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by Skitzman69 View Post
Ok I deleted the source directory and tried again and (of course) it works For others here is the commands that I used

Code:
~src$ unzip Sigil-0.2.4-Code
~src$ cd Sigil-0.2.4-Code
~/src/Sigil-0.2.4-Code$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ~/src/Sigil-0.2.4-Code
~/src/Sigil-0.2.4-Code$ make
But I get an error when building the main.cpp.o, any ideas?
You are still doing it wrong. This will probably fail on linking.

The BuildingFromSource instructions are quite detailed. Among other things, the say this for Linux:

Quote:
It is assumed you want to generate Makefiles. You can do this by creating a new folder outside of the source distribution.

Now navigate to that folder with a terminal. Then type in and run the following:

cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release /path/to/extracted/folder
make
sudo make install
You are not doing that. You are building within the source tree, and that may fail.

Quote:
Originally Posted by Skitzman69 View Post
I just tried grabbing the latest from the repo and got the same error... And yes I installed the core QT libraries as noted in the instructions.
No, the instructions are more specific than that. Here's the relevant part:

Quote:
Qt 4.6.x is also required on all platforms.
Ubuntu 9.04 AFAIK has Qt 4.5 which would give you those errors.

Have you noticed that every single problem you had can be avoided by reading and following the instructions?
And don't build from the repo source, that needs Qt 4.7 which hasn't been released.
Valloric is offline   Reply With Quote