Misslyckad installation av telldus-core

Moderator: Telldus

Post Reply
janpihlgren
Posts: 4
Joined: Fri Mar 17, 2023 9:45 am

Misslyckad installation av telldus-core

Post by janpihlgren »

Jag använder Mageia 3 på en ThinkPad 64-bitars system.
Jag har laddat ner telldus -core-2.1.1.tar.gz samt telldus-gui-2.1.1.tar.gz
Jag har flyttat och packat upp telldus -core-2.1.1.tar.gz i /usr/src. Jag har även sett till att installera libftdi och libftdi-devel.
lsmod ger vid handen att ftdi_sio är laddat.
Men jag lyckas inte få cmake att köras felfritt. Här är körningen:
[root@Humlan telldus-core-2.1.1]# cmake .
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- checking for one of the modules 'libftdi'
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CONFUSE_LIBRARY
linked by target "telldusd" in directory /usr/src/telldus-core-2.1.1/service

-- Configuring incomplete, errors occurred!
Vad göra?
Jag hittar ingen telldusd i mappen service!
Zaman
Posts: 243
Joined: Fri Mar 17, 2023 9:45 am

Re: Misslyckad installation av telldus-core

Post by Zaman »

Installera libConfuse och försök igen.
janpihlgren
Posts: 4
Joined: Fri Mar 17, 2023 9:45 am

Re: Misslyckad installation av telldus-core

Post by janpihlgren »

I Mageia heter det lib64confuse-devel.
Det löste felet med cmake men nu får jag följande fel med make:
[root@Humlan telldus-core-2.1.1]# make
Scanning dependencies of target TelldusCommon
[ 2%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Event.cpp.o
[ 4%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Message.cpp.o
[ 6%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Mutex.cpp.o
[ 8%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Strings.cpp.o
[ 10%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Thread.cpp.o
[ 12%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Event_unix.cpp.o
[ 14%] Building CXX object common/CMakeFiles/TelldusCommon.dir/EventHandler_unix.cpp.o
[ 16%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Socket_unix.cpp.o
/usr/src/telldus-core-2.1.1/common/Socket_unix.cpp: I destruerare ”virtual TelldusCore::Socket::~Socket()”:
/usr/src/telldus-core-2.1.1/common/Socket_unix.cpp:44:18: fel: ”close” deklarerades inte i detta definitionsområde
make[2]: *** [common/CMakeFiles/TelldusCommon.dir/Socket_unix.cpp.o] Fel 1
make[1]: *** [common/CMakeFiles/TelldusCommon.dir/all] Fel 2
make: *** [all] Fel 2
[root@Humlan telldus-core-2.1.1]
Är det något fel i källkoden? I så fall hur rättar jag den?
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: Misslyckad installation av telldus-core

Post by micke.prag »

Micke Prag
Software
Telldus Technologies
janpihlgren
Posts: 4
Joined: Fri Mar 17, 2023 9:45 am

Re: Misslyckad installation av telldus-core

Post by janpihlgren »

:D Det gjorde susen :D
Konstigt att detta inte är rättat i den kod som tillhandahålls av Telldus Technologies.
Tack för hjälpen.
Post Reply