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-gnuCode: Select all
makeBei Linphone habe ich die neuesten quellen heruntergeladen und bin den anweisungen gefolgt. Unter anderem habe ich folgendes gemacht: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
Code: Select all
$ pip install pystacheDann habe ich ein build-verzeichnis erstellt und dort folgenden befehl eingegeben:
Code: Select all
$ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfoUnd wenn ich folgenden Befehl eingebe, bricht die Compilierung bald ab:
Code: Select all
cmake --build . --target allCMake 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.logDie CMakeLists.txt ist hier verfügbar: https://pastebin.com/SxkSTGVSThe system is: Linux - 4.19.120-v8+ - aarch64
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.



