Strona 2 z 2

Re: SUPLA-Dev na Docker

: śr lip 17, 2019 11:58 am
autor: cino111
Działam, ale brakuje jakiejś biblioteki. Jak ją zainstalować?

Kod: Zaznacz cały

pi@raspberrypi:~/supla-core/supla-dev/Release $ make all
Building file: ../src/supla-socket.c
Invoking: Cross GCC Compiler
gcc -I/usr/src/openssl/include -O3 -Wall -fsigned-char  -c -fmessage-length=0 -MMD -MP -MF"src/supla-socket.d" -MT"src/supla-socket.o" -o "src/supla-socket.o" "../src/supla-socket.c"
../src/supla-socket.c:42:25: fatal error: openssl/err.h: No such file or directory
 #include <openssl/err.h>
                         ^
compilation terminated.
src/subdir.mk:98: recipe for target 'src/supla-socket.o' failed
make: *** [src/supla-socket.o] Error 1

Re: SUPLA-Dev na Docker

: śr lip 17, 2019 12:03 pm
autor: pzygmunt

Kod: Zaznacz cały

apt-get install libssl-dev

Re: SUPLA-Dev na Docker

: śr lip 17, 2019 12:26 pm
autor: cino111

Kod: Zaznacz cały

root@raspberrypi:/home/pi/supla-core/supla-dev/Release# apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libssl-doc libssl1.1
The following NEW packages will be installed:
  libssl-dev libssl-doc
The following packages will be upgraded:
  libssl1.1
1 upgraded, 2 newly installed, 0 to remove and 34 not upgraded.
Need to get 3,974 kB of archives.
After this operation, 9,887 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libssl1.1 armhf 1.1.0j-1~deb9u1
  404  Not Found
Err:2 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libssl-dev armhf 1.1.0j-1~deb9u1
  404  Not Found
Err:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libssl-doc all 1.1.0j-1~deb9u1
  404  Not Found
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/o/openssl/libssl1.1_1.1.0j-1~deb9u1_armhf.deb  404  Not Found
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/o/openssl/libssl-dev_1.1.0j-1~deb9u1_armhf.deb  404  Not Found
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/o/openssl/libssl-doc_1.1.0j-1~deb9u1_all.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@raspberrypi:/home/pi/supla-core/supla-dev/Release#

Re: SUPLA-Dev na Docker

: śr lip 17, 2019 12:27 pm
autor: pzygmunt

Kod: Zaznacz cały

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libssl-dev

Re: SUPLA-Dev na Docker

: śr lip 17, 2019 3:25 pm
autor: cino111
Wpisałem w config IP serwera, ID lokalizacji i hasło. Kanały zostawiłem tak jak było. Do RPI nic nie podłączałem. Nie można wejść na clouda - nie wyświetla się strona

Kod: Zaznacz cały

pi@raspberrypi:~/supla-core/supla-dev/Release $ ./supla-dev -c ./supla.cfg
ERR[1563376689.831755] Can't set GPIO port parameters. Port number 27
ERR[1563376689.832449] Can't set GPIO port parameters. Port number 22
ERR[1563376689.833002] Can't set GPIO port parameters. Port number 17
ERR[1563376689.833601] Can't set GPIO port parameters. Port number 24
ERR[1563376689.834215] Can't set GPIO port parameters. Port number 23
ERR[1563376689.834822] Can't set GPIO port parameters. Port number 18
INFO[1563376689.835616] SSL version: OpenSSL 1.1.0k  28 May 2019


Re: SUPLA-Dev na Docker

: czw lip 18, 2019 8:24 pm
autor: fracz
Chyba chodzi o to że Twoja malina nie ma tak wysokich GPIO?

Re: SUPLA-Dev na Docker

: czw lip 18, 2019 9:33 pm
autor: cino111
Hmmm. Chcialem stworzyć wirtualne. Czyli np 100, 101 itd nie wchodzą w grę?