Posts Tagged ‘node24’

git clone the development version

Saturday, May 1st, 2010

I made a fresh install of Ubuntu 10.04 (because the upgrade from Ubuntu 9.10 to 10.04 introduced an error on my computer that I don’t know how to fix). This means that I have to git the simon development version via the Ubuntu terminal:

$ git clone git://speech2text.git.sourceforge.net/gitroot/speech2text/speech2text

And now:

ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$ ./build_ubuntu.sh
./build_ubuntu.sh: line 6: cmake: command not found
touch: cannot touch `./julius/gramtools/mkdfa/mkfa-1.44-flex/*': No such file or directory
ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$

Obviously, the command cmake is missing. I have to install it via the Ubuntu terminal:

ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$ sudo apt-get install cmake

I am trying to install simon again, but the installation is failing again:

ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$ ./build_ubuntu.sh
– The C compiler identification is GNU
– The CXX compiler identification is unknown
– 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
CMake Error: your CXX compiler: “CMAKE_CXX_COMPILER-NOTFOUND” was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at cmake/FindPortaudio.cmake:63 (message):
Could not find Portaudio
Call Stack (most recent call first):
julius/libsent/CMakeLists.txt:2 (find_package)

– Configuring incomplete, errors occurred!
touch: cannot touch `./julius/gramtools/mkdfa/mkfa-1.44-flex/*’: No such file or directory
ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$

I am reading this post. Is it necessary to add ppa:kubuntu-ppa/backports via System > Administration > Software Sources > Other Software, press Add...?

kubuntu-ppa-backports

Is it necessary to install ppa:kubuntu-ppa-backports as source when you have Ubuntu 10.04 installed?

I think that I should do something different, so I am trying System > Administration > Synaptic Package Manager. I am installing now portaudio19-dev via Synaptic. And now, a different problem occurs:

ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$ ./build_ubuntu.sh
– The CXX compiler identification is unknown
CMake Error: your CXX compiler: “CMAKE_CXX_COMPILER-NOTFOUND” was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
– Found Portaudio: /usr/lib/libportaudio.so
CMake Error at cmake/FindZLIB.cmake:25 (MESSAGE):
Could not find ZLIB
Call Stack (most recent call first):
julius/libsent/CMakeLists.txt:3 (find_package)

– Configuring incomplete, errors occurred!
touch: cannot touch `./julius/gramtools/mkdfa/mkfa-1.44-flex/*’: No such file or directory
ubuntu@ubuntu-desktop:~/Documents/201005/speech2text$

I am now reading the requirements in the simon wiki. Maybe I should type the following command into the Ubuntu terminal:

sudo apt-get install subversion build-essential cmake bison flex gettext gettext-kde kdeartwork \
kdelibs5-dev portaudio19-dev libxtst-dev libqt4-sql-sqlite libqt4-phonon-dev julius libattica-dev libattica0

So, I have to wait a few minutes until these packages are installed. Then I try it again, but the ZLIB error still occurs. I am now installing zlibc via Synaptic, then try ./build_ubuntu.sh again, but the ZLIB error isn’t gone. I don’t know what to do now. What should I do next?

build_ubuntu.sh failed

Friday, April 23rd, 2010

A few minutes ago, I made a partial upgrade of my Ubuntu system. Then I restarted my computer, and I tried to get the current simon version. This happened in my Ubuntu terminal:

1. I pulled the current development version:

am3msi@am3msi-desktop:~/Documents/201001/speech2text$ git pull origin master

2. Then I tried to build simon:

am3msi@am3msi-desktop:~/Documents/201001/speech2text$ ./build_ubuntu.sh

3. Then this message was displayed:

[ 28%] Built target eventsimulation
[ 28%] Built target simonddatabaseaccess_automoc
Scanning dependencies of target simonddatabaseaccess
[ 28%] Building CXX object simonlib/simonddatabaseaccess/CMakeFiles/simonddatabaseaccess.dir/simonddatabaseaccess_automoc.o
[ 28%] Building CXX object simonlib/simonddatabaseaccess/CMakeFiles/simonddatabaseaccess.dir/databaseaccess.o
make[2]: *** No rule to make target `/usr/lib/libXrender.so', needed by `lib/libsimonddatabaseaccess.so.4.4.0'. Stop.
make[1]: *** [simonlib/simonddatabaseaccess/CMakeFiles/simonddatabaseaccess.dir/all] Error 2
make: *** [all] Error 2
[ 17%] Built target sent
[ 23%] Built target julius
[ 25%] Built target juliusexe
[ 25%] Built target juliussimple
[ 25%] Built target adintool
[ 26%] Built target mkbinhmmexe
[ 26%] Built target mkbinhmmlistexe
[ 26%] Built target dfa_minimize
[ 27%] Built target mkfa
[ 27%] Built target translations
[ 27%] Built target eventsimulation_automoc
[ 28%] Built target eventsimulation
[ 28%] Built target simonddatabaseaccess_automoc
make[2]: *** No rule to make target `/usr/lib/libXrender.so', needed by `lib/libsimonddatabaseaccess.so.4.4.0'. Stop.
make[1]: *** [simonlib/simonddatabaseaccess/CMakeFiles/simonddatabaseaccess.dir/all] Error 2
make: *** [all] Error 2
am3msi@am3msi-desktop:~/Documents/201001/speech2text$

4. At least it seams that the issue with kdelibs version 4.3.95 has been solved by running the partial upgrade of Ubuntu.

“kdelibs version 4.3.95 is too old”

Friday, April 16th, 2010

When I type ./build_ubuntu.sh into the Ubuntu terminal (after getting the current simon development version with git pull origin master), the message "the installed kdelibs version 4.3.95 is too old, at least version 4.4.0 is required" occurs. I think that I will wait until Ubuntu 10.04 has been released, and then try again.

Edit: I removed the beta ppa (via System > Administration > Software Sources > Other Software). And now I am adding ppa:kubuntu-ppa/backports. I will see whether it will work out. I am now making an Ubuntu update: 256 MB are being downloaded. Obviously, adding ppa:kubuntu-ppa/backports causes my computer to download a lot of additional package files.

Configuring incomplete, errors occurred

Friday, February 26th, 2010

This happened a couple of minutes ago in the Ubuntu terminal:

am3msi@am3msi-desktop:~$ cd Documents/201001/speech2text
am3msi@am3msi-desktop:~/Documents/201001/speech2text$ git pull origin master (more…)