ubuntuusers.de

simon compilieren

Datum:
8. April 2013 13:53
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ich will das 'speech2text' Programm 'Simon' in der Version 0.4 installieren. 

Dazu habe ich die Datei simon-0.4.0.tar.bz2 mit dem Quellcode heruntergeladen und entpackt.
In der README im Ordner steht ich soll die Datei build.sh benutzen (es ist auch eine build_ubuntu.sh enthalten, die ich verwendet habe)

***********************************
build_ubuntu.sh:
#!/bin/bash

# This script will build and install simon

mkdir build 2> /dev/null
cd build && cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. && make && sudo make install && sudo ldconfig && kbuildsycoca4 && echo -e "**** Build completed ****\n\nThe executable file \"simon\" is now ready and has been installed.\n\nIssue \"simon\" to start it."
***********************************

Das Ausführen von build_ubuntu.sh ergibt jedoch den Fehler:
************************************************
sh build_ubuntu.sh
CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/zampano/.kde/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:17 (find_package)


-- Configuring incomplete, errors occurred!
************************************************

Ich habe aber kein KDE, sondern Unity/Gnome installiert. Der Ordner /home/user/.KDE existiert auch nicht.

Was nun ??