kexi project
Rapid Database Application Development
Development
"Microsoft Access for Linux"

Home Download FAQ Support Features Handbook Screenshots Screencasts Compile Kexi Development Authors Contact License Sponsorship Translate This Site

wiki navigation:

Front Page
[info] [diff] [login]
[recent changes]
[most popular]
You can donate
to Kexi Project:
Via PayPal

Spread the word about Kexi!
Get Kexi Now!

Built on the KDE technology
KDE

Member of the Calligra Suite

No Software Patents!

Advanced Build Notes

This page is for the old 1.x Kexi series only. Click to read how to build Kexi 2.x (KOffice 2.2 or newer)



Last updated: 14 Dec 2005

Table of Contents
   How to set compile-time options?
     Available options
    Example how to compile Kexi from svn
    Unsermake'ing it
   Notes for developers
     Defines

How to set compile-time options?

Note: We are no longer using $KEXI_OPTIONS environment directory. This caused a problem for unsermake. Now, configure options are used instead.

^ toc

Available options

  • Stable options (enabled by default, if relevant libraries are found)
    • --enable-mysql
    • --enable-pgsql
  • Experimental options (disabled by default)
    • --enable-kexi-reports
    • --enable-scripting (enable the scripting plugin. Needs koffice/libs/kross to be compiled and installed.

Note: Please always use --enable-debug=full for testing, as this will produce better backtraces if Kexi crashes.

^ toc

Example how to compile Kexi from svn

If you have unsermake, see the next section.

 svn co -N svn://anonsvn.kde.org/home/kde/trunk/koffice/ kexi-svn
 cd kexi-svn
 svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.4/kde-common/admin
 svn up kexi
 svn up -N lib
 svn up lib/koproperty
 svn up lib/kross
 svn up lib/kofficecore
 mkdir lib/{kformula,kofficeui,kopainter,koscript,kotext,kwmf,store}
 make -f Makefile.cvs
 ./configure --enale-scripting \
             --enable-reports \
             --enable-debug=full
 make
 make install

Note: 'make -f Makefile.cvs' is only needed to execute once, 'configure' and then make, can be run many times.

^ toc

Unsermake'ing it

This seems to be the best way to build Kexi on it's own, but you need Unsermake for it to work properly.

 svn co -N svn://anonsvn.kde.org/home/kde/trunk/koffice/ kexi-svn
 cd kexi-svn
 svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.4/kde-common/admin
 svn up kexi
 svn up -N lib
 svn up lib/koproperty
 svn up lib/kross
 svn up lib/kofficecore
 make -f Makefile.cvs
 ./configure --enable-scripting \
             --enable-reports \
             --enable-debug=full
 unsermake
 unsermake install
^ toc

Notes for developers ^ toc

Defines

Some of above configure options, if set to true, have defines assigned, so you can check their existence in your code.

  • --enable-kexi-reports --> KEXI_REPORTS_SUPPORT
  • --enable-scripting --> KEXI_SCRIPTS_SUPPORT

Example:

 #ifdef KEXI_REPORTS_SUPPORT
 //some code depending on reports
 #endif


Kexi - "MS Access for Linux" ... and Windows
© Kexi Team
This content is available under GFDL
Last edited: December 14, 2005 by dipesh, visited 0 times.