I got the evolution from CVS and after a day of experiments finally built it succesfully :)
[Here](http://go-evolution.org/Compiling_Evolution_from_CVS) is the best tutorial for building evolution from source !! Just follow the steps and in case of any errors, don't panic ! and cooly take look at the Evolution FAQs [here](http://gnomebangalore.org/wiki/index.php/EvolutionFaq) Well i will just reiterate the steps ;) 1. Make sure you have the mozilla-nss-devel , mozilla-nspr-devel and openssl-devel packages. If you don't have them do a google search and get them. Mozilla-nss Releases are [here](ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/) . 2. I will assume you have got the sources from the CVS using the procedure described [here](http://go-evolution.org/Compiling_Evolution_from_CVS#Before_the_actual_build_takes_place) 3. After getting gtkhtml,evolution-data-server and evolution sources. First install GTKHTML.</p>
> </p>
> PKG\\\_CONFIG\\\_PATH="/opt/evo/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig"
>
>
> ./autogen.sh --prefix=/opt/evo/
>
>
> make
>
>
> <p>
> sudo make install
4. Then cd into the evolution-data-server directory and here is what i did :
</p>
> PKG\_CONFIG\_PATH="/opt/evo/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig"
>
> </p>
>
> ./configure --enable-maintainer-mode --prefix=/opt/evo --enable-exchange=no --with-nss-includes=/usr/include/nss --with-nss-libs=/usr/lib/ --with-nspr-includes=/usr/include/nspr --with-nspr-libs=/usr/lib/
> make
>
>
> <p>
> sudo make install
5. Now comes the final stage :) CD into the evolution directory..in my case it was cd ~/cvs/gnome/evolution then :
</p>
> PKG\_CONFIG\_PATH="/opt/evo/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig"
>
> </p>
>
> ./autogen.sh --prefix=/opt/evo/ --enable-nntp=yes --enable-ipv6=yes --enable-nss=yes --enable-smime=yes --enable-plugins=all --with-nspr-libs=/usr/include/nspr/ --with-nss-libs=/usr/include/nss/
> make
>
>
> <p>
> sudo make install
6. Now get the script from here and put it in /bin , then run it :) I hope you will see the latest evolution njoy !!
Well here are some errors i came across : 1. something related to *test-component* . If this error comes just change the arguments in
</p>
> ./autogen.sh [all other arguments] --enable-test-component=no
2. If some error related to secasnl.h comes then
</p>
> cd /usr/include/nss
> </p>
> ls
> and then see if *secasnl.h* exists :P if the /usr/include/nss or
> secasnl.h doesnot exist please install mozilla-nss-devel and then
> rebuild evolution :)
> If both of them exist do check if you have provided the correct
> location of libraries in ./autogen.sh configuration..
> <p>
Finally it needs lots of patience of go through this process ;) I think
i built around 5 or 6 times. each time getting some different
errors..hey do ask for help in the irc node :: \#irc.gimp.org in the
\#nosip or the \#evolution channels.
Well i think this is the first step to hacking opensource software
resources..looking forward to have some really nice hacking experience..
*I am just a novice..may be there is some mistake in this how to..so
please refer to the tutorial links i mentioned in the start..don't
forget to correct me in case something is missing !! *
technorati tags: hacking evolution, build from cvs, gnome, opensuse