Odp: Problem z kompilacją Domoticz
I jeszcze przez odinstaluj: libpolarssl, libcurl, domoticz, libusb-compat i pozwól mu automatycznie to zainstalować.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Problem z kompilacją Domoticz
Strony Poprzednia 1 2 3 4 5 6 7 8 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
I jeszcze przez odinstaluj: libpolarssl, libcurl, domoticz, libusb-compat i pozwól mu automatycznie to zainstalować.
chyba się wykrzaczyło wszystko przy odinstalowywaniu
root@Piratee:~# opkg remove libusb-compat
Removing package libusb-compat from root...
Collected errors:
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_base http://dow nloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_packages http:/ /downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages). S kipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_routing http:// downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/routing). Ski pping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_telephony http: //downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/telephony). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_management http
/downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/management ). Skipping.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libstdcpp.list: N o such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/udev.list: No suc h file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpolarssl.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libusb-compat.lis t: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libusb-compat.lis t: No such file or directory.
zatrzymuje się cały czas na tym samym
root@Piratee:~# opkg install /overlay/samba/domoticz_3.5877-1_ar71xx.ipk
Installing domoticz (3.5877-1) to root...
Installing libusb-compat (0.1.4-1) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … r71xx.ipk.
Installing libcurl (7.40.0-3.2) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … r71xx.ipk.
Configuring libcurl.
Configuring libusb-compat.
Configuring domoticz.
/opt/domoticz/domoticz: can't load library 'libudev.so.0'
Collected errors:
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_base http://downloads.openwrt.org/chaos_calm … ges/base). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_packages http://downloads.openwrt.org/chaos_calm … packages). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_routing http://downloads.openwrt.org/chaos_calm … /routing). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_telephony http://downloads.openwrt.org/chaos_calm … elephony). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_management http://downloads.openwrt.org/chaos_calm … nagement). Skipping.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libstdcpp.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/udev.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpolarssl.list: No such file or directory.
* pkg_run_script: package "domoticz" postinst script returned status 16.
* opkg_configure: domoticz.postinst returned 16.
udev jeszcze odinstaluj wcześniej, tak samo libstdcpp i libpolarssl
Dobra na dzisaj mój czas i cierpliwość się skończyła, dalej przez bibliotekę
libusb-0.1.so.4' i 'libudev.so.0' wszystko się wykrzacza.
Jutro przejdę ścieżkę jeszcze raz:
firstboot
restart
extroot
opgk update
opkg innstall opkg
i dopiero instalacja domoticz-a
zobaczymy co będzie
Poniżej logi z próby instalacji po odinstalowaniu pakietów
root@Piratee:~# opkg install /overlay/samba/openzwave_1.4.2279-1_ar71xx.ipk
Installing openzwave (1.4.2279-1) to root...
Configuring openzwave.
Configuring domoticz.
/opt/domoticz/domoticz: can't load library 'libusb-0.1.so.4'
Collected errors:
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_base http://downloads.openwrt.org/chaos_calm … ges/base). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_packages http://downloads.openwrt.org/chaos_calm … packages). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_routing http://downloads.openwrt.org/chaos_calm … /routing). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_telephony http://downloads.openwrt.org/chaos_calm … elephony). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_management http://downloads.openwrt.org/chaos_calm … nagement). Skipping.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libstdcpp.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/udev.list: No such file or directory.
* pkg_run_script: package "domoticz" postinst script returned status 16.
* opkg_configure: domoticz.postinst returned 16.
root@Piratee:~# opkg install /overlay/samba/dom
^[[AUnknown package '/overlay/samba/dom'.
^CInterrupted. Writing out status database.
root@Piratee:~#
root@Piratee:~# opkg install /overlay/samba/domoticz_3.5877-1_ar71xx.ipk
Installing domoticz (3.5877-1) to root...
Installing libusb-compat (0.1.4-1) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … r71xx.ipk.
Installing libcurl (7.40.0-3.2) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … r71xx.ipk.
Configuring libcurl.
Configuring libusb-compat.
Configuring domoticz.
/opt/domoticz/domoticz: can't load library 'libudev.so.0'
Collected errors:
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_base http://downloads.openwrt.org/chaos_calm … ges/base). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_packages http://downloads.openwrt.org/chaos_calm … packages). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_routing http://downloads.openwrt.org/chaos_calm … /routing). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_telephony http://downloads.openwrt.org/chaos_calm … elephony). Skipping.
* opkg_conf_parse_file: Duplicate src declaration (chaos_calmer_management http://downloads.openwrt.org/chaos_calm … nagement). Skipping.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libstdcpp.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/udev.list: No such file or directory.
* pkg_run_script: package "domoticz" postinst script returned status 16.
* opkg_configure: domoticz.postinst returned 16.
Witam
Po powtórzeniu operacji jeszcze raz wkońcu zaskoczyło - jesze raz wielkie dzięki za pomoc dla "Cezary"
root@Piratee:~# opkg update
Downloading http://downloads.openwrt.org/chaos_calm … ckages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
Downloading http://downloads.openwrt.org/chaos_calm … ckages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci.
Downloading http://downloads.openwrt.org/chaos_calm … ckages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
Downloading http://downloads.openwrt.org/chaos_calm … ckages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.
Downloading http://downloads.openwrt.org/chaos_calm … ckages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony.
Downloading http://downloads.openwrt.org/chaos_calm … ckages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_management.
root@Piratee:~# opkg install /overlay/samba/openzwave_1.4.2279-1_ar71xx.ipk
Installing openzwave (1.4.2279-1) to root...
Installing udev (173-1) to root...
Downloading http://downloads.openwrt.org/chaos_calm … r71xx.ipk.
Installing libstdcpp (4.8-linaro-1) to root...
Downloading http://downloads.openwrt.org/chaos_calm … r71xx.ipk.
Configuring udev.
Configuring libstdcpp.
Configuring openzwave.
root@Piratee:~# opkg install /overlay/samba/domoticz_3.5877-1_ar71xx.ipk
Installing domoticz (3.5877-1) to root...
Installing libusb-compat (0.1.4-1) to root...
Downloading http://downloads.openwrt.org/chaos_calm … r71xx.ipk.
Installing libcurl (7.40.0-3) to root...
Downloading http://downloads.openwrt.org/chaos_calm … r71xx.ipk.
Installing libpolarssl (1.3.14-1) to root...
Downloading http://downloads.openwrt.org/chaos_calm … r71xx.ipk.
Configuring libpolarssl.
Configuring libcurl.
Configuring libusb-compat.
Configuring domoticz.
2016-12-11 09:03:29.436 Domoticz V3.5876 (c)2012-2016 GizMoCuz
2016-12-11 09:03:29.606 Build Hash: b97777b, Date: 2016-11-09 12:33:42
2016-12-11 09:03:29.619 Startup Path: /opt/domoticz/
2016-12-11 09:03:29.667 Startup delay... waiting 5 seconds...
domoticz: Domoticz is starting up....
cześć,
podczas kompilacji Domoticz, tuż przy końcu
dostaje taki błąd:
"Package domoticz is missing dependencies for the following libraries:
libudev.so.0
make[3]: *** [/home/temp/router/chaos_calmer/bin/ar71xx/packages/base/domoticz_3.5877-2_ar71xx.ipk] Error 1"
co z tym fantem zrobić?
udev mam skopilowane,
Makefile pobrane
https://github.com/openwrt/packages/pull/2883, czy
https://github.com/balintkozma/domoticz-openwrt
kończy się tak samo
pozdrawiam
Do makefile do DEPENDS dodaj +udev zamiast eudev
dzięki Cezary,
jak zawsze niezawodny.
poszło z Makefile https://github.com/openwrt/packages/pull/2883 i
patchami z https://github.com/balintkozma/domoticz-openwrt
+ udev dopisanym.
pozdrawiam
Witam
Mam pytanie odnośnie kompilacji pakietów pod Gargoyle- czy jest gdzieś dokładniejszy opis jak to wykonać
(http://eko.one.pl/?p=openwrt-kompilacja)
Chciałbym skompilować samodzielnie pakiet domoticza (ze względu na to iż nie widać go na adresie WAN)
Jaki dokładniejszy opis? Kompilujesz i jest po prostu. Czego nie wiesz przy kompilacji?
Zbuduję środowisko i zobaczę na czym utknę.
Zbuduję środowisko i zobaczę na czym utknę.
Może na
make menuconfigJak już przeczytałeś poradnik Cezarego poczytaj też OpenWrt build system – Usage.
Witam, czy na gargoyle 1.9.1.1 (router tplink wdr 3600) da radę podegrać domoticza ?
Udostępniłem pakiet, zainstaluj go sobie po prostu.
Wrzuciłem do tmp:
domoticz_3.5877-1_ar71xx.ipkopenzwave_1.4.2279-1_ar71xx.ipkpóźniej po kolei dałem instalacje openzwave i domoticza ale pluje o braku libusb-0.1.so.4
root@Gargoyle:/tmp# opkg install domoticz_3.5877-1_ar71xx.ipk
ERROR: Dependency openzwave of package domoticz cannot be found, try updating your package lists
root@Gargoyle:/tmp# opkg install openzwave_1.4.2279-1_ar71xx.ipk
Preparing to install the following packages, which will require 814329 bytes:
libstdcpp, openzwave, udev
Preparing to install package openzwave...
Successfully installed openzwave.
Installation of packages successful.
root@Gargoyle:/tmp# opkg install domoticz_3.5877-1_ar71xx.ipk
Preparing to install the following packages, which will require 12385820 bytes:
libpolarssl, libcurl, domoticz, libusb-compat
Preparing to install package domoticz...
/opt/domoticz/domoticz: can't load library 'libusb-0.1.so.4'
Warning: postinstall script failed for package domoticz.
Successfully installed domoticz.
Installation of packages successful.co dalej z tym ibusb-0.1.so.4 ?
Zainstaluj ręcznie libusb-compat bo z jakiegoś powodu się nie instaluje. Nie ważne że go już masz - odinstaluj i zainstaluj jeszcze raz.
Witam, po małej przerwie wracam do nierozwiązanego dla mnie tematu.
Odinstalować libusb-compat mogłem tylko po deinstalacji domoticza a teraz przy kolejnej próbie ponownej instalacji domoticza konsola pokazuje :
root@Gargoyle:/tmp# opkg install domoticz_3.5877-1_ar71xx.ipk
Installing domoticz (3.5877-1) to root...
Configuring domoticz.
/opt/domoticz/domoticz: can't load library 'libudev.so.0'
Collected errors:
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libcurl.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libstdcpp.list: N o such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/udev.list: No suc h file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpolarssl.list: No such file or directory.
* pkg_run_script: package "domoticz" postinst script returned status 16.
* opkg_configure: domoticz.postinst returned 16.To samo zrób z libcurlem, libstdcpp, udev i libpolarssl bo coś namieszałeś w plikach.
Wiem, że namieszałem bo prób było duużo ![]()
Problem podobny jak z domoticzem
root@Gargoyle:~# opkg remove libcurl
Removing package libcurl from root...
Collected errors:
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libcurl.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libstdcpp.list: N o such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/udev.list: No suc h file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpolarssl.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libcurl.list: No such file or directory.
root@Gargoyle:~# opkg remove libstdcp
No packages removed.
Collected errors:
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libstdcpp.list: N o such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/udev.list: No suc h file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpolarssl.list: No such file or directory.
root@Gargoyle:~# opkg remove udev
No packages removed.
Collected errors:
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libstdcpp.list: N o such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/udev.list: No suc h file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpolarssl.list: No such file or directory.
* print_dependents_warning: Package udev is depended upon by packages:
* print_dependents_warning: openzwave
* print_dependents_warning: These might cease to work if package udev is remove d.
* print_dependents_warning: Force removal of this package with --force-depends.
* print_dependents_warning: Force removal of this package and its dependents
* print_dependents_warning: with --force-removal-of-dependent-packages.
root@Gargoyle:~# opkg remove libpolarssl
Removing package libpolarssl from root...
Collected errors:
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libstdcpp.list: N o such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/udev.list: No suc h file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpolarssl.list: No such file or directory.
* pkg_get_installed_files: Failed to open //usr/lib/opkg/info/libpolarssl.list: No such file or directory.
root@Gargoyle:~#To ja jeszcze raz dopytam i się upewnię, bo wgrałem świeżutkiego gargoyla ale problem mam ten sam.
Z tego adresu
ściągam pliki
domoticz_3.5877-1_ar71xx.ipk i
openzwave_1.4.2279-1_ar71xx.ipkdo katalogu tmp, i wydając później poniższe komendy instaluje jak leci ?
opkg update
opkg install openzwave_1.4.2279-1_ar71xx.ipk
opkg install domoticz_3.5877-1_ar71xx.ipk tak
Coś muszę źle robić bo znów wola o tego nieszczęsnego libdev a libusb-compat instalnąłem przed domoticzem
root@Gargoyle:/tmp# opkg update
Downloading package list for chaos_calmer_base source...
Package list for chaos_calmer_base downloaded successfully.
Downloading package list for chaos_calmer_packages source...
Package list for chaos_calmer_packages downloaded successfully.
Downloading package list for chaos_calmer_telephony source...
Package list for chaos_calmer_telephony downloaded successfully.
Downloading package list for gargoyle_pl source...
Package list for gargoyle_pl downloaded successfully.
Downloading package list for chaos_calmer_routing source...
Package list for chaos_calmer_routing downloaded successfully.
Downloading package list for eko_one_pl source...
Package list for eko_one_pl downloaded successfully.
Downloading package list for chaos_calmer_management source...
Package list for chaos_calmer_management downloaded successfully.
root@Gargoyle:/tmp# opkg install libusb-compat
Preparing to install the following packages, which will require 5711 bytes:
libusb-compat
Preparing to install package libusb-compat...
Downloading...
Downloaded libusb-compat successfully.
Installing libusb-compat...
Successfully installed libusb-compat.
Installation of packages successful.
root@Gargoyle:/tmp# opkg install openzwave_1.4.2279-1_ar71xx.ipk
Preparing to install the following packages, which will require 814329 bytes:
libstdcpp, openzwave, udev
Preparing to install package openzwave...
Successfully installed openzwave.
Installation of packages successful.
root@Gargoyle:/tmp# opkg install domoticz_3.5877-1_ar71xx.ipk
Preparing to install the following packages, which will require 12380109 bytes:
libpolarssl, libcurl, domoticz
Preparing to install package domoticz...
/opt/domoticz/domoticz: can't load library 'libudev.so.0'
Warning: postinstall script failed for package domoticz.
Successfully installed domoticz.
Installation of packages successful.
root@Gargoyle:/tmp# opkg install domoticz_3.5877-1_ar71xx.ipk
Preparing to install the following packages, which will require 12149968 bytes:
domoticz
Preparing to install package domoticz...
ERROR: file '/etc/init.d/domoticz'
from package domoticz already exists.
An error occurred during Installation, removing partially installed packages.
Removing package domoticz...
Finished removing domoticz.
Finished removing partially installed packages.
root@Gargoyle:/tmp# /etc/init.d/domoticz start
/opt/domoticz/domoticz: can't load library 'libudev.so.0'
root@Gargoyle:/tmp#To zrób to jeszcze raz na czysto tylko przed instalacją czegokolwiek zrób
opkg update
opkg install opkg
Okej, teraz zadziałało ale jeszcze nie mogę wypuścić na zewnątrz domoticza a port 6144 odblokowany na routerze.
Ip routera 192.168.0.1
Firewall - fragment
config redirect 'redirect_enabled_number_2'
option name 'd'
option src 'wan'
option dest 'lan'
option proto 'tcp'
option src_dport '6144'
option dest_ip '192.168.0.1'
option dest_port '6144'
config redirect 'redirect_enabled_number_3'
option name 'd'
option src 'wan'
option dest 'lan'
option proto 'udp'
option src_dport '6144'
option dest_ip '192.168.0.1'
option dest_port '6144'Strony Poprzednia 1 2 3 4 5 6 7 8 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Problem z kompilacją Domoticz
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc