Thanks Marcelo. My development environment is broken, so I am working to correct that before going further with gnuspeech_sa. Will let you know how it turns out.
Regards, --Paul On Sun, 2015-11-15 at 17:47 -0200, Marcelo Y. Matuda wrote: > Hi, > > > Begin forwarded message: > > > >> *From: *Paul Tyson <[email protected] <mailto:[email protected]>> > >> *Subject: **[gnuspeech-contact] gnuspeechsa cmake problems* > >> *Date: *November 14, 2015 10:01:51 AM PST > >> *To: *gnuspeech <[email protected] > >> <mailto:[email protected]>> > >> > >> 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 > > The changes are ok. But you need to check if your distribution uses lib > or lib64. > > Marcelo > > > _______________________________________________ > gnuspeech-contact mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/gnuspeech-contact _______________________________________________ gnuspeech-contact mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnuspeech-contact
