cmake .. error

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
linjun

cmake .. error

Post by linjun »

hi guys,

i'm installing .tar.bz2 software.
i get the following error while running cmake ..:

Code: Select all

-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
  Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindZLIB.cmake:39 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:15 (find_package)


-- Configuring incomplete, errors occurred!
how can i solve this?

i'm running kde desktop.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Monarch

Re: cmake .. error

Post by Monarch »

try this command mate
u missing libraries

Code: Select all

sudo apt-get install zlib1g-dev
linjun

Re: cmake .. error

Post by linjun »

Monarch wrote:try this command mate
u missing libraries

Code: Select all

sudo apt-get install zlib1g-dev
thanks. that works
Locked

Return to “Beginner Questions”