openSUSE / zypper

World's most powerful command line package manager
http://en.opensuse.org/Portal:Zypper
Other
409 stars 111 forks source link

Cmake cannot locate Zypper Common. #389

Closed supreetsingh10 closed 3 years ago

supreetsingh10 commented 3 years ago

I want to contribute to zypper, I cloned this directory and I did cmake . in the directory. I am getting this error

    CMake Error at CMakeLists.txt:11 (INCLUDE):
   INCLUDE could not find requested file:

   ZyppCommon

CMake Error at CMakeLists.txt:38 (GENERATE_PACKAGING):
Unknown CMake command "GENERATE_PACKAGING".

-- Configuring incomplete, errors occurred!
See also "/home/supreetsingh/OpenSource/zypper/CMakeFiles/CMakeOutput.log".

If I am making a mistake with this, I would like to apologize beforehand, I would appreciate help, I want to contribute to this project.

mlandres commented 3 years ago

@supreetsingh10 you need to install libzypp-devel (it's provided by libzypp)

supreetsingh10 commented 3 years ago

Thank you so much sir! On it.