Wednesday, November 16, 2011

Eroor in installation of speech tools

Error:make[2]: *** [matrix_i_t.o] Error 1 make[1]: *** [inst_tmpl] Error 2 make: *** [base_class] Error 2

Solution: 1. gcc 4.1 should work fine. please try it if you'll have problems and
suggest a patch. Also I'd be glad if you'll find a time to checkout
speech_tools and festival from svn and try to build them:

svn checkout http://svn.berlios.de/svnroot/repos/festlang/trunk/festival

svn checkout
http://svn.berlios.de/svnroot/repos/festlang/trunk/speech_tools

They should build fine. If not, please report about problems.

Source: http://lists.berlios.de/pipermail/festlang-talk/2008-October/001213.html

4 comments:

  1. Error: After 'make' command in the terminal the following error occurs

    tanvina-pc@tanvina-pc-desktop:~/speech/installations/speech_tools$ make

    Terminal: Making in directory ./siod ...
    gcc -c -fno-implicit-templates -O3 -Wall -DSUPPORT_EDITLINE -I../include -DINSTANTIATE_TEMPLATES siod.cc
    gcc: error trying to exec 'cc1plus': execvp: No such file or directory
    make[1]: *** [siod.o] Error 1
    make: *** [siod] Error 2

    On entering the solution from the manual:

    tanvina-pc@tanvina-pc-desktop:~/speech/installations/speech_tools$ sudo apt-get install g++

    Error: the following error occurs:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package g++ is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package g++ has no installation candidate

    ReplyDelete
    Replies
    1. i am getting exactly the same problem

      Delete
    2. did u get how to solve this problem...??
      if yes please let me know ..

      Delete
  2. at ubuntu 13.0 installation of gcc-4.6 and g++-4.6 works well.

    sudo apt-get install gcc-4.6
    sudo apt-get install g++-4.6

    However, even after successful installation, when you run gcc or g++ commands, it says they are not installed.

    solution: adding a symbolic link in the /usr/local/bin folder. So first change to the folder: cd /usr/local/bin then add a symbolic link: ln -s .
    eg: ln -s gcc-4.6 gcc
    ln -s g++-4.6 g++

    ReplyDelete