Libzypp/BuildingZypp2
From openSUSE
< Libzypp
Contents |
[edit]
Build instructions for zypp2 (openSUSE 10.2 and before)
[edit]
Prepare autoconf/automake
cd to the libzypp directory and run
make -f Makefile.cvs
You might need a couple of packages, like doxygen, graphviz, boost, boost-devel, gettext-devel, dejagnu, zlib-devel, libxml2-devel, libicu, popt-devel, rpm-devel, glib2-devel, dbus-1-glib, dbus-1-devel, hal-devel, readline-devel, curl-devel, e2fsprogs-devel, libidn-devel, openssl-devel.
[edit]
Compiling the source
Thats easy
make
You might install colorgcc for colorful output or icecream for speedier development
If you get errors like
Error: Layout was not done. Missing layout plugins?
run dot -c as root, e.g. sudo dot -c (if you have sudo configured)
[edit]
Testing the result
ZYPP uses dejagnu for automated tests. All tests are below the testsuite directory and can be run by
make check
[edit]
Hacking the source
Please follow the coding hints when changing source code.
See here about linking your code.

