Unable to install Telldus 2.1.2 under Centos 7 [Resolved]

Moderator: Telldus

Post Reply
danardf
Posts: 41
Joined: Fri Mar 17, 2023 9:45 am

Unable to install Telldus 2.1.2 under Centos 7 [Resolved]

Post by danardf »

Hi all.

I'm unable to install telldus 2.1.2 under Centos . 3.10.0-693.17.1.el7.x86_64

As usual, it's more and more tricky to install this app under Centos.
There's allways something missing for compiling this app.

I don't understand why you never made some RPM, just some packages for Debian. Centos is not Solaris... :roll:

I installed: yum install -y gcc libftdi* libftdi* libconfuse* cmake like in this page : http://developer.telldus.com/wiki/TellS ... tionSource
But it's not enough, the install needs to use Doxygen libraries!!!
Ok so i installed this one. But it's not enough....!!!
Doxyfile.in is not found ... Hoooo nice!! Try again. :lol:

Ok, I've got this file on the forum. well... and now i've got a new error.
After each steps, there's a trap! :(

Code: Select all

telldus-core-2.1.2]# cmake .
-- 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:
FTDI_LIBRARY
    linked by target "telldusd" in directory /usr/src/telldus-core-2.1.2/service

-- Configuring incomplete, errors occurred!
See also "/usr/src/telldus-core-2.1.2/CMakeFiles/CMakeOutput.log".
See also "/usr/src/telldus-core-2.1.2/CMakeFiles/CMakeError.log".
If anybody can help me to install this app please that's gonna be great. ;)

I need to migrate a server from Centos 5 to Centos 7.
Last edited by danardf on Sun Mar 18, 2018 4:48 pm, edited 1 time in total.
danardf
Posts: 41
Joined: Fri Mar 17, 2023 9:45 am

Re: Unable to install Telldus 2.1.2 under Centos 7

Post by danardf »

Returns this error
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status


CMakeError.log :

Code: Select all

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /usr/src/telldus-core-2.1.2/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec632643194/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec632643194.dir/build.make CMakeFiles/cmTryCompileExec632643194.dir/build
gmake[1]: Entering directory `/usr/src/telldus-core-2.1.2/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /usr/src/telldus-core-2.1.2/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec632643194.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec632643194.dir/CheckFunctionExists.c.o   -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec632643194
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec632643194.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec632643194.dir/CheckFunctionExists.c.o  -o cmTryCompileExec632643194 -rdynamic -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTryCompileExec632643194] Error 1
gmake[1]: Leaving directory `/usr/src/telldus-core-2.1.2/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec632643194/fast] Error 2
danardf
Posts: 41
Joined: Fri Mar 17, 2023 9:45 am

Re: Unable to install Telldus 2.1.2 under Centos 7

Post by danardf »

For ending, i feel that i'll try to find another way without telldus devices.
if the devices are so tricky to install... i'll have no choices.
I remember the first versions was easier to install. :cry:
danardf
Posts: 41
Joined: Fri Mar 17, 2023 9:45 am

Re: Unable to install Telldus 2.1.2 under Centos 7

Post by danardf »

I used this link : https://www.kickass.se/?p=83
There's a difference with lib64

Code: Select all

ln -s /usr/local/lib/libtelldus-core.so.2 /lib/libtelldus-core.so.2
Need to change the user

Code: Select all

user = "root"
group = "plugdev"
This argument is usefull to see what's going on.

Code: Select all

/usr/local/sbin/telldusd --nodaemon 
I think the script for install should be improved and the documentation for install should be done as well.
Don't forget there's not only Debian ... It should be great to generate a rpm file for that!
Jaxån
Posts: 199
Joined: Fri Mar 17, 2023 9:45 am

Re: Unable to install Telldus 2.1.2 under Centos 7 [Resolved]

Post by Jaxån »

It should be able to install from source, as long as the software is updated with current versions of those libraries.
Post Reply