Hallo,
ich habe mir einen Raspi P3 mit dem aktuellen Image von https://www.raspberrypi.org/downloads/raspbian/ installiert RASPBIAN STRETCH LITE
Minimal image based on Debian Stretch
Version:August 2017
Release date:2017-08-16
Kernel version:4.9
Die Einrichtung ist soweit erfolgt, statische IP-Adresse ist vergeben.
eibd ist installiert und läuft - ich kann Telegramme vom Bus sehen und z.B. einen Aktor schalten.
Nun möchte ich noch linknx installieren. Ich habe einige Anleitungen gefunden, aber komme mit keiner zum Ziel.
Ich habe sowohl die Version 0.0.1.30 als auch 0.0.1.33 heruntergeladen und entpackt.
Je nach Anleitung erfolgt dann ein....
./configure make make install oder
./configure --enable-smtp --with-log4cpp --with-lua --with-mysql=/usr/bin/mysql_config make make install oder ./configure --without-log4cpp --without-lua --with-mysql=/usr/bin/mysql_config
make
make install
1) Welche Parameter sind sinnvoll bzw. braucht man?
2) ./configure wird durchlaufen, bei make gibts einige errors. Nachdem das über 1000 Zeilen sind, hab ich hier nur die ersten reinkopiert:
Wer kann weiterhelfen? Ich kann mit den error-Meldungen nichts anfangen. Fehlt hier etwas oder mache ich etwas falsch?
Danke,
Stefan
ich habe mir einen Raspi P3 mit dem aktuellen Image von https://www.raspberrypi.org/downloads/raspbian/ installiert RASPBIAN STRETCH LITE
Minimal image based on Debian Stretch
Version:August 2017
Release date:2017-08-16
Kernel version:4.9
Die Einrichtung ist soweit erfolgt, statische IP-Adresse ist vergeben.
eibd ist installiert und läuft - ich kann Telegramme vom Bus sehen und z.B. einen Aktor schalten.
Nun möchte ich noch linknx installieren. Ich habe einige Anleitungen gefunden, aber komme mit keiner zum Ziel.
Ich habe sowohl die Version 0.0.1.30 als auch 0.0.1.33 heruntergeladen und entpackt.
Je nach Anleitung erfolgt dann ein....
./configure make make install oder
./configure --enable-smtp --with-log4cpp --with-lua --with-mysql=/usr/bin/mysql_config make make install oder ./configure --without-log4cpp --without-lua --with-mysql=/usr/bin/mysql_config
make
make install
1) Welche Parameter sind sinnvoll bzw. braucht man?
2) ./configure wird durchlaufen, bei make gibts einige errors. Nachdem das über 1000 Zeilen sind, hab ich hier nur die ersten reinkopiert:
Code:
root@raspi3:~# cd ho[K[K/home/pi/linknx-0.0.1.30/ root@raspi3:/home/pi/linknx-0.0.1.30# make make all-recursive make[1]: Entering directory '/home/pi/linknx-0.0.1.30' Making all in ticpp make[2]: Entering directory '/home/pi/linknx-0.0.1.30/ticpp' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pi/linknx-0.0.1.30/ticpp' Making all in src make[2]: Entering directory '/home/pi/linknx-0.0.1.30/src' g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../ticpp -I/usr/local/include -I/usr/include/lua5.1 -g -O2 -MT suncalc.o -MD -MP -MF .deps/suncalc.Tpo -c -o suncalc.o suncalc.cpp In file included from [01m[K/usr/include/c++/6/math.h:36:0[m[K, from [01m[Ksuncalc.cpp:47[m[K: [01m[K/usr/include/c++/6/cmath:101:37:[m[K [01;31m[Kerror: [m[K‘[01m[K__is_integer[m[K’ was not declared in this scope typename __gnu_cxx::__enable_if<[01;31m[K__is_integer[m[K<_Tp>::__value, [01;31m[K^~~~~~~~~~~~[m[K [01m[K/usr/include/c++/6/cmath:101:37:[m[K [01;36m[Knote: [m[Ksuggested alternative: In file included from [01m[K/usr/include/c++/6/bits/stl_algobase.h:61:0[m[K, from [01m[K/usr/include/c++/6/list:60[m[K, from [01m[Ksuncalc.h:23[m[K, from [01m[Ksuncalc.cpp:25[m[K: [01m[K/usr/include/c++/6/bits/cpp_type_traits.h:127:12:[m[K [01;36m[Knote: [m[K ‘[01m[Kstd::__is_integer[m[K’ struct [01;36m[K__is_integer[m[K [01;36m[K^~~~~~~~~~~~[m[K In file included from [01m[K/usr/include/c++/6/math.h:36:0[m[K, from [01m[Ksuncalc.cpp:47[m[K: [01m[K/usr/include/c++/6/cmath:101:53:[m[K [01;31m[Kerror: [m[Kwrong number of template arguments (1, should be 2) typename __gnu_cxx::__enable_if<__is_integer<_Tp[01;31m[K>[m[K::__value, [01;31m[K^[m[K In file included from [01m[K/usr/include/c++/6/bits/stl_algobase.h:62:0[m[K, from [01m[K/usr/include/c++/6/list:60[m[K, from [01m[Ksuncalc.h:23[m[K, from [01m[Ksuncalc.cpp:25[m[K: [01m[K/usr/include/c++/6/ext/type_traits.h:45:12:[m[K [01;36m[Knote: [m[Kprovided for ‘[01m[Ktemplate<bool <anonymous>, class> struct __gnu_cxx::__enable_if[m[K’ struct [01;36m[K__enable_if[m[K [01;36m[K^~~~~~~~~~~[m[K In file included from [01m[K/usr/include/c++/6/math.h:36:0[m[K, from [01m[Ksuncalc.cpp:47[m[K: [01m[K/usr/include/c++/6/cmath:101:54:[m[K [01;31m[Kerror: [m[Kexpected identifier before ‘[01m[K::[m[K’ token typename __gnu_cxx::__enable_if<__is_integer<_Tp>[01;31m[K::[m[K__value, [01;31m[K^~[m[K [01m[K/usr/include/c++/6/cmath:101:56:[m[K [01;31m[Kerror: [m[Kdeclaration of ‘[01m[K__value[m[K’ not in a namespace surrounding ‘[01m[K::[m[K’ typename __gnu_cxx::__enable_if<__is_integer<_Tp>::[01;31m[K__value[m[K, [01;31m[K^~~~~~~[m[K [01m[K/usr/include/c++/6/cmath:101:56:[m[K [01;31m[Kerror: [m[K‘[01m[K__value[m[K’ should have been declared inside ‘[01m[K::[m[K’ [01m[K/usr/include/c++/6/cmath:101:56:[m[K [01;31m[Kerror: [m[K‘[01m[K__value[m[K’ declared as an ‘[01m[Kinline[m[K’ variable [01m[K/usr/include/c++/6/cmath:101:63:[m[K [01;31m[Kerror: [m[Kexpected ‘[01m[K;[m[K’ before ‘[01m[K,[m[K’ token typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value[01;31m[K,[m[K [01;31m[K^[m[K [01m[K/usr/include/c++/6/cmath:106:11:[m[K [01;31m[Kerror: [m[K‘[01m[K::acos[m[K’ has not been declared using ::[01;31m[Kacos[m[K; [01;31m[K^~~~[m[K [01m[K/usr/include/c++/6/cmath:120:37:[m[K [01;31m[Kerror: [m[K‘[01m[K__is_integer[m[K’ was not declared in this scope typename __gnu_cxx::__enable_if<[01;31m[K__is_integer[m[K<_Tp>::__value, [01;31m[K^~~~~~~~~~~~[m[K [01m[K/usr/include/c++/6/cmath:120:37:[m[K [01;36m[Knote: [m[Ksuggested alternative: In file included from [01m[K/usr/include/c++/6/bits/stl_algobase.h:61:0[m[K, from [01m[K/usr/include/c++/6/list:60[m[K, from [01m[Ksuncalc.h:23[m[K, from [01m[Ksuncalc.cpp:25[m[K: [01m[K/usr/include/c++/6/bits/cpp_type_traits.h:127:12:[m[K [01;36m[Knote: [m[K ‘[01m[Kstd::__is_integer[m[K’ struct [01;36m[K__is_integer[m[K [01;36m[K^~~~~~~~~~~~[m[K
Wer kann weiterhelfen? Ich kann mit den error-Meldungen nichts anfangen. Fehlt hier etwas oder mache ich etwas falsch?
Danke,
Stefan
Kommentar