Hi, On Tue, 1 Apr 2008, Gerard Farràs i Ballabriga wrote:
I'm trying to build "zypper" but I always get the same error:
CMake Error: Zypp_DIR is not set. It must be set to the directory containing ZyppConfig.cmake in order to use Zypp.
Is it possible that you have installed libzypp-devel from an old distribution? That only will lead to problems, remove it. Further, if you have compiled libzypp from svn, and then installed it into a prefix different from e.g. /usr, you need to tell this to zyppers cmake via the ZYPP_PREFIX variable. I for instance have to do: % mkdir zypper/build; cd zypper/build % cmake -DZYPP_PREFIX=/matz/svn/zypp/inst.trunk .. /matz/svn/zypp/inst.trunk is the directory I used as CMAKE_INSTALL_PREFIX for satsolver and libzypp. Ciao, Michael.