gnuspeech-contact
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuspeech-contact] gnuspeechsa cmake problems


From: Paul Tyson
Subject: [gnuspeech-contact] gnuspeechsa cmake problems
Date: Sat, 14 Nov 2015 12:01:51 -0600

I'm trying to build gnuspeechsa-0.1.5 on a generic Linux system.

$ cmake -D CMAKE_BUILD_TYPE=Release $pkg_dir

results in following console output indicating error:
=======================
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:133 (include):
  include could not find load file:

    GNUInstallDirs


CMake Error at CMakeLists.txt:134 (install):
  install TARGETS given no LIBRARY DESTINATION for shared library target
  "gnuspeechsa".


-- Configuring incomplete, errors occurred!
====================

If I change lines 132-135 of CMakeLists.txt to look like this, cmake
runs successully.

========= CMakeLists.txt 132-135 =========================
#    include(GNUInstallDirs)
    install(TARGETS gnuspeechsa gnuspeech_sa gnuspeech_sa_trm
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION lib) #${CMAKE_INSTALL_LIBDIR})
===========================================================

I do not know cmake at all. Will these changes cause a problem with the
build? Do "GNUInstallDirs" and CMAKE_INSTALL_LIBDIR need to be defined
in the CMakeLists.txt file?

Thanks,
--Paul






reply via email to

[Prev in Thread] Current Thread [Next in Thread]