gnuspeech-contact
[Top][All Lists]
Advanced

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

Re: [gnuspeech-contact] Fwd: gnuspeechsa cmake problems


From: Paul Tyson
Subject: Re: [gnuspeech-contact] Fwd: gnuspeechsa cmake problems
Date: Mon, 16 Nov 2015 20:39:57 -0600

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 <address@hidden <mailto:address@hidden>>
> >> *Subject: **[gnuspeech-contact] gnuspeechsa cmake problems*
> >> *Date: *November 14, 2015 10:01:51 AM PST
> >> *To: *gnuspeech <address@hidden
> >> <mailto:address@hidden>>
> >>
> >> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnuspeech-contact





reply via email to

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