Nie przyklepuj komend bez zrozumienia co robią.
no właśnie linux czarna magia
ok dodałem do listy zaufanych źródeł
Ale po co? Trzeba kompilować własne pakiety ze źródeł kodu, a nie instalować gotowe pakiety z zaufanych źródeł (repozytoriów).
EDIT:
Chyba, że świadomie chcesz próbować z tymi pakietami .deb.
Tylko nie napisałeś nawet jaką masz bramkę, chodzi o architekturę.
Bramka ai-speaker dev3
~/ebusd-23.1 $ ./autogen.sh
bash: ./autogen.sh: Permission denied
co robię żle podpowiesz ?
ok dodałem sh i idzie cos
przechodzi daje komende make i mam tak
~/ebusd $ make
make all-recursive
make[1]: Entering directory ‘/data/data/com.termux/files/home/ebusd’
Making all in docs
make[2]: Entering directory ‘/data/data/com.termux/files/home/ebusd/docs’
make[2]: Nothing to be done for ‘all’.
make[2]: Leaving directory ‘/data/data/com.termux/files/home/ebusd/docs’
Making all in src/lib/utils
make[2]: Entering directory ‘/data/data/com.termux/files/home/ebusd/src/lib/utils’
CXX log.o
log.cpp:87:13: error: use of undeclared identifier ‘getsubopt’
int val = getsubopt(&opt, (char *const *)s_facilityNames, &value);
^
log.cpp:101:15: error: use of undeclared identifier ‘getsubopt’
int val = getsubopt(&opt, (char *const *)s_facilityNames, &value);
^
log.cpp:122:13: error: use of undeclared identifier ‘getsubopt’
int val = getsubopt(&opt, (char *const *)s_levelNames, &value);
^
3 errors generated.
make[2]: *** [Makefile:358: log.o] Error 1
make[2]: Leaving directory ‘/data/data/com.termux/files/home/ebusd/src/lib/utils’
make[1]: *** [Makefile:376: all-recursive] Error 1
make[1]: Leaving directory ‘/data/data/com.termux/files/home/ebusd’
make: *** [Makefile:317: all] Error 2
Tego się obawiałem, brakuje niektórych bibliotek.
Ja zrobiłem to tak:
- doinstalowałem
wget
~ $ pkg install wget
- ściągnąłem surowy kod ze strony projektu
~ $ wget https://github.com/john30/ebusd/archive/refs/tags/23.1.tar.gz
- Rozpakowałem go i w konsoli przeszedłem do powstałego z archiwum po rozpakowaniu katalogu
~ $ cd ebusd-23.1/
- pozostaje zmienić uprawnienia dla wykonania skryptu
./autogen.sh
i uruchomić go
~/ebusd-23.1 $ chmod +x autogen.sh
~/ebusd-23.1 $ ./autogen.sh
Wynik ja poniżej:
~/ebusd-23.1 $ chmod +x autogen.sh
~/ebusd-23.1 $ ./autogen.sh
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /data/data/com.termux/files/usr/bin/autoconf --force
configure.ac:9: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:9: You should run autoupdate.
/home/builder/.termux-build/autoconf/src/lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
configure.ac:9: the top level
configure.ac:95: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:95: You should run autoupdate.
/home/builder/.termux-build/autoconf/src/lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.ac:95: the top level
configure.ac:112: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:112: You should run autoupdate.
/home/builder/.termux-build/autoconf/src/lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
configure.ac:112: the top level
autoreconf: running: /data/data/com.termux/files/usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:175: installing 'build/ar-lib'
configure.ac:9: installing 'build/compile'
configure.ac:173: installing 'build/install-sh'
configure.ac:173: installing 'build/missing'
src/ebusd/Makefile.am: installing 'build/depcomp'
autoreconf: Leaving directory '.'
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for g++-6... no
checking for g++-5... no
checking for g++-4.9... no
checking for g++-4.8... no
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether g++ supports C++11 features by default... yes
checking for arpa/inet.h... yes
checking for dirent.h... yes
checking for fcntl.h... yes
checking for netdb.h... yes
checking for poll.h... yes
checking for pthread.h... yes
checking for sys/ioctl.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for time.h... yes
checking for termios.h... yes
checking for pthread_setname_np in -lpthread... yes
checking for clock_gettime in -lrt... yes
./configure: 5233: EXTRA_LIBS+=-lrt: not found
checking for pselect... yes
checking for ppoll... yes
checking for linux/serial.h... yes
checking for dev/usb/uftdiio.h... no
./configure: 5298: test: x: unexpected operator
checking for argp_parse... no
checking for argp_parse in -largp... no
configure: error: argp library not found, specify argp-standalone location in --with-argp-lib= and --with-argp-include= options.
~/ebusd-23.1 $
też trochę siedziałem i mi się kończy tak:
~ $ cd ebusd
~/ebusd $ ./autogen.sh
autoreconf: export WARNINGS=
autoreconf: Entering directory ‘.’
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /data/data/com.termux/files/usr/bin/autoconf --force
configure.ac:9: warning: The macro AC_GNU_SOURCE' is obsolete. configure.ac:9: You should run autoupdate. /home/builder/.termux-build/autoconf/src/lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... configure.ac:9: the top level configure.ac:95: warning: The macro
AC_TRY_RUN’ is obsolete.
configure.ac:95: You should run autoupdate.
/home/builder/.termux-build/autoconf/src/lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from…
configure.ac:95: the top level
configure.ac:112: warning: The macro `AC_TRY_RUN’ is obsolete.
configure.ac:112: You should run autoupdate.
/home/builder/.termux-build/autoconf/src/lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from…
configure.ac:112: the top level
autoreconf: running: /data/data/com.termux/files/usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory ‘.’
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether the compiler supports GNU C… yes
checking whether gcc accepts -g… yes
checking for gcc option to enable C11 features… none needed
checking whether gcc understands -c and -o together… yes
checking for stdio.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for strings.h… yes
checking for sys/stat.h… yes
checking for sys/types.h… yes
checking for unistd.h… yes
checking for wchar.h… yes
checking for minix/config.h… no
checking whether it is safe to define EXTENSIONS… yes
checking whether _XOPEN_SOURCE should be defined… no
checking for g+±6… no
checking for g+±5… no
checking for g+±4.9… no
checking for g+±4.8… no
checking for g++… g++
checking whether the compiler supports GNU C++… yes
checking whether g++ accepts -g… yes
checking for g++ option to enable C++11 features… none needed
checking whether g++ supports C++11 features by default… yes
checking for arpa/inet.h… yes
checking for dirent.h… yes
checking for fcntl.h… yes
checking for netdb.h… yes
checking for poll.h… yes
checking for pthread.h… yes
checking for sys/ioctl.h… yes
checking for sys/select.h… yes
checking for sys/time.h… yes
checking for syslog.h… yes
checking for time.h… yes
checking for termios.h… yes
checking for pthread_setname_np in -lpthread… yes
checking for clock_gettime in -lrt… yes
./configure: 5233: EXTRA_LIBS+=-lrt: not found
checking for pselect… yes
checking for ppoll… yes
checking for linux/serial.h… yes
checking for dev/usb/uftdiio.h… no
./configure: 5298: test: x: unexpected operator
checking for argp_parse… no
checking for argp_parse in -largp… yes
checking for argp.h… yes
checking for mosquitto_lib_init in -lmosquitto… yes
./configure: 5433: EXTRA_LIBS+= -lmosquitto: not found
./configure: 5530: test: x: unexpected operator
checking for OPENSSL_init_ssl in -lssl… yes
checking for CRYPTO_new_ex_data in -lcrypto… yes
checking for direct float format conversion… ./configure: 5678: [: x1: unexpected operator
./configure: 5708: [: x1: unexpected operator
yes
checking for doxygen… no
configure: WARNING: Doxygen not found - continuing without Doxygen support.
checking for a BSD-compatible install… /data/data/com.termux/files/usr/bin/install -c
checking whether build environment is sane… yes
checking for a race-free mkdir -p… /data/data/com.termux/files/usr/bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether make supports the include directive… yes (GNU style)
checking whether make supports nested variables… yes
checking dependency style of gcc… gcc3
checking dependency style of g++… gcc3
checking for ar… ar
checking the archiver (ar) interface… ar
checking for ranlib… ranlib
checking whether make supports nested variables… (cached) yes
checking that generated files are newer than configure… done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating src/lib/utils/Makefile
config.status: creating src/lib/ebus/Makefile
config.status: creating src/lib/ebus/test/Makefile
config.status: creating src/ebusd/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/lib/ebus/contrib/Makefile
config.status: creating src/lib/ebus/contrib/test/Makefile
config.status: creating src/lib/knx/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
A jak by tak na bramce postawić kontener ? myślisz że dało by radę ?
Nie - nie ma prostej metody zainstalowania Docker w Termux. Wymaga kompilacji jądra i wielu innych linuxowych czarów. Gra nie warta świeczki…