Elektra  0.8.18
INSTALL

DEBIAN

If you want to rebuild Elektra from Debian unstable or our repositories, add a deb-src entry to /etc/apt/sources.list and then run:

    apt-get source -b elektra

To build Debian Packages from the source you might want to use:

    dpkg-buildpackage -us -uc -sa

(You need to be in the Debian branch, see GIT)

GENERIC

First follow the steps in COMPILE.

To install Elektra use:

    sudo make install

To uninstall Elektra use (will not be very clean, e.g. it will not remove directories and *.pyc files):

    sudo make uninstall

or in the build directory (will not honor DESTDIR!):

    xargs rm < install_manifest.txt

CPACK

First follow the steps in COMPILE.

Then use:

    cpack

which should create a package for distributions where a Generator is implemented. See this cmake file for available Generators and send a merge request for your system.

TROUBLESHOOTING

If you encounter the problem that the library can not be found (output like this)

    kdb: error while loading shared libraries: libelektra-core.so.4: cannot open shared object file: No such file or directory

or:

    kdb: error while loading shared libraries: libelektratools.so: cannot open shared object file: No such file or directory

You need to place a configuration file at /etc/ld.so.conf.d/ (e.g. /etc/ld.so.conf.d/elektra.conf).

Add the path where the library has been installed

    /usr/lib/local/

and run ldconfig as root.