Mailinglist Archive: zypp-devel (227 mails)
| < Previous | Next > |
Re: [zypp-devel] [SoC-student] Problem building "zypper" - CMake Error: Zypp_DIR is not set
- From: Michael Matz <matz@xxxxxxx>
- Date: Tue, 1 Apr 2008 14:04:21 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0804011357150.20583@xxxxxxxxxxxxx>
Hi,
On Tue, 1 Apr 2008, Gerard Farràs i Ballabriga wrote:
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.
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.
| < Previous | Next > |