| |
| If you are using Subversion because you want to help develop Kexi, you might want to read step 5 only of [Working with Existing Applications in KDE CVS| http://kde.ground.cz/tiki-index.php?page=How+To+Use+KDevelop+with+KDE+CVS]. |
| |
| -* Browse Kexi in [trunk|http://websvn.kde.org/trunk/koffice/kexi/] |
| +You can also [browse Kexi source code tree|http://websvn.kde.org/branches/koffice/1.6/koffice/kexi/]. |
| + |
| +!Things to Remember |
| +* Please uninstall any KOffice package if you have such installed independently (these not coming from this particular compilation). Otherwise you'll encounter hard to locate crashes or misbehaviour. |
| +* Do not forget about installing Kexi always after compiling it - without this things will not work properly or will crash. Use 'make install' or 'unsermake install' commands from lib/ and kexi/ source code subdirectories. |
| +* If you compiled Kexi from source code obtained via Subversion, it's good idea to '''keep''' your source code directory for later. Then you can just use 'svn up' commands to '''quickly''' update the source code to the newest version, getting all new features and fixes. Then, compile again using 'make' or 'unsermake' commands, what is usually much faster andeasier than starting from scratch with downloading and recompiling Kexi. |
| +* If you want to use unsermake, sometimes (depending on your OS distribution, e.g. reported for Kubuntu) unsermake is unable to find ''aclocal'' command. The reason can be that in your system aclocal belongs to automake, not autoconf. If this is the case, install automake, even if you do not plan to use it ([more info|http://wiki.kde.org/tiki-index.php?page=ErrorMessages#_autoconf_not_found]). |
| |
| !! Short version |
| +First, using ''unsermake'' instead of automake is recommended - it is faster and convenient way for performing compilations. Read the documentation how to get and install [unsermake|http://www.kde.me.uk/index.php?page=unsermake] (some distributions offer automake packages). |
| + |
| The following is a short summary of the process. See subsequent sections for step-by-step instructions: |
| - svn co -N svn://anonsvn.kde.org/home/kde/trunk/koffice/ |
| + ~~svn co -N svn://anonsvn.kde.org/home/kde/trunk/koffice/~~ |
| + svn co -N svn://anonsvn.kde.org/home/kde/branches/koffice/1.6/koffice/ |
| cd koffice |
| svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin |
| svn up kexi |
| svn up lib |
| + |
| +To skip compilation of certain KOffice apps, type something like: |
| + export DO_NOT_COMPILE="kchart kdgantt kformula koshell krita kugar kword" |
| + |
| +If you're using automake: |
| make -f Makefile.cvs |
| +Use "unsermake -f Makefile.cvs" instead if you're using [unsermake|http://www.kde.me.uk/index.php?page=unsermake]. You should see "*** Finished" message. Then: |
| ./configure --enable-debug=full --prefix=`kde-config --prefix` |
| perl admin/am_edit # shouldn't be necessary - why is it needed sometimes? |
| + |
| And finally, if you're using automake, type this to build Kexi and install: |
| - make |
| - make install |
| + cd koffice/lib && make && make install |
| + cd ../kexi && make && make install |
| or, if you're using [unsermake|http://www.kde.me.uk/index.php?page=unsermake]: |
| - unsermake |
| - unsermake install |
| + unsermake && unsermake install |
| (to install you may need root priviledges) |
| |
| !! Requirements |
| ! Disk space |
| -* A subversion of checkout of Kexi is currently about 38MB. |
| -* A complete build requires about 187MB. |
| +* KOffice source code coming from the Subversion repository is currently about 120MB (the same for the tarball version). kexi/ and lib/ subdirectories alone are 20MB large. |
| +* A complete build can require even 400MB. |
| |
| ! Package requirements |
| Kexi can be built on KDE 3.2 or newer. |
| -The kdelibs development files are required to build Kexi, plus the development files for building support for database servers. The kdelibs files may be packaged for your distribution as kdelibs-dev or kdelibs-devel. |
| +The kdelibs development files are required to build Kexi, plus the development files for building support for database servers. The kdelibs files may be packaged for your distribution as something like kdelibs-dev or kdelibs-devel. |
| |
| -See the [Notes|http://www.kexi-project.org/wiki/wikiview/index.php?UsingSubversion#_Notes] section below for lists of packages required for [building on Debian|http://www.kexi-project.org/wiki/wikiview/index.php?UsingSubversion#_Building_Kexi_on_Debian]. |
| +See the [Notes|http://www.kexi-project.org/wiki/wikiview/index.php?UsingSubversion#Notes] section below for lists of packages required for [building on Debian|http://www.kexi-project.org/wiki/wikiview/index.php?UsingSubversion#Building_Kexi_on_Debian]. |
| |
| If you can tell us which packages are needed to build Kexi on your distribution, please email [us|mailto:martin.ellis@kdemail.net] |
| |
| !! Building |
| ! Building from 'trunk' |
| 'Trunk' is usually used for the latest development version, and this section explains how to build it. |
| + |
| +__NOTE: trunk is now in transition to KDE4, so could not compile. Please replace every occurence of 'trunk/koffice/' with 'branches/koffice/1.6/koffice/' below.__ |
| + |
| |
| First, check out a copy from the anonymous subversion server: |
| svn co -N svn://anonsvn.kde.org/home/kde/trunk/koffice/ |