Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Deutsches Forum (German)
  • Search

kann keine VOIP-Software auf meinem RPI64-bit kompilieren

Support-Forum
Diskussionen rund um Installation, Betrieb und Anpassungen von Gentoo und dessen Paketen sowie dabei auftretenden (technischen) Problemen.
Deutsches Portal: www.gentoo.de
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
Author
Message
amxyz
n00b
n00b
Posts: 29
Joined: Wed May 13, 2020 12:13 pm
Location: Turin

kann keine VOIP-Software auf meinem RPI64-bit kompilieren

  • Quote

Post by amxyz » Mon Jun 08, 2020 11:37 pm

Hallo,

ich habe einen Raspberry PI 4, auf dem Gentoo 64 Bit läuft. Da ich ein softphone brauche, weil ich sonst kein anderes telephon habe, hatte ich versucht yate, linphone sowie twinkle auf dem Raspi zu kompilieren. Twinkle und yate funktionieren aber nur, wenn commoncpp2 installiert ist.

Commoncpp2 habe ich vom gnu-server heruntergeladen: http://gnu.mirror.iweb.com/commoncpp/. Ich wollte die aktuelle version 2.1.8 installieren.

ich habe die folgenden befehle eingegeben, um commoncpp2 zu kompilieren:

Code: Select all

./configure --build=aarch64-unknown-linux-gnu

Code: Select all

make
make all-recursive
make[1]: Entering directory '/home/angie/Downloads/commoncpp2-1.8.1'
Making all in inc
make[2]: Entering directory '/home/angie/Downloads/commoncpp2-1.8.1/inc'
Making all in cc++
make[3]: Entering directory '/home/angie/Downloads/commoncpp2-1.8.1/inc/cc++'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/angie/Downloads/commoncpp2-1.8.1/inc/cc++'
make[3]: Entering directory '/home/angie/Downloads/commoncpp2-1.8.1/inc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/angie/Downloads/commoncpp2-1.8.1/inc'
make[2]: Leaving directory '/home/angie/Downloads/commoncpp2-1.8.1/inc'
Making all in src
make[2]: Entering directory '/home/angie/Downloads/commoncpp2-1.8.1/src'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -g -O2 -MT thread.lo -MD -MP -MF .deps/thread.Tpo -c -o thread.lo thread.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -g -O2 -MT thread.lo -MD -MP -MF .deps/thread.Tpo -c thread.cpp -fPIC -DPIC -o .libs/thread.o
In file included from ../inc/cc++/thread.h:50,
from thread.cpp:41:
../inc/cc++/string.h:734:35: error: friend declaration of ‘std::istream& getline(std::istream&, ost::String&, char, size_t)’ specifies default arguments and isn’t a definition [-fpermissive]
734 | friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0);
| ^~~~~~~
make[2]: *** [Makefile:545: thread.lo] Error 1
make[2]: Leaving directory '/home/angie/Downloads/commoncpp2-1.8.1/src'
make[1]: *** [Makefile:379: all-recursive] Error 1
make[1]: Leaving directory '/home/angie/Downloads/commoncpp2-1.8.1'
make: *** [Makefile:304: all] Error 2
Bei Linphone habe ich die neuesten quellen heruntergeladen und bin den anweisungen gefolgt. Unter anderem habe ich folgendes gemacht:

Code: Select all

$  pip install pystache
Das hat auch gut funktioniert.

Dann habe ich ein build-verzeichnis erstellt und dort folgenden befehl eingegeben:

Code: Select all

$ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
Die CMake-Datei wurde erstellt.

Und wenn ich folgenden Befehl eingebe, bricht die Compilierung bald ab:

Code: Select all

cmake --build . --target all
CMake Error at cmake/LinphoneSdkUtils.cmake:218 (message):
'pystache' python module not found
Call Stack (most recent call first):
cmake/LinphoneSdkCheckBuildToolsCommon.cmake:32 (linphone_sdk_check_python_module_is_installed)
cmake/LinphoneSdkCheckBuildToolsDesktop.cmake:23 (include)
cmake/LinphoneSdkPlatformDesktop.cmake:24 (include)
CMakeLists.txt:78 (include)


-- Configuring incomplete, errors occurred!
See also "/home/angie/Downloads/linphone-desktop/build/WORK/CMakeFiles/CMakeOutput.log".
gmake[2]: *** [CMakeFiles/sdk.dir/build.make:108: WORK/stamp/sdk-configure] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:136: CMakeFiles/sdk.dir/all] Error 2
gmake: *** [Makefile:84: all] Error 2

Code: Select all

cat linphone-install-dir/WORK/CMakeFiles/CMakeOutput.log
The system is: Linux - 4.19.120-v8+ - aarch64
Die CMakeLists.txt ist hier verfügbar: https://pastebin.com/SxkSTGVS

Ich weiß einfach nicht, wie ich linphone mitteilen soll, dass ich pystache sowohl für python2 als auch python3 installiert habe und das es vorhanden ist. beim kompilieren erscheint ständig der fehler, dass pystache nicht installiert ist.
Top
amxyz
n00b
n00b
Posts: 29
Joined: Wed May 13, 2020 12:13 pm
Location: Turin

  • Quote

Post by amxyz » Tue Jun 09, 2020 12:21 am

Mittlerweile findet der installer pystache und six, aber der bricht dennoch die Kompilierung von linphone ab:
[ 7%] Completed 'EP_bv16'
[ 7%] Built target EP_bv16
Scanning dependencies of target EP_vpx
[ 7%] Creating directories for 'EP_vpx'
[ 8%] No download step for 'EP_vpx'
[ 8%] No patch step for 'EP_vpx'
[ 8%] No update step for 'EP_vpx'
[ 9%] Performing configure step for 'EP_vpx'
disabling static
enabling shared
enabling error_concealment
enabling realtime_only
enabling vp8
disabling vp9
disabling install_docs
disabling debug_libs
disabling examples
disabling unit_tests
disabling tools
Configuring for target 'x86_64-linux-gcc'
enabling x86_64
enabling pic
enabling runtime_cpu_detect
using yasm
enabling postproc
Unable to invoke compiler: /usr/bin/cc -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.log) to determine what
configure was trying to do when it died.
gmake[8]: *** [CMakeFiles/EP_vpx.dir/build.make:108: /home/angie/Downloads/linphone-desktop/build/WORK/WORK/desktop/Stamp/EP_vpx/EP_vpx-configure] Error 1
gmake[7]: *** [CMakeFiles/Makefile2:544: CMakeFiles/EP_vpx.dir/all] Error 2
gmake[6]: *** [Makefile:84: all] Error 2
gmake[5]: *** [CMakeFiles/sdk.dir/build.make:114: sdk-prefix/src/sdk-stamp/sdk-build] Error 2
gmake[4]: *** [CMakeFiles/Makefile2:76: CMakeFiles/sdk.dir/all] Error 2
gmake[3]: *** [Makefile:84: all] Error 2
gmake[2]: *** [CMakeFiles/sdk.dir/build.make:114: WORK/stamp/sdk-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:136: CMakeFiles/sdk.dir/all] Error 2
gmake: *** [Makefile:84: all] Error 2
[/code]

wie kann ich jetzt linphone fehlerfrei kompilieren? ich bräuchte einen voip-client auf dem rechner.
Top
amxyz
n00b
n00b
Posts: 29
Joined: Wed May 13, 2020 12:13 pm
Location: Turin

  • Quote

Post by amxyz » Mon Jun 15, 2020 1:35 am

Ich konnte nach mehreren Anläufen zumindest Twinkle zum Laufen bringen. Schade ist einfach, dass mir keiner helfen konnte. Ich bin was das Kompilieren von Programmen angeht, wirklich nur ein Leie.
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Mon Jun 15, 2020 2:19 am

Ich konnte nach mehreren Anläufen zumindest Twinkle zum Laufen bringen. Schade ist einfach, dass mir keiner helfen konnte.
Ich hätte Dir gerne geholfen, aber ich wusste nicht wie. Wir hatten vor kurzem schon einen Thread zu dem Thema "VoIP Softphones unter Linux", aber da kam auch nichts bei heraus.

Vor 10 Jahres gab es ein paar VoIP Softphones unter Linux und Gentoo (beispielsweise Ekiga). Aber die wurden nicht weiterentwickelt und sind dann aus dem Portage Tree herausgeflogen. Es sieht leider ziemlich trostlos aus unter Linux. Ich glaube auch nicht, dass das nochmal besser werden wird. Das Thema "VoIP Softphones unter Linux" ist meines Erachtens durch. Die Leute haben Smartphones, im Business-Bereich nutzen alle Windows und ansonsten gibt es gute und preiswerte VoIP Telefone. Es gibt also kaum Bedarf. Weiterhin wäre Entwicklung und Pflege eines guten VoIP Softphones unter Linux aufwändig und zeitintensiv - und da hat niemand Lust zu.

Eine Sache kann ich noch anmerken: es wird geraten, Software nur dann in die System-Verzeichnisse wie /bin, /usr/bin, usw. zu installieren, wenn man portage (emerge) dafür verwendet. Wenn man auch selbst compilierte Software in diese Verzeichnisse installiert, kann es Durcheinander und Probleme geben. Es ist auch sehr schwierig, solche Software wieder zu löschen.

Manche Gentoo Nutzer empfehlen, Software grundsätzlich nur über ebuilds zu installieren und sich bei Bedarf selbst ebuilds zu schreiben. Das ist sicherlich die sauberste Lösung - aber nicht jeder kann ebuilds schreiben oder hat die Zeit dafür. Eine Alternative ist, Software nach /usr/local zu installieren. Bei configure muss man dafür den Parameter

Code: Select all

--prefix=/usr/local
angeben. Diese Methode kann u.U. Probleme verursachen - aber sie ist schon deutlich besser, als Software in die System-Verzeichnisse zu installieren.
Top
alexander_ro
Guru
Guru
User avatar
Posts: 427
Joined: Sat Nov 22, 2014 12:02 pm

  • Quote

Post by alexander_ro » Thu Jun 18, 2020 8:13 am

Heißt das nicht das der den Compiler nicht findet oder unter diesem Namen nicht findet?

Code: Select all

Unable to invoke compiler: /usr/bin/cc 
Top
Dragonix
Apprentice
Apprentice
Posts: 253
Joined: Sun May 21, 2006 6:18 pm
Location: Germany

  • Quote

Post by Dragonix » Thu Jun 18, 2020 8:05 pm

amxyz wrote:yate, linphone sowie twinkle
Ich hab neulich auch ein (SIP) Softphone gebraucht und quasi nix zum laufen gebracht. Am Schluss bin dann bei baresip gelandet. Hat für meine Zwecke funktioniert und es fliegen auch irgendwo ebuilds rum.
Top
alexander_ro
Guru
Guru
User avatar
Posts: 427
Joined: Sat Nov 22, 2014 12:02 pm

  • Quote

Post by alexander_ro » Thu Jun 18, 2020 8:15 pm

Ja das habe ich gelesen und in Deinem letzten Post für linphone in den Ausgaben sagt er das er /usr/bin/cc nicht finden kann. Das ist der Compiler den er benutzen will und den gibt es bei Dir laut der Fehlermeldung nicht. Oder Berechtigungen sind falsch.

Ohne Compiler wird das nix mit Paket bauen. Ich weiß ja nun nicht ob es noch interessiert aber Du müsstest halt mal schauen ob die Datei cc unter /usr/bin existiert. Gut möglich das es ein Symlink ist der muss dann aber auf eine existierende Datei zeugen.
Top
Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Deutsches Forum (German)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic