Hallo,
auf die Bitte von Adi schreibe ich es mal hier ins Forum.
Ich habe mich heute mal an Cmake versucht. Nur leider ging dieses nicht so gut.
Ich habe mich an die Anleitung der svxlink.de Seite gehalten, bekomme aber folgende probleme.
QuoteDisplay Moredebian@debian:~$ git clone https://github.com/sm0svx/svxlink.git
Cloning into 'svxlink'...
remote: Counting objects: 22249, done.
remote: Total 22249 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (22249/22249), 5.87 MiB | 1.65 MiB/s, done.
Resolving deltas: 100% (15110/15110), done.
debian@debian:~$ cd svxlink
debian@debian:~/svxlink$ cd src
debian@debian:~/svxlink/src$ mkdir build
debian@debian:~/svxlink/src$ cd build
debian@debian:~/svxlink/src/build$ cmake -DUSE_QT=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DLOCAL_STATE_DIR=/var ..
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- 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
-- Reading versions file...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'sigc++-2.0'
-- found sigc++-2.0, version 2.2.10
-- Found SIGC2: /usr/lib/i386-linux-gnu/libsigc-2.0.so
-- Found chown: /bin/chown
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found components for RT
-- RT_INCLUDES = /usr/include
-- RT_LIBRARIES = /usr/lib/i386-linux-gnu/librt.so
-- Found SPEEX: /usr/lib/i386-linux-gnu/libspeex.so
-- Could NOT find OPUS (missing: Opus_LIBRARY Opus_INCLUDE_DIR)
-- checking for module 'alsa'
-- found alsa, version 1.0.25
-- Found ALSA 1.0.25
-- checking for module 'popt'
-- found popt, version 1.16
-- Found Popt: /usr/lib/i386-linux-gnu/libpopt.so
-- Found GCrypt: /lib/i386-linux-gnu/libgcrypt.so
-- Found Popt: /usr/lib/i386-linux-gnu/libpopt.so
-- Found Tclsh: /usr/bin/tclsh (found version "8.5")
-- Found TCL: /usr/lib/libtcl.so
-- Could NOT find TCLTK (missing: TK_LIBRARY TK_INCLUDE_PATH)
-- Could NOT find TK (missing: TK_LIBRARY TK_INCLUDE_PATH)
-- Found components for DL
-- DL_INCLUDES = /usr/include
-- DL_LIBRARIES = /usr/lib/i386-linux-gnu/libdl.so
-- Could NOT find TCLTK (missing: TK_LIBRARY TK_INCLUDE_PATH)
-- Could NOT find TK (missing: TK_LIBRARY TK_INCLUDE_PATH)
-- Found Popt: /usr/lib/i386-linux-gnu/libpopt.so
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/svxlink/src/build
debian@debian:~/svxlink/src/build$ make release
make: *** Keine Regel, um »release« zu erstellen. Schluss.
debian@debian:~/svxlink/src/build$
Dieses nur als Info
QuoteDisplay Moredebian@debian:~$ apt-get install gcc g++ make cmake libgcrypt-dev libgsm1-dev libsigc++-2.0-dev tcl-dev libspeex-dev libasound2-dev libpopt-dev libssl-dev
E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
debian@debian:~$ su
Passwort:
root@debian:/home/debian# apt-get install gcc g++ make cmake libgcrypt-dev libgsm1-dev libsigc++-2.0-dev tcl-dev libspeex-dev libasound2-dev libpopt-dev libssl-dev
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Hinweis: »libgcrypt11-dev« wird an Stelle von »libgcrypt-dev« gewählt.
libasound2-dev ist schon die neueste Version.
cmake ist schon die neueste Version.
g++ ist schon die neueste Version.
gcc ist schon die neueste Version.
libgsm1-dev ist schon die neueste Version.
libsigc++-2.0-dev ist schon die neueste Version.
make ist schon die neueste Version.
libpopt-dev ist schon die neueste Version.
libspeex-dev ist schon die neueste Version.
tcl-dev ist schon die neueste Version.
libgcrypt11-dev ist schon die neueste Version.
libssl-dev ist schon die neueste Version.
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
python-scapy python-sqlalchemy python-sqlalchemy-ext
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
root@debian:/home/debian#
Würde mich freuen wenn mir da jemand helfen könnte
Danke
73
SA7BNT
Tim