Yesterday finally i compiled the Calligra Suite. Its very simple at all, just few steps and, done! The steps that I followed are here:
1– Install all dependencies for compilation process, at ubuntu I used:
$ sudo apt-get build-dep koffice
2– Download the latest tarball.
I’m not with internet at home right now, so i downloaded the latest tarball in a tar.gz file.
wget -c http://anongit.kde.org/calligra/calligra-latest.tar.gz
3– I created the follow directory structure:
directory that Calligra will be built in
directory that Calligra will be installed in.
To me $HOME is: /home/helder/
4– Unpack the tar.gz downloaded inside the directory: $HOME/kde4/src/
5– Execute the file initrepo.sh:
6– Run the command line:
$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo
7– Make it!
$ make -j4
My processor is a dual-core one, so i used the argumment -j4. If your processor is a quad-core, use -j8. This argumment will speed-up the compilation process.
8– To run the compiled programs are necessary these exports:
export KDEDIRS=$KDEDIRS:$HOME/kde4/inst export PATH=$PATH:$HOME/kde4/inst/bin export KDEHOME=$HOME/kde4/.kde
9– Then finally run the command above to create the menu entries:
10– And then type (at konsole) the program that you want to execute, in my case:
This short step-by-step is completly done at: http://community.kde.org/Calligra/Building/Building_Calligra