Slutat fungera efter senaste uppdateringen

Moderator: Telldus

znubbis
Posts: 5
Joined: Fri Mar 17, 2023 9:45 am

Re: Slutat fungera efter senaste uppdateringen

Post by znubbis »

Jag fick det att fungera under 8.04 genom att kompilera en egen version av libftdi

Detta är bara en enkel beskrivning hur jag gjorde.

<enter> betyder att du trycker enter :)

Ni kan behöva mer paket än checkinstall men tyvärr så kan jag inte räkna upp alla.

Jag garanterar inget, jag skrev ner detta för att hjälpa er som kört fast och som inte gärna vill installera om.

Code: Select all

sudo -s
apt-get install checkinstall

Först städar vi lite:
dpkg -r telldus-core
dpkg -r libftdi

Sen ska vi försöka kompilera en ny libftdi:
cd ~
wget http://www.intra2net.com/en/developer/libftdi/download/libftdi-0.18.tar.gz
tar zxvf libftdi-0.18.tar.gz
cd libftdi-0.18
./configure --libdir=/usr/lib
make
make install
checkinstall
Should I create a default set of package docs?  [y]: <enter>

Please write a description for the package.
End your description with an empty line or EOF.
>> libftdi v0.18 <enter>
<enter>

Nu kommer en lite strulig fråga:
Enter a number to change any of them or press ENTER to continue:
trycker du 2 och <enter>
som "new name" anger du "libftdi1" och trycker <enter> vet ej varför detta behövs men de fungerade
Du ska nu få upp de nya inställningarna, tryck <enter> om andra raden är uppdaterat till de du just skrev.

apt-get install telldus-core

Startar telldus:
/ets/init.d/telldusd start

Du bör nu få rätt versioner i :

Code: Select all

apt-cache search libftdi
tdtool --version
Hoppas allt gick bra, lycka till!
Jaxån
Posts: 199
Joined: Fri Mar 17, 2023 9:45 am

Re: Slutat fungera efter senaste uppdateringen

Post by Jaxån »

Agwan wrote:Nu är servern uppe och kör. NexaHome går, min iPhone-app går, webcamen med motion capture funkar. Det enda jag är lite orolig över fortfarande är brandväggen.
Programmet ufw är trevligt och enkelt program för att hantera brandväggar. Klara även IPv6, se /etc/default/ufw. Stäng inte av IPv6, eftersom du kan få det snabbare än du tror och då är det bra att ha det i brandväggen. Installeras enklast med:

Code: Select all

sudo aptitude install ufw
Läs gärna dokumentation som finns under /usr/share/doc/ufw (eftersom det är programmet ufw, andra paket fungerar likadant). Med lite tur så hittar du den information som du behöver.

Annars så finns informationen i manualsidan eller på webbsidan https://wiki.ubuntu.com/UbuntuFirewall, https://help.ubuntu.com/11.10/servergui ... ewall.html, https://help.ubuntu.com/community/UFW och http://manpages.ubuntu.com/manpages/one ... ufw.8.html.

Code: Select all

# Ett litet exempel, skrivet ur minnet!
sudo ufw help
sudo ufw app list
sudo ufw status
# Tillåt SSH
sudo ufw app info SSH
sudo ufw allow SSH
# eller ufw allow 22/tcp
# eller ufw allow ssh/tcp
sudo ufw limit SSH log 
# Tillåt applikationen WWW
sudo ufw app info WWW
sudo ufw app allow WWW
#
sudo ufw enable
sudo ufw status
Använd kommandona ovan med insikten att det bara är ett exempel.
folkeorg
Posts: 201
Joined: Fri Mar 17, 2023 9:45 am

Re: Slutat fungera efter senaste uppdateringen

Post by folkeorg »

Har åxå kört fast med 8.04. Vissa delar av telldus-core har blivit uppdaterad till 2.1.1 å därmed slutat fungera. Kan inte installera manuellt libftdi1 för den kräver saker jag inte hittar koden till.

Hittade filerna för en manuell installation men då nitar det på cmake istället, som jag precis installerade.. :-(

Code: Select all

root@eBox:~/telldus/telldus-core-2.0.4# cmake .
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
WARNING: This project requires version 2.6.0 of CMake.  You are running version 2.4.7.

CMake Error: Error in cmake code at
/root/telldus/telldus-core-2.0.4/CMakeLists.txt:5:
Unknown CMake command "cmake_policy".
-- Configuring done
root@eBox:~/telldus/telldus-core-2.0.4#
Ok. Fick lägga in att Ubuntu ska installera ej supportad mjukvara så då kom cmake 2.6.2 in till slut..

Men det skiter sig ändå, nu vet jag inte vad som är nästa steg..

Code: Select all

root@eBox:~/telldus/telldus-core-2.0.4# make install
Scanning dependencies of target telldus-core
[  4%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/Device.cpp.o
[  9%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceBrateck.cpp.o
[ 13%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceEverflourish.cpp.o
In file included from /root/telldus/telldus-core-2.0.4/driver/libtelldus-core/DeviceEverflourish.cpp:1:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/DeviceEverflourish.h:38:30: warning: no newline at end of file
[ 18%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceFuhaote.cpp.o
In file included from /root/telldus/telldus-core-2.0.4/driver/libtelldus-core/DeviceFuhaote.cpp:1:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/DeviceFuhaote.h:33:25: warning: no newline at end of file
[ 22%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceGroup.cpp.o
[ 27%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceIkea.cpp.o
[ 31%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceNexa.cpp.o
[ 36%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceRisingSun.cpp.o
[ 40%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceSartano.cpp.o
[ 45%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceUndefined.cpp.o
[ 50%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceUpm.cpp.o
[ 54%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceWaveman.cpp.o
[ 59%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceX10.cpp.o
[ 63%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/DeviceYidong.cpp.o
[ 68%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/Controller.cpp.o
[ 72%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/Manager.cpp.o
In file included from /root/telldus/telldus-core-2.0.4/driver/libtelldus-core/Manager.cpp:16:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/DeviceEverflourish.h:38:30: warning: no newline at end of file
In file included from /root/telldus/telldus-core-2.0.4/driver/libtelldus-core/Manager.cpp:17:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/DeviceFuhaote.h:33:25: warning: no newline at end of file
[ 77%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/Settings.cpp.o
[ 81%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/telldus-core.cpp.o
[ 86%] Building CXX object driver/libtelldus-core/CMakeFiles/telldus-core.dir/SettingsConfuse.cpp.o
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:13:21: error: confuse.h: No such file or directory
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:21: error: ISO C++ forbids declaration of âcfg_tâ with no type
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:21: error: expected â;â before â*â token
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:22: error: ISO C++ forbids declaration of âcfg_tâ with no type
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:22: error: expected â;â before â*â token
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:25: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:25: error: âcfgâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:26: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:26: error: âcfgâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In constructor âSettings::Settings()â:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:37: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:37: error: âreadConfigâ cannot be used as a function
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:38: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:38: error: âreadVarConfigâ cannot be used as a function
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In destructor âSettings::~Settings()â:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:46: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:47: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:47: error: âcfg_freeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:49: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:50: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:50: error: âcfg_freeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âstd::string Settings::getSetting(const std::string&) constâ:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:59: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:60: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:60: error: âcfg_getstrâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âint Settings::getNumberOfDevices() constâ:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:69: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:70: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:70: error: âcfg_sizeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âint Settings::getDeviceId(int) constâ:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:79: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:79: error: âcfg_deviceâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:79: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:79: error: âcfg_getnsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:80: error: âcfg_getintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âint Settings::addDevice()â:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:91: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:91: error: âcfg_printâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:96: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:96: error: âcfg_freeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:97: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:97: error: âreadConfigâ cannot be used as a function
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âint Settings::getNextDeviceId() constâ:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:106: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:106: error: âcfg_deviceâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:107: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:107: error: âcfg_sizeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:108: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:108: error: âcfg_getnsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:109: error: âcfg_getintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âbool Settings::removeDevice(int)â:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:125: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:128: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:129: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:129: error: âcfg_opt_printâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:132: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:132: error: âcfg_deviceâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:133: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:133: error: âcfg_sizeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:134: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:134: error: âcfg_getnsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:135: error: âcfg_getintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:137: error: âcfg_print_indentâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:146: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:146: error: âcfg_freeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:147: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:147: error: âreadConfigâ cannot be used as a function
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âbool Settings::setDeviceState(int, int, const std::string&)â:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:153: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:156: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:156: error: âcfg_deviceâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:157: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:157: error: âcfg_sizeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:158: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:158: error: âcfg_getnsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:159: error: âcfg_titleâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:161: error: âcfg_setintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:162: error: âcfg_setstrâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:165: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:165: error: âcfg_printâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:172: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:172: error: âcfg_printâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:177: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:177: error: âcfg_freeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:178: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:178: error: âreadVarConfigâ cannot be used as a function
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âint Settings::getDeviceState(int) constâ:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:184: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:187: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:187: error: âcfg_deviceâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:188: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:188: error: âcfg_sizeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:189: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:189: error: âcfg_getnsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:190: error: âcfg_titleâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:192: error: âcfg_getintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âstd::string Settings::getDeviceStateValue(int) constâ:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:199: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:202: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:202: error: âcfg_deviceâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:203: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:203: error: âcfg_sizeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:204: error: âclass privateVarsâ has no member named âvar_cfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:204: error: âcfg_getnsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:205: error: âcfg_titleâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:207: error: âcfg_getstrâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âstd::string Settings::getStringSetting(int, const std::string&, bool) constâ:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:215: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:218: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:218: error: âcfg_deviceâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:219: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:219: error: âcfg_sizeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:220: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:220: error: âcfg_getnsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:221: error: âcfg_getintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:223: error: âcfg_getsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:225: error: âcfg_getstrâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âbool Settings::setStringSetting(int, const std::string&, const std::string&, bool)â:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:236: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:239: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:239: error: âcfg_deviceâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:240: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:240: error: âcfg_sizeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:241: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:241: error: âcfg_getnsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:242: error: âcfg_getintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:244: error: âcfg_parametersâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:244: error: âcfg_getsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:245: error: âcfg_setstrâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:247: error: âcfg_setstrâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:250: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:250: error: âcfg_printâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âint Settings::getIntSetting(int, const std::string&, bool) constâ:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:259: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:262: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:262: error: âcfg_deviceâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:263: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:263: error: âcfg_sizeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:264: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:264: error: âcfg_getnsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:265: error: âcfg_getintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:267: error: âcfg_getsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: In member function âbool Settings::setIntSetting(int, const std::string&, int, bool)â:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:276: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:279: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:279: error: âcfg_deviceâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:280: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:280: error: âcfg_sizeâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:281: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:281: error: âcfg_getnsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:282: error: âcfg_getintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:284: error: âcfg_parametersâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:284: error: âcfg_getsecâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:285: error: âcfg_setintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:287: error: âcfg_setintâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:290: error: âclass privateVarsâ has no member named âcfgâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:290: error: âcfg_printâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp: At global scope:
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:299: error: redefinition of âbool readConfigâ
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:25: error: âbool readConfigâ previously defined here
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:299: error: âcfg_tâ was not declared in this scope
/root/telldus/telldus-core-2.0.4/driver/libtelldus-core/SettingsConfuse.cpp:299: error: âcfgâ was not declared in this scope
make[2]: *** [driver/libtelldus-core/CMakeFiles/telldus-core.dir/SettingsConfuse.cpp.o] Error 1
make[1]: *** [driver/libtelldus-core/CMakeFiles/telldus-core.dir/all] Error 2
make: *** [all] Error 2
root@eBox:~/telldus/telldus-core-2.0.4#
Jaxån
Posts: 199
Joined: Fri Mar 17, 2023 9:45 am

Re: Slutat fungera efter senaste uppdateringen

Post by Jaxån »

Det verkar som om du inte har installerat några programmeringsbibliotek som innehåller filen confuse.h

Kan rekommendera "The Debian Administrator's Book" så finns det mycket information. Den är bara att ladda ned, och man kan bidraga med lite pengar till författarna, eller köpa pappersboken, för att stödja dem. För att hitta boken, sök på adressen http://debian-handbook.info/.

Kapitel 5 beskriver hur paketen fungerar, kapitel 6 om vilka kommandon som används för att installera paket och kapitel 15 hur man kan kompilera om källkoden till paket, exempelvis om man vill ha andra inställningar vid kompileringen.

Från Kapitel 6.9 hittar jag ett kommando som söker efter paket.

Code: Select all

$ aptitude search confuse
p   libconfuse-common               - Common files for libConfuse               
p   libconfuse-dev                  - Development files for libConfuse          
p   libconfuse0                     - Library for parsing configuration files
$
Av det gissar jag att du behöver installera paketet libconfuse-dev, så prova

Code: Select all

$ aptitude install libconfuse-dev
och se sedan om det går att kompilera.

Annars så kan man hämta källkoden till paketet, packa upp det i sin hemmakatalog och sedan göra ändringar och kompilera/sammanställa ett paket från det. Det beskrivs även i boken. Då kommer alla programpaket som behövs att hämtas och installeras automatiskt.
stefan.persson
Posts: 353
Joined: Fri Mar 17, 2023 9:45 am

Re: Slutat fungera efter senaste uppdateringen

Post by stefan.persson »

Det finns repository för 2.0.4 också, om det kan vara till nytta. Testa följande APT-line:

deb http://download.telldus.com/debian/ 2.0 main
Stefan Persson
Software
Telldus Technologies
folkeorg
Posts: 201
Joined: Fri Mar 17, 2023 9:45 am

Re: Slutat fungera efter senaste uppdateringen

Post by folkeorg »

Kommenterade bort den "riktiga" raden med hämtfiler först samt körde en apt-get update åsså apt-get install telldus-core. Då laddade den på 2.0.4 så nu lirar det!
Inte helt okomplixerat att få saker att fungera..

Thanx!
Post Reply