Dushistov / sdcv

https://dushistov.github.io/sdcv/
GNU General Public License v2.0
289 stars 42 forks source link

Configuration failure #85

Closed konstare closed 1 year ago

konstare commented 1 year ago

Hi,

I am using Ubuntu 22.04(cmake 3.22.1, glib 2.72.1). When i start cmake /tmp/sdcv/ i get the following:

-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found
CMake Error at CMakeLists.txt:30 (set):
  set given invalid arguments for CACHE mode.

-- REQUIRED_VARS
-- Looking for mmap
-- Looking for mmap - found
-- Looking for locale.h
-- Looking for locale.h - found
-- Configuring incomplete, errors occurred!
See also "/tmp/build-sdcv/CMakeFiles/CMakeOutput.log".
See also "/tmp/build-sdcv/CMakeFiles/CMakeError.log".

I have checked that the file /usr/include/glib-2.0/glib/gregex.h exists.

Could you help me to solve this problem.

CMakeError.log

konstare commented 1 year ago

Ok, I see now that i do not have readline.h. This is the error. After installing libreadline-dev everything works.